Go to the documentation of this file.
13 #ifndef LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
14 #define LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
26 Expected<std::unique_ptr<LinkGraph>>
39 std::unique_ptr<JITLinkContext> Ctx);
52 #endif // LLVM_EXECUTIONENGINE_JITLINK_MACHO_X86_64_H
This is an optimization pass for GlobalISel generic memory operations.
Expected< std::unique_ptr< LinkGraph > > createLinkGraphFromMachOObject_x86_64(MemoryBufferRef ObjectBuffer)
Create a LinkGraph from a MachO/x86-64 relocatable object.
LinkGraphPassFunction createEHFrameEdgeFixerPass_MachO_x86_64()
Returns a pass suitable for fixing missing edges in an __eh_frame section in a MachO/x86-64 object.
void link_MachO_x86_64(std::unique_ptr< LinkGraph > G, std::unique_ptr< JITLinkContext > Ctx)
jit-link the given LinkGraph.
LinkGraphPassFunction createEHFrameSplitterPass_MachO_x86_64()
Returns a pass suitable for splitting __eh_frame sections in MachO/x86-64 objects.
std::function< Error(LinkGraph &)> LinkGraphPassFunction
A function for mutating LinkGraphs.