aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/ToolChain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/ToolChain.cpp')
-rw-r--r--lib/Driver/ToolChain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Driver/ToolChain.cpp b/lib/Driver/ToolChain.cpp
index e5ddfd10d5..5322a6dae2 100644
--- a/lib/Driver/ToolChain.cpp
+++ b/lib/Driver/ToolChain.cpp
@@ -76,6 +76,8 @@ Tool &ToolChain::SelectTool(const JobAction &JA) const {
if (getDriver().ShouldUseClangCompiler(JA))
T = new tools::Clang(*this);
+ else if (Key == Action::AssembleJobClass && useIntegratedAs())
+ T = new tools::ClangAs(*this);
else
T = constructTool(Key);