llvm-project/llvm/test/tools/llvm-readobj
zhijian 791411a037 [XCOFF] change the decoding of External symbol's function auxiliary entry in XCOFF32 for llvm-readobj
Summary:

llvm-readobj decide whether to decode the external symbol's function auxiliary entry based on whether symbol is function or not currently. But the XCOFFSymbolRef::isFunction() do not work properly when -ffunction-sections is enabled. we will not decode the function auxiliary entry based on the XCOFFSymbolRef::isFunction()
we will decode the function auxiliary entry based on following:
According to the https://www.ibm.com/docs/en/aix/7.2?topic=formats-xcoff-object-file-format#XCOFF__c0f91ad419jbau

In XCOFF32, there are only "one csect Auxiliary Entry" and "a function auxiliary symbol table entry" for the C_EXT, C_WEAKEXT, and C_HIDEXT Symbols. and By convention, the csect auxiliary entry in an XCOFF32 file must be the last auxiliary entry for any external symbol that has more than one auxiliary entry( that means for the C_EXT, C_WEAKEXT, and C_HIDEXT Symbols. if there more than one auxiliary Entries. we look the last one as csect auxiliary entry. and others auxiliary entries as function entries).

Reviewers: Hubert Tong, James Henderson
Differential Revision: https://reviews.llvm.org/D136950
2022-11-03 10:36:44 -04:00
..
COFF [lit][REQUIRES] Fix some tests with incorrect REQUIRES clauses 2022-11-01 13:49:23 -07:00
ELF [llvm-readelf] --section-details: display SHF_COMPRESSED headers 2022-10-27 09:25:21 -07:00
MachO Reland "[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now)." 2022-03-31 14:21:41 -04:00
XCOFF [XCOFF] change the decoding of External symbol's function auxiliary entry in XCOFF32 for llvm-readobj 2022-11-03 10:36:44 -04:00
wasm llvm-readobj: support globals in initializer expressions 2022-01-31 20:11:08 -08:00
archive.test
basic.test [AIX] support write operation of big archive. 2022-05-13 10:40:15 -04:00
macho-arm64e.test
sort-symbols.test Reland "[llvm-readobj][MachO] Add option to sort the symbol table before dumping (MachO only, for now)." 2022-03-31 14:21:41 -04:00
thin-archive.test