diff options
author | Chad Rosier <mcrosier@apple.com> | 2011-09-20 20:44:06 +0000 |
---|---|---|
committer | Chad Rosier <mcrosier@apple.com> | 2011-09-20 20:44:06 +0000 |
commit | 61ab80a8b35e6fe9363e8ef1b3d27209b0e89349 (patch) | |
tree | 9c3533522fd4d7f853bfcdd7d07a54832bcc7e95 /lib/Driver/ToolChains.cpp | |
parent | c11030ea936f6952deb5a1423ce1648173cd417e (diff) |
[driver] Default to arm mode when using the integrated assembler.
rdar://10125227
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140179 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/ToolChains.cpp')
-rw-r--r-- | lib/Driver/ToolChains.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 5e0378525b..5ed9dc8970 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -189,8 +189,9 @@ Darwin::~Darwin() { delete it->second; } -std::string Darwin::ComputeEffectiveClangTriple(const ArgList &Args) const { - llvm::Triple Triple(ComputeLLVMTriple(Args)); +std::string Darwin::ComputeEffectiveClangTriple(const ArgList &Args, + types::ID InputType) const { + llvm::Triple Triple(ComputeLLVMTriple(Args, InputType)); // If the target isn't initialized (e.g., an unknown Darwin platform, return // the default triple). @@ -958,8 +959,9 @@ bool Darwin::SupportsObjCGC() const { } std::string -Darwin_Generic_GCC::ComputeEffectiveClangTriple(const ArgList &Args) const { - return ComputeLLVMTriple(Args); +Darwin_Generic_GCC::ComputeEffectiveClangTriple(const ArgList &Args, + types::ID InputType) const { + return ComputeLLVMTriple(Args, InputType); } /// Generic_GCC - A tool chain using the 'gcc' command to perform |