llvm-6502/lib/ExecutionEngine
Lang Hames ae7ac3974c Support X86_64_GOTLoad relocations in RuntimeDyldMachO by treating them the
same way as X86_64_GOT relocations. The 'Load' part of GOTLoad is just an
optimization hint for the linker anyway, and can be safely ignored.

This patch also fixes some minor issues with the relocations introduced while
processing an X86_64_GOT[Load]: the addend for the GOT entry should always be
zero, and the addend for the replacement relocation at the original offset
should be the same as the addend of the relocation being replaced.

I haven't come up with a good way of testing this yet, but I'm working on it.

This fixes <rdar://problem/14651564>.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188499 91177308-0d34-0410-b5e6-96231b3b80d8
2013-08-15 22:31:40 +00:00
..
IntelJITEvents Formatting correction 2013-01-29 00:50:18 +00:00
Interpreter 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
JIT Fixed alignment of code sections in the JIT mode. Added a test to the JITMemoryManager. 2013-07-02 12:24:22 +00:00
MCJIT Revising the MCJIT ObjectCache interface to allow subclasses to avoid retaining references to returned objects 2013-06-28 21:40:16 +00:00
OProfileJIT [patch] bug 15055 Add Unistd.h to OProfileWrapper.cpp 2013-02-07 20:43:33 +00:00
RuntimeDyld Support X86_64_GOTLoad relocations in RuntimeDyldMachO by treating them the 2013-08-15 22:31:40 +00:00
CMakeLists.txt Put RTDyldMemoryManager into its own file, and make it linked into 2013-05-21 20:24:07 +00:00
EventListenerCommon.h Move all of the header files which are involved in modelling the LLVM IR 2013-01-02 11:36:10 +00:00
ExecutionEngine.cpp Use SmallVectorImpl::iterator/const_iterator instead of SmallVector to avoid specifying the vector size. 2013-07-04 01:31:24 +00:00
ExecutionEngineBindings.cpp Expose the RTDyldMemoryManager through the C API. This allows clients of 2013-05-22 02:46:43 +00:00
LLVMBuild.txt Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM. 2012-03-13 08:33:15 +00:00
Makefile Add profiling support for Intel Parallel Amplifier XE (VTune) for JITted code in LLVM. 2012-03-13 08:33:15 +00:00
RTDyldMemoryManager.cpp Preserve const correctness. 2013-06-04 09:09:15 +00:00
TargetSelect.cpp Enable FastISel on ARM for Linux and NaCl, not MCJIT 2013-06-14 02:49:43 +00:00