aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Compilation.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-09-09 18:36:12 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-09-09 18:36:12 +0000
commit0dcb9a3705743ec972af37f48ead81a0939e3958 (patch)
tree57e8beb52201b827769cf861b94b3ee22415e784 /lib/Driver/Compilation.cpp
parent4954018954bbc97363eef02d0c83bea19ce9b329 (diff)
Push bound architecture name into TranslateArgs.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@81366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Compilation.cpp')
-rw-r--r--lib/Driver/Compilation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Compilation.cpp b/lib/Driver/Compilation.cpp
index f6e1885643..c12f5aa881 100644
--- a/lib/Driver/Compilation.cpp
+++ b/lib/Driver/Compilation.cpp
@@ -49,7 +49,7 @@ const DerivedArgList &Compilation::getArgsForToolChain(const ToolChain *TC,
DerivedArgList *&Entry = TCArgs[std::make_pair(TC, BoundArch)];
if (!Entry)
- Entry = TC->TranslateArgs(*Args);
+ Entry = TC->TranslateArgs(*Args, BoundArch);
return *Entry;
}