[RuntimeDyld] Handle endiannes differences between the host and target while
authorLang Hames <lhames@gmail.com>
Mon, 14 Jul 2014 23:19:50 +0000 (23:19 +0000)
committerLang Hames <lhames@gmail.com>
Mon, 14 Jul 2014 23:19:50 +0000 (23:19 +0000)
commita8940be6dff82d9ab309a4ef71bf7d2e8d953792
tree6855c997a6627c007719d256327d18252135ea8f
parent3afd71fc7d63086d8489c34c0e6ff29a374d4e45
[RuntimeDyld] Handle endiannes differences between the host and target while
reading MachO files magic numbers in RuntimeDyld.

This is required now that we're testing cross-platform JITing (via
RuntimeDyldChecker), and should fix some issues that David Fang has seen on PPC
builds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213012 91177308-0d34-0410-b5e6-96231b3b80d8
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp