diff options
author | Duncan Sands <baldrick@free.fr> | 2007-12-14 19:38:31 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2007-12-14 19:38:31 +0000 |
commit | e0a2b30a20c34cd04cd7c84791a548f4771efd36 (patch) | |
tree | 9d99bab072a969763f544d05a9ff7cb572e97897 /bindings | |
parent | 5dee86229f5da73a670947828827c4b90e5dfd44 (diff) | |
download | external_llvm-e0a2b30a20c34cd04cd7c84791a548f4771efd36.zip external_llvm-e0a2b30a20c34cd04cd7c84791a548f4771efd36.tar.gz external_llvm-e0a2b30a20c34cd04cd7c84791a548f4771efd36.tar.bz2 |
Teach the interpreter to read and write memory in the
endianness of the target not of the host. Done by the
simple expedient of reversing bytes for primitive types
if the host and target endianness don't match. This is
correct for integer and pointer types. I don't know if
it is correct for floating point types.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings')
0 files changed, 0 insertions, 0 deletions