Skip to content

Commit e9ad54b

Browse files
committed
Update for llvm api change.
llvm-svn: 232843
1 parent 36a15cb commit e9ad54b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang/tools/driver/cc1as_main.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,8 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
381381
Opts.CPU);
382382
Triple T(Opts.Triple);
383383
Str.reset(TheTarget->createMCObjectStreamer(T, Ctx, *MAB, *Out, CE, *STI,
384-
Opts.RelaxAll));
384+
Opts.RelaxAll,
385+
/*DWARFMustBeAtTheEnd*/ true));
385386
Str.get()->InitSections(Opts.NoExecStack);
386387
}
387388

0 commit comments

Comments
 (0)