27 {{RegisterEHFrameSectionWrapper,
28 rt::RegisterEHFrameSectionWrapperName},
29 {DeregisterEHFrameSectionWrapper,
30 rt::DeregisterEHFrameSectionWrapperName}}))
31 return std::move(Err);
33 return std::make_unique<EPCEHFrameRegistrar>(
34 ES, RegisterEHFrameSectionWrapper, DeregisterEHFrameSectionWrapper);
39 RegisterEHFrameSectionWrapper, EHFrameSection);
42Error EPCEHFrameRegistrar::deregisterEHFrames(
45 DeregisterEHFrameSectionWrapper, EHFrameSection);
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
static Expected< std::unique_ptr< EPCEHFrameRegistrar > > Create(ExecutionSession &ES)
Create from a ExecutorProcessControl instance alone.
An ExecutionSession represents a running JIT program.
ExecutorProcessControl & getExecutorProcessControl()
Get the ExecutorProcessControl object associated with this ExecutionSession.
Represents an address in the executor process.
Error getBootstrapSymbols(ArrayRef< std::pair< ExecutorAddr &, StringRef > > Pairs) const
For each (ExecutorAddr&, StringRef) pair, looks up the string in the bootstrap symbols map and writes...
This is an optimization pass for GlobalISel generic memory operations.
Represents an address range in the exceutor process.