r200136 - Update for llvm api change.

Rafael Espindola rafael.espindola at gmail.com
Sat Jan 25 22:39:14 PST 2014


Author: rafael
Date: Sun Jan 26 00:39:14 2014
New Revision: 200136

URL: http://llvm.org/viewvc/llvm-project?rev=200136&view=rev
Log:
Update for llvm api change.

Modified:
    cfe/trunk/tools/driver/cc1as_main.cpp

Modified: cfe/trunk/tools/driver/cc1as_main.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/driver/cc1as_main.cpp?rev=200136&r1=200135&r2=200136&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Sun Jan 26 00:39:14 2014
@@ -359,7 +359,7 @@ static bool ExecuteAssembler(AssemblerIn
     MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, Opts.Triple,
                                                       Opts.CPU);
     Str.reset(TheTarget->createMCObjectStreamer(Opts.Triple, Ctx, *MAB, *Out,
-                                                CE, Opts.RelaxAll,
+                                                CE, *STI, Opts.RelaxAll,
                                                 Opts.NoExecStack));
     Str.get()->InitSections();
   }





More information about the cfe-commits mailing list