llvm-project/llvm/test/tools/llvm-nm
zhijian fd3ba1f862 Title: Export unique symbol list with llvm-nm new option "--export-symbols"
Summary:

the patch implement of following functionality.
1. export the symbols from archive or object files.
2. sort the export symbols. (based on same symbol name and visibility)
3. delete the duplicate export symbols (based on same symbol name and visibility)
4. print out the  unique and sorted export symbols (print the symbol name and visibility).

there are two new options are add in the patch
1. --export-symbols (enable the functionality of export unique symbol)
2. --no-rsrc (exclude the symbol name begin with "__rsrc" from be exporting from xcoff object file)

Export symbol list for xcoff object file has the same functionality as
The patch has the same functionality as
https://www.ibm.com/docs/en/xl-c-aix/13.1.0?topic=library-exporting-symbols-createexportlist-utility

Reviewers: James Henderson,Fangrui Song
Differential Revision: https://reviews.llvm.org/D112735
2022-02-17 11:37:33 -05:00
..
AArch64
ARM
Inputs [llvm-nm] add a new option -X to specify the type of object file llvm-nm should examine 2022-02-15 09:43:31 -05:00
X86 [llvm-nm][test] Move X86 lit.local.cfg into the X86 subfolder 2021-11-15 13:04:42 +00:00
XCOFF Title: Export unique symbol list with llvm-nm new option "--export-symbols" 2022-02-17 11:37:33 -05:00
wasm
bitcode-export-sym.test Title: Export unique symbol list with llvm-nm new option "--export-symbols" 2022-02-17 11:37:33 -05:00
data.test
debug-syms.test
defined-only.test
dynamic.test
elf-archive.test
elf-extern-only.test
format-bsd.test [NFC][llvm] Inclusive language: reword uses of sanity test and check 2021-11-25 07:21:42 -05:00
format-sysv-binding.test
format-sysv-layout.test
format-sysv-section.test
format-sysv-type.test
help.test
ifunc.test
invalid-input.test
invalid-symbol-table-size.test
just-symbols.test [llvm-nm][test] diff -q => diff to make AIX happy 2021-07-09 15:24:45 -07:00
libtool-response-file.test
libtool-version.test
linker-synthesized.test
no-sort.test
nobits.test
nonalloc.test
numeric-sort.test
option-X.test [llvm-nm] add a new option -X to specify the type of object file llvm-nm should examine 2022-02-15 09:43:31 -05:00
print-filename.test
print-size.test
readonly.test
reverse-sort.test
undefined-only.test