summaryrefslogtreecommitdiffstats
path: root/clang/Driver/RewriteTest.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2007-12-14 19:38:31 +0000
committerDuncan Sands <baldrick@free.fr>2007-12-14 19:38:31 +0000
commit1202d1b1c4d1b6b90d8a84df230509349fe1f101 (patch)
tree54e3edd759053179229a80ddec88477691cf37af /clang/Driver/RewriteTest.cpp
parentf7cefdd5f0a981c2af9629eeada4924d83100850 (diff)
downloadbcm5719-llvm-1202d1b1c4d1b6b90d8a84df230509349fe1f101.tar.gz
bcm5719-llvm-1202d1b1c4d1b6b90d8a84df230509349fe1f101.zip
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. llvm-svn: 45039
Diffstat (limited to 'clang/Driver/RewriteTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud