Michael Zolotukhin
d770752b5c
Remove redundant includes from tools.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320631 91177308-0d34-0410-b5e6-96231b3b80d8
2017-12-13 21:31:10 +00:00
Marek Sokolowski
1481a4e7b6
[llvm-readobj] Fix big-endian byte swap in WindowsResourceDumper.
...
The previous version of dumper implemented UTF-16 byte swap incorrectly
on big-endian machines. This now gets fixed.
Thanks to Bill Seurer for testing the patch locally.
Differential Review: https://reviews.llvm.org/D38150
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313912 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-21 20:36:38 +00:00
Marek Sokolowski
166760504d
[llvm-readobj] Fix 'Teach readobj to dump .res files', pt 3.
...
Fix (r313790) missing ulittle{}_t error on some buildbots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313834 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-20 23:26:05 +00:00
Marek Sokolowski
bf41ef78ca
[llvm-readobj] Fix 'Teach readobj to dump .res files', pt 2.
...
Another fix-up for r313790. Big-endian hosts swapped byte order in
UTF16 words.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313833 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-20 23:07:39 +00:00
Marek Sokolowski
a656eb8f18
[llvm-readobj] Fix 'Teach readobj to dump .res files'.
...
Fix-up for r313790. Some buildbots couldn't convert size_t to
uint{}_t; do it manually.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313816 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-20 21:03:37 +00:00
Marek Sokolowski
96bd9232ef
[llvm-readobj] Teach readobj to dump .res files (WindowsResource).
...
This enables readobj to output Windows resource files (.res). This way,
we'll be able to test .res outputs without comparing them byte-by-byte
with "magic binary files" generated by MS toolchain.
Differential Revision: https://reviews.llvm.org/D38058
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313790 91177308-0d34-0410-b5e6-96231b3b80d8
2017-09-20 18:33:35 +00:00