14 #ifndef LLVM_RUNTIME_DYLD_MACHO_H
15 #define LLVM_RUNTIME_DYLD_MACHO_H
23 using namespace llvm::object;
28 bool resolveI386Relocation(uint8_t *LocalAddress,
29 uint64_t FinalAddress,
35 bool resolveX86_64Relocation(uint8_t *LocalAddress,
36 uint64_t FinalAddress,
42 bool resolveARMRelocation(uint8_t *LocalAddress,
43 uint64_t FinalAddress,
58 unsigned getMaxStubSize() {
67 unsigned getStubAlignment() {
71 struct EHFrameRelatedSections {
76 : EHFrameSID(EH), TextSID(T), ExceptTabSID(Ex) {}
89 virtual void resolveRelocation(
const RelocationEntry &RE, uint64_t Value);
90 virtual void processRelocationRef(
unsigned SectionID,
93 ObjSectionToIDMap &ObjSectionToID,
94 const SymbolTableMap &Symbols,
96 virtual bool isCompatibleFormat(
const ObjectBuffer *Buffer)
const;
97 virtual void registerEHFrames();
98 virtual void finalizeLoad(ObjSectionToIDMap &SectionMap);
RuntimeDyldMachO(RTDyldMemoryManager *mm)
#define RTDYLD_INVALID_SECTION_ID
LLVM Value Representation.