[MCJIT] Rewrite RuntimeDyldMachO and its derived classes to use the 'Offset'
authorLang Hames <lhames@gmail.com>
Sun, 7 Sep 2014 04:03:32 +0000 (04:03 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 7 Sep 2014 04:03:32 +0000 (04:03 +0000)
commitf0ad482410c83a9b2d7d043c8f09e4594a7706d6
tree34fabeac857580dce01d0c0b9df5be66c5313aa7
parent277bb8dd4dc1d9bdd6be737e658ac268b9949c21
[MCJIT] Rewrite RuntimeDyldMachO and its derived classes to use the 'Offset'
field of RelocationValueRef, rather than the 'Addend' field.

This is consistent with RuntimeDyldELF's use of RelocationValueRef, and more
consistent with the semantics of the data being stored (the offset from the
start of a section or symbol).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217328 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h