[PATCH] D34835: [COFF] Classify AArch64 as 64 bit as well
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 29 14:13:35 PDT 2017
mstorsjo created this revision.
Herald added subscribers: kristof.beyls, rengolin, aemerson.
This corrects at least some printouts by llvm-readobj on ARM64 COFF executables.
https://reviews.llvm.org/D34835
Files:
tools/llvm-readobj/COFFDumper.cpp
Index: tools/llvm-readobj/COFFDumper.cpp
===================================================================
--- tools/llvm-readobj/COFFDumper.cpp
+++ tools/llvm-readobj/COFFDumper.cpp
@@ -678,6 +678,7 @@
template <class PEHeader>
void COFFDumper::printPEHeader(const PEHeader *Hdr) {
DictScope D(W, "ImageOptionalHeader");
+ W.printNumber("Magic", Hdr->Magic);
W.printNumber("MajorLinkerVersion", Hdr->MajorLinkerVersion);
W.printNumber("MinorLinkerVersion", Hdr->MinorLinkerVersion);
W.printNumber("SizeOfCode", Hdr->SizeOfCode);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34835.104734.patch
Type: text/x-patch
Size: 547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170629/42776178/attachment.bin>
More information about the llvm-commits
mailing list