diff options
author | Lang Hames <lhames@gmail.com> | 2014-09-11 19:21:14 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-09-11 19:21:14 +0000 |
commit | 6f1048f94e8c3cd62a163d3780627483f22bfa5d (patch) | |
tree | ba8531837d9670c4acd5429fc075c27029e54a9b /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | fba4fe6717364ea12835a34e59e45c162fdf2b9e (diff) | |
download | bcm5719-llvm-6f1048f94e8c3cd62a163d3780627483f22bfa5d.tar.gz bcm5719-llvm-6f1048f94e8c3cd62a163d3780627483f22bfa5d.zip |
[MCJIT] Add support for ARM HALF_DIFF relocations to MCJIT.
Fixes <rdar://problem/18297804>.
llvm-svn: 217620
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index 3b5faab6381..7583474757d 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -101,6 +101,16 @@ protected: /// Dump information about the relocation entry (RE) and resolved value. void dumpRelocationToResolve(const RelocationEntry &RE, uint64_t Value) const; + // Return a section iterator for the section containing the given address. + static section_iterator getSectionByAddress(const MachOObjectFile &Obj, + uint64_t Addr); + + + // Populate __pointers section. + void populateIndirectSymbolPointersSection(MachOObjectFile &Obj, + const SectionRef &PTSection, + unsigned PTSectionID); + public: /// Create an ObjectImage from the given ObjectBuffer. static std::unique_ptr<ObjectImage> |