diff options
author | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-01-15 15:36:04 +0000 |
---|---|---|
committer | Vasileios Kalintiris <Vasileios.Kalintiris@imgtec.com> | 2015-01-15 15:36:04 +0000 |
commit | 799d5c924e36f275017cd441036f9c1a2a616c73 (patch) | |
tree | 96796f36d8ba46d73cfd6e3ee548342f9bcfb77d /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | |
parent | f294d5b8291e7b035cd33f11e55f553d1b0c97a0 (diff) | |
download | llvm-799d5c924e36f275017cd441036f9c1a2a616c73.zip llvm-799d5c924e36f275017cd441036f9c1a2a616c73.tar.gz llvm-799d5c924e36f275017cd441036f9c1a2a616c73.tar.bz2 |
Fix the C-API MCJIT test for 32-bit big endian machines.
Avoid using unions for storing the return value from
LLVMGetGlobalValueAddress() and LLVMGetFunctionAddress() and accessing it as
a pointer through another pointer member. This causes problems on 32-bit big
endian machines since the pointer gets the higher part of the return value of
the aforementioned functions.
llvm-svn: 226170
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions