diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2012-01-25 08:49:21 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2012-01-25 08:49:21 +0000 |
commit | 08386a9769575bd8290024aaaecb2dbad5bfd59d (patch) | |
tree | f3db0e704db99a3858f32149986454df8ccf54ad /lib/Driver/Tools.cpp | |
parent | ea0428523b38298da44cdb894c481efa71fd4a56 (diff) |
Remove the TargetTriple object that I added to the Driver recently. This
helped stage the refactoring of things a bit, but really isn't the right
place for it. The driver may be responsible for compilations with many
different targets. In those cases, having a target triple in the driver
is actively misleading because for many of those compilations that is
not actually the triple being targeted.
This moves the last remaining users of the Driver's target triple to
instead use the ToolChain's target triple. The toolchain has a single,
concrete target it operates over, making this a more stable and natural
home for it.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148942 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Tools.cpp')
0 files changed, 0 insertions, 0 deletions