llvm-project/llvm/lib
Tim Northover 4d01c1e0e6 AArch64: implement relocations for global access
The large memory model (default and main viable for JIT) emits
addresses in need of relocation as
    movz x0, #:abs_g3:somewhere
    movk x0, #:abs_g2_nc:somewhere
    movk x0, #:abs_g1_nc:somewhere
    movk x0, #:abs_g0_nc:somewhere

To support this we must implement those four relocations in the
dynamic loader.

This allows (for example) the test-global.ll MCJIT test to pass on
AArch64.

llvm-svn: 181132
2013-05-04 20:14:04 +00:00
..
Analysis RegionInfo: Do not crash if unreachable block is found 2013-05-03 15:48:34 +00:00
Archive Fix auto_ptr is deprecated warnings 2013-02-26 21:20:35 +00:00
AsmParser Fix for PR 14965: Better error message for GEP with partially defined contents 2013-04-22 17:03:42 +00:00
Bitcode This patch breaks up Wrap.h so that it does not have to include all of 2013-05-01 20:59:00 +00:00
CodeGen TiedTo flag can now be placed on implicit operands. isTwoAddrUse() should look 2013-05-02 02:07:32 +00:00
DebugInfo Clarify getRelocationAddress x getRelocationOffset a bit. 2013-04-25 12:28:45 +00:00
ExecutionEngine AArch64: implement relocations for global access 2013-05-04 20:14:04 +00:00
IR This patch breaks up Wrap.h so that it does not have to include all of 2013-05-01 20:59:00 +00:00
IRReader Measure time that IR parsing took as part of the -time-passes measurement. 2013-04-03 15:33:45 +00:00
Linker Fix a performance bug in the Linker. 2013-05-04 05:05:18 +00:00
MC [PowerPC] Parse platform-specifc variant kinds in AsmParser 2013-05-03 19:52:35 +00:00
Object This patch breaks up Wrap.h so that it does not have to include all of 2013-05-01 20:59:00 +00:00
Option Resort the #include lines in include/... and lib/... with the 2013-01-02 10:22:59 +00:00
Support AArch64: use __clear_cache under GCCish environments 2013-05-04 18:52:44 +00:00
TableGen Allow TableGen DAG arguments to be just a name. 2013-03-24 19:36:51 +00:00
Target AArch64: implement first relocation required for MCJIT 2013-05-04 20:13:59 +00:00
Transforms Tabs to spaces. No functionality change. 2013-05-04 01:08:15 +00:00
CMakeLists.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
LLVMBuild.txt Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00
Makefile Split out the IRReader header and the utility functions it provides into 2013-03-26 02:25:37 +00:00