commit | 8a43e9e5d751ab827ba3ff0cf862787d3263a484 | [log] [tgz] |
---|---|---|
author | Duncan Sands <baldrick@free.fr> | Fri Dec 14 19:38:31 2007 +0000 |
committer | Duncan Sands <baldrick@free.fr> | Fri Dec 14 19:38:31 2007 +0000 |
tree | 9d99bab072a969763f544d05a9ff7cb572e97897 | |
parent | 6e959b9afe0daa94cc9621ca0c7dab75e2a7bf43 [diff] |
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