From: Rafael Espindola Date: Fri, 20 Mar 2015 20:00:30 +0000 (+0000) Subject: Update for llvm api change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fd78369ed863c0c0cce9615d7a81b4be75b30c8d;p=clang Update for llvm api change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@232843 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index cee8b10fea..e528b028dc 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -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); }