mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2025-01-31 06:04:58 +00:00
Update for llvm API change.
llvm-svn: 232430
This commit is contained in:
parent
f696df1148
commit
55cfaa2552
@ -379,8 +379,9 @@ static bool ExecuteAssembler(AssemblerInvocation &Opts,
|
||||
MCCodeEmitter *CE = TheTarget->createMCCodeEmitter(*MCII, *MRI, Ctx);
|
||||
MCAsmBackend *MAB = TheTarget->createMCAsmBackend(*MRI, Opts.Triple,
|
||||
Opts.CPU);
|
||||
Str.reset(TheTarget->createMCObjectStreamer(Opts.Triple, Ctx, *MAB, *Out,
|
||||
CE, *STI, Opts.RelaxAll));
|
||||
Triple T(Opts.Triple);
|
||||
Str.reset(TheTarget->createMCObjectStreamer(T, Ctx, *MAB, *Out, CE, *STI,
|
||||
Opts.RelaxAll));
|
||||
Str.get()->InitSections(Opts.NoExecStack);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user