]> granicus.if.org Git - clang/commitdiff
Update for llvm api change.
authorRafael Espindola <rafael.espindola@gmail.com>
Fri, 20 Mar 2015 20:00:30 +0000 (20:00 +0000)
committerRafael Espindola <rafael.espindola@gmail.com>
Fri, 20 Mar 2015 20:00:30 +0000 (20:00 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232843 91177308-0d34-0410-b5e6-96231b3b80d8

tools/driver/cc1as_main.cpp

index cee8b10feacc113ba634f1d9c1cc0886d47bf1a1..e528b028dc33389a4e6a39b6fe6b5d101aa62be4 100644 (file)
@@ -381,7 +381,8 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
                                                       Opts.CPU);
     Triple T(Opts.Triple);
     Str.reset(TheTarget->createMCObjectStreamer(T, Ctx, *MAB, *Out, CE, *STI,
-                                                Opts.RelaxAll));
+                                                Opts.RelaxAll,
+                                                /*DWARFMustBeAtTheEnd*/ true));
     Str.get()->InitSections(Opts.NoExecStack);
   }