llvm-6502/test/ExecutionEngine
Keno Fischer 4edb309c27 [RuntimeDyldELF] Improve GOT support
Summary:
This is the first in a series of patches to eventually add support for TLS relocations to RuntimeDyld. This patch resolves an issue in the current GOT handling, where GOT entries would be reused between object files, which leads to the same situation that necessitates the GOT in the first place, i.e. that the 32-bit offset can not cover all of the address space. Thus this patch makes the GOT object-file-local.
Unfortunately, this still isn't quite enough, because the MemoryManager does not yet guarantee that sections are allocated sufficiently close to each other, even if they belong to the same object file. To address this concern, this patch also adds a small API abstraction on top of the GOT allocation mechanism that will allow (temporarily, until the MemoryManager is improved) using the stub mechanism instead of allocating a different section. The actual switch from separate section to stub mechanism will be part of a follow-on commit, so that it can be easily reverted independently at the appropriate time.

Test Plan: Includes a test case where the GOT of two object files is artificially forced to be apart by several GB.

Reviewers: lhames

Reviewed By: lhames

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D8813

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234839 91177308-0d34-0410-b5e6-96231b3b80d8
2015-04-14 02:10:35 +00:00
..
Interpreter [PATCH][Interpreter] Add missing FP intrinsic lowering. 2014-08-30 18:33:35 +00:00
MCJIT [RuntimeDyldELF] Improve GOT support 2015-04-14 02:10:35 +00:00
OrcLazy [Orc] Revert 234815. Still haven't quite got this test figured out apparently. 2015-04-14 00:27:47 +00:00
OrcMCJIT [Orc][MCJIT] Remove the small code model regression tests. 2015-03-31 18:19:25 +00:00
RuntimeDyld [RuntimeDyldELF] Improve GOT support 2015-04-14 02:10:35 +00:00
2010-01-15-UndefValue.ll
fma3-jit.ll [opaque pointer type] Add textual IR support for explicit type parameter to getelementptr instruction 2015-02-27 19:29:02 +00:00
frem.ll [opaque pointer type] Add textual IR support for explicit type parameter to gep operator 2015-03-13 18:20:45 +00:00
lit.local.cfg mark the old jit tests as unsupported for powerpc64 (for cmake) 2014-06-17 17:04:42 +00:00
mov64zext32.ll Reinstate "Nuke the old JIT." 2014-09-02 22:28:02 +00:00
test-interp-vec-arithm_float.ll Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
test-interp-vec-arithm_int.ll Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
test-interp-vec-cast.ll LLVM Interpreter: This patch implements vector support for cast operations (zext, sext, uitofp, sitofp, trunc, fpext, fptosi, fptrunc, bitcast) and shift operations (shl, ashr, lshr) for integer and floating point data types. 2013-08-05 12:17:06 +00:00
test-interp-vec-insertelement.ll llvm interpreter: select, shuffle and insertelement instructions. 2013-09-02 06:40:09 +00:00
test-interp-vec-insertextractvalue.ll LLVM interpreter: added a test for insert- extract- value 2013-09-12 10:52:03 +00:00
test-interp-vec-loadstore.ll [opaque pointer type] Add textual IR support for explicit type parameter to load instruction 2015-02-27 21:17:42 +00:00
test-interp-vec-logical.ll Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
test-interp-vec-select.ll llvm interpreter: select, shuffle and insertelement instructions. 2013-09-02 06:40:09 +00:00
test-interp-vec-setcond-fp.ll Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
test-interp-vec-setcond-int.ll Teach the interpreter to handle vector compares and additional vector arithmetic operations. 2013-04-26 20:19:41 +00:00
test-interp-vec-shift.ll LLVM Interpreter: This patch implements vector support for cast operations (zext, sext, uitofp, sitofp, trunc, fpext, fptosi, fptrunc, bitcast) and shift operations (shl, ashr, lshr) for integer and floating point data types. 2013-08-05 12:17:06 +00:00
test-interp-vec-shuffle.ll llvm interpreter: select, shuffle and insertelement instructions. 2013-09-02 06:40:09 +00:00