From: Rafael Espindola Date: Wed, 15 Oct 2014 16:12:57 +0000 (+0000) Subject: Update for llvm api change. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dc277508f05efbd60fca98490b53abee09b0e81a;p=clang Update for llvm api change. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@219800 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/tools/driver/cc1as_main.cpp b/tools/driver/cc1as_main.cpp index 1fa793c298..55c9fe602f 100644 --- a/tools/driver/cc1as_main.cpp +++ b/tools/driver/cc1as_main.cpp @@ -380,9 +380,8 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts, 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;