#include "llvm/ExecutionEngine/JITLink/MachO_x86_64.h"
#include "llvm/ExecutionEngine/JITLink/DWARFRecordSectionSplitter.h"
#include "llvm/ExecutionEngine/JITLink/x86_64.h"
#include "DefineExternalSectionStartAndEndSymbols.h"
#include "MachOLinkGraphBuilder.h"
#define DEBUG_TYPE …
usingnamespacellvm;
usingnamespacellvm::jitlink;
namespace {
class MachOLinkGraphBuilder_x86_64 : public MachOLinkGraphBuilder { … };
Error buildGOTAndStubs_MachO_x86_64(LinkGraph &G) { … }
}
namespace llvm {
namespace jitlink {
class MachOJITLinker_x86_64 : public JITLinker<MachOJITLinker_x86_64> { … };
Expected<std::unique_ptr<LinkGraph>>
createLinkGraphFromMachOObject_x86_64(MemoryBufferRef ObjectBuffer) { … }
void link_MachO_x86_64(std::unique_ptr<LinkGraph> G,
std::unique_ptr<JITLinkContext> Ctx) { … }
LinkGraphPassFunction createEHFrameSplitterPass_MachO_x86_64() { … }
LinkGraphPassFunction createEHFrameEdgeFixerPass_MachO_x86_64() { … }
}
}