forked from OSchip/llvm-project
Driver/cc1as: Forward -mllvm arguments when compiling assembly files.
llvm-svn: 130516
This commit is contained in:
parent
1bf128eaeb
commit
252e8f9ac1
|
@ -2005,6 +2005,7 @@ void ClangAs::ConstructJob(Compilation &C, const JobAction &JA,
|
||||||
|
|
||||||
Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA,
|
Args.AddAllArgValues(CmdArgs, options::OPT_Wa_COMMA,
|
||||||
options::OPT_Xassembler);
|
options::OPT_Xassembler);
|
||||||
|
Args.AddAllArgs(CmdArgs, options::OPT_mllvm);
|
||||||
|
|
||||||
assert(Output.isFilename() && "Unexpected lipo output.");
|
assert(Output.isFilename() && "Unexpected lipo output.");
|
||||||
CmdArgs.push_back("-o");
|
CmdArgs.push_back("-o");
|
||||||
|
|
Loading…
Reference in New Issue