From 252e8f9ac1cd15410f3cc13fc29dbaaa2de40678 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 29 Apr 2011 17:53:18 +0000 Subject: [PATCH] Driver/cc1as: Forward -mllvm arguments when compiling assembly files. llvm-svn: 130516 --- clang/lib/Driver/Tools.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/clang/lib/Driver/Tools.cpp b/clang/lib/Driver/Tools.cpp index 7bcdb292f5bc..9f8a87b3ac21 100644 --- a/clang/lib/Driver/Tools.cpp +++ b/clang/lib/Driver/Tools.cpp @@ -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");