llvm/test/ExecutionEngine/RuntimeDyld
Walter Erquinigo f68eeb3359 Handle relocations to thumb functions when dynamic linking COFF modules
Summary:
This adds the necessary logic to support relocations to thumb functions in the COFF dynamic linker.
The jumps to function addresses are mostly blx, which requires the ISA selection bit when jumping to a thumb function.

Note: I'm determining if the relocation requires the ISA bit when creating the relocation entries and not when resolving the relocation. I have to do that because I need the ObjectFile and the actual Symbol, which are available only when creating the entries. It would require a gross refactor if I do it otherwise, but I'm okay with doing it if you think it's better.

Reviewers: peter.smith, compnerd

Subscribers: rengolin, sas

Differential Revision: https://reviews.llvm.org/D25151

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284410 91177308-0d34-0410-b5e6-96231b3b80d8
2016-10-17 18:56:18 +00:00
..
AArch64 Don't pass relocation-model= to tests that don't need it. 2016-05-18 00:27:17 +00:00
ARM Handle relocations to thumb functions when dynamic linking COFF modules 2016-10-17 18:56:18 +00:00
Mips [MIPS][LLVM-MC] Fix Disassemble of Negative Offset 2016-05-24 09:57:10 +00:00
PowerPC
SystemZ Don't pass relocation-model= to tests that don't need it. 2016-05-18 00:27:17 +00:00
X86 X86: handle external tail calls in Windows JIT 2016-07-14 17:27:06 +00:00