llvm/lib/ExecutionEngine/RuntimeDyld
Alexey Samsonov 34ea0a1de3 Fix unaligned reads/writes in X86JIT and RuntimeDyldELF.
Summary:
Introduce support::ulittleX_t::ref type to Support/Endian.h and use it in x86 JIT
to enforce correct endianness and fix unaligned accesses.

Test Plan: regression test suite

Reviewers: lhames

Subscribers: ributzka, llvm-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@216631 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-27 23:06:08 +00:00
..
Targets Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
CMakeLists.txt [RuntimeDyld] Add a framework for testing relocation logic in RuntimeDyld. 2014-06-27 20:20:57 +00:00
GDBRegistrar.cpp [C++] Use 'nullptr'. 2014-04-24 06:44:33 +00:00
JITRegistrar.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
LLVMBuild.txt Fix build following r211956 2014-06-28 06:31:47 +00:00
Makefile
ObjectImageCommon.h Don't own the buffer in object::Binary. 2014-08-19 18:44:46 +00:00
RuntimeDyld.cpp Silence unused function warning in Release builds. 2014-08-26 14:22:05 +00:00
RuntimeDyldChecker.cpp [MCJIT] More endianness fixes for RuntimeDyldMachO. 2014-08-27 17:41:06 +00:00
RuntimeDyldCheckerImpl.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RuntimeDyldELF.cpp Fix unaligned reads/writes in X86JIT and RuntimeDyldELF. 2014-08-27 23:06:08 +00:00
RuntimeDyldELF.h Canonicalize header guards into a common format. 2014-08-13 16:26:38 +00:00
RuntimeDyldImpl.h [MCJIT] Replace a C-style cast in RuntimeDyldImpl.h. 2014-08-27 17:48:07 +00:00
RuntimeDyldMachO.cpp [MCJIT] More endianness fixes for RuntimeDyldMachO. 2014-08-27 17:41:06 +00:00
RuntimeDyldMachO.h [MCJIT] Respect target endianness in RuntimeDyldMachO and RuntimeDyldChecker. 2014-08-18 21:43:16 +00:00