Driver/cc1as: Forward -mllvm arguments when compiling assembly files.

llvm-svn: 130516
This commit is contained in:
Daniel Dunbar 2011-04-29 17:53:18 +00:00
parent 1bf128eaeb
commit 252e8f9ac1
1 changed files with 1 additions and 0 deletions

View File

@ -2005,6 +2005,7 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA,
options::OPT_Xassembler);
Args.AddAllArgs(CmdArgs, options::OPT_mllvm);
assert(Output.isFilename() && "Unexpected lipo output.");
CmdArgs.push_back("-o");