[llvm-readobj] Improve printouts for COFF ARM64 binaries
Differential Revision: https://reviews.llvm.org/D34835 llvm-svn: 306795
This commit is contained in:
@@ -883,7 +883,7 @@ base_reloc_iterator COFFObjectFile::base_reloc_end() const {
|
||||
}
|
||||
|
||||
uint8_t COFFObjectFile::getBytesInAddress() const {
|
||||
return getArch() == Triple::x86_64 ? 8 : 4;
|
||||
return getArch() == Triple::x86_64 || getArch() == Triple::aarch64 ? 8 : 4;
|
||||
}
|
||||
|
||||
StringRef COFFObjectFile::getFileFormatName() const {
|
||||
|
||||
Reference in New Issue
Block a user