Index: lib/Frontend/CompilerInvocation.cpp |
diff --git a/lib/Frontend/CompilerInvocation.cpp b/lib/Frontend/CompilerInvocation.cpp |
index da1a088097e6e97cf360095c981ab05e423f5be9..07c46387869b2be2afb82c2e997c22baa0955e74 100644 |
--- a/lib/Frontend/CompilerInvocation.cpp |
+++ b/lib/Frontend/CompilerInvocation.cpp |
@@ -1826,6 +1826,7 @@ static void ParseTargetArgs(TargetOptions &Opts, ArgList &Args) { |
Opts.FeaturesAsWritten = Args.getAllArgValues(OPT_target_feature); |
Opts.LinkerVersion = Args.getLastArgValue(OPT_target_linker_version); |
Opts.Triple = llvm::Triple::normalize(Args.getLastArgValue(OPT_triple)); |
+ Opts.LLVMArgs = Args.getAllArgValues(OPT_mllvm); // @LOCALMOD |
// Use the default target triple if unspecified. |
if (Opts.Triple.empty()) |