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