[MCJIT] Fix a bug RuntimeDyldImpl's read/writeBytesUnaligned methods.
authorLang Hames <lhames@gmail.com>
Sun, 7 Sep 2014 02:05:26 +0000 (02:05 +0000)
committerLang Hames <lhames@gmail.com>
Sun, 7 Sep 2014 02:05:26 +0000 (02:05 +0000)
commit277bb8dd4dc1d9bdd6be737e658ac268b9949c21
treea9921235b7cf44df6e018116967fa771c2953b87
parent324a7cd8be1ff867f5b92acd7a6268790a4c50ef
[MCJIT] Fix a bug RuntimeDyldImpl's read/writeBytesUnaligned methods.

The previous implementation was writing to the high-bytes of integers on BE
targets (when run on LE hosts).

http://llvm.org/PR20640

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