diff options
author | Lang Hames <lhames@gmail.com> | 2014-08-18 21:43:16 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-08-18 21:43:16 +0000 |
commit | 4f867bfada573f775e22c7564abe5502f1665a67 (patch) | |
tree | 9045c29307168c1eb7cc1712c10bfddd92feacef /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | |
parent | baac2afccf744a7274553a1ea0df5b40e1bcfa63 (diff) | |
download | bcm5719-llvm-4f867bfada573f775e22c7564abe5502f1665a67.tar.gz bcm5719-llvm-4f867bfada573f775e22c7564abe5502f1665a67.zip |
[MCJIT] Respect target endianness in RuntimeDyldMachO and RuntimeDyldChecker.
This patch may address some of the issues described in http://llvm.org/PR20640.
llvm-svn: 215938
Diffstat (limited to 'llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h')
-rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h index d8cc7bfc529..45954a4918b 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h @@ -119,7 +119,7 @@ public: /// Write the least significant 'Size' bytes in 'Value' out at the address /// pointed to by Addr. Check for overflow. - bool writeBytesUnaligned(uint8_t *Addr, uint64_t Value, unsigned Size); + bool writeBytesUnaligned(uint8_t *Dst, uint64_t Value, unsigned Size); SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } |