[PATCH] D93044: [llvm-readobj/elf] - AArch64: Handle AARCH64_VARIANT_PCS for GNUStyle
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Dec 11 06:23:11 PST 2020
jhenderson added a reviewer: grimar.
jhenderson added inline comments.
================
Comment at: llvm/test/tools/llvm-readobj/ELF/dynamic-tags-machine-specific.test:355-359
# LLVM-AARCH64-NEXT: Tag Type Name/Value
# LLVM-AARCH64-NEXT: 0x0000000070000001 AARCH64_BTI_PLT 1
# LLVM-AARCH64-NEXT: 0x0000000070000003 AARCH64_PAC_PLT 2
+# LLVM-AARCH64-NEXT: 0x0000000070000005 AARCH64_VARIANT_PCS 3
# LLVM-AARCH64-NEXT: 0x0000000000000000 NULL 0x0
----------------
It would be nice if the whitespace were adjusted so that the name/value column all continues to line up. Same goes below.
================
Comment at: llvm/tools/llvm-readobj/ELFDumper.cpp:4038
+
+ if (Symbol.st_other & ~0x3) {
+ if (this->Obj.getHeader().e_machine == ELF::EM_AARCH64) {
----------------
It looks like this new block of code is completely untested?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93044/new/
https://reviews.llvm.org/D93044
More information about the llvm-commits
mailing list