Update for llvm api change.

llvm-svn: 219800
This commit is contained in:
Rafael Espindola 2014-10-15 16:12:57 +00:00
parent 7b61ddfa6e
commit d465be8ebd
1 changed files with 2 additions and 3 deletions

View File

@ -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;