[JITLink] Make sure MachO/x86-64 handles 32-bit signed addends correctly.
authorLang Hames <lhames@gmail.com>
Thu, 28 Nov 2019 06:25:59 +0000 (22:25 -0800)
committerLang Hames <lhames@gmail.com>
Thu, 28 Nov 2019 06:46:07 +0000 (22:46 -0800)
commitc33598d5e547cddcd0b2a8e647570a759e01e02b
tree45b93d9816575560eceea5ba8e28f019e08dbe85
parent825debe847d15a5670eff54745a6691145ddfae1
[JITLink] Make sure MachO/x86-64 handles 32-bit signed addends correctly.

These need to be sign extended when loading into Edge addends.
llvm/lib/ExecutionEngine/JITLink/MachO_x86_64.cpp
llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_relocations.s