aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/WindowsToolChain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Driver/WindowsToolChain.cpp')
-rw-r--r--lib/Driver/WindowsToolChain.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Driver/WindowsToolChain.cpp b/lib/Driver/WindowsToolChain.cpp
index b3fdb35d4c..ae782727e4 100644
--- a/lib/Driver/WindowsToolChain.cpp
+++ b/lib/Driver/WindowsToolChain.cpp
@@ -41,8 +41,9 @@ Tool *Windows::constructTool(Action::ActionClass AC) const {
case Action::AssembleJobClass:
if (getTriple().getEnvironment() == llvm::Triple::MachO)
return new tools::darwin::Assemble(*this);
- llvm_unreachable("We only have the integrated assembler on this TC");
- break;
+ // There no assembler we can use on windows other than the integrated
+ // assembler, so we ignore -no-integrated-as.
+ return new tools::ClangAs(*this);
case Action::LinkJobClass:
return new tools::visualstudio::Link(*this);
default: