summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-08-18 21:43:16 +0000
committerLang Hames <lhames@gmail.com>2014-08-18 21:43:16 +0000
commit4f867bfada573f775e22c7564abe5502f1665a67 (patch)
tree9045c29307168c1eb7cc1712c10bfddd92feacef /llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h
parentbaac2afccf744a7274553a1ea0df5b40e1bcfa63 (diff)
downloadbcm5719-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.h2
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]; }
OpenPOWER on IntegriCloud