r219800 - Update for llvm api change.

Rafael Espindola rafael.espindola at gmail.com
Wed Oct 15 09:12:58 PDT 2014


Author: rafael
Date: Wed Oct 15 11:12:57 2014
New Revision: 219800

URL: http://llvm.org/viewvc/llvm-project?rev=219800&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=219800&r1=219799&r2=219800&view=diff
==============================================================================
--- cfe/trunk/tools/driver/cc1as_main.cpp (original)
+++ cfe/trunk/tools/driver/cc1as_main.cpp Wed Oct 15 11:12:57 2014
@@ -380,9 +380,8 @@ static bool ExecuteAssembler(AssemblerIn
     MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, Opts.Triple,
                                                       Opts.CPU);
     Str.reset(TheTarget->createMCObjectStreamer(Opts.Triple, Ctx, *MAB, *Out,
-                                                CE, *STI, Opts.RelaxAll,
-                                                Opts.NoExecStack));
-    Str.get()->InitSections();
+                                                CE, *STI, Opts.RelaxAll));
+    Str.get()->InitSections(Opts.NoExecStack);
   }
 
   bool Failed = false;





More information about the cfe-commits mailing list