diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 17:24:34 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2013-04-29 17:24:34 +0000 |
commit | f1f1c626e7fcd3db60641be223308390de288a41 (patch) | |
tree | 69a91d6a0ffc501985816161f02a809d2a50fcf4 /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | 63524b945356f1d3c5a4fe4b6ba979d9cdc97200 (diff) | |
download | bcm5719-llvm-f1f1c626e7fcd3db60641be223308390de288a41.tar.gz bcm5719-llvm-f1f1c626e7fcd3db60641be223308390de288a41.zip |
Propagate relocation info to resolveRelocation.
This gets most of the MCJITs tests passing with MachO.
llvm-svn: 180716
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index 8f1658cbdf5..c82b2f93ced 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -55,12 +55,15 @@ protected: const SymbolTableMap &Symbols, StubMap &Stubs); + void resolveRelocation(const SectionEntry &Section, + uint64_t Offset, + uint64_t Value, + uint32_t Type, + int64_t Addend, + bool isPCRel, + unsigned Size); public: - virtual void resolveRelocation(const SectionEntry &Section, - uint64_t Offset, - uint64_t Value, - uint32_t Type, - int64_t Addend); + virtual void resolveRelocation(const RelocationEntry &RE, uint64_t Value); RuntimeDyldMachO(RTDyldMemoryManager *mm) : RuntimeDyldImpl(mm) {} |