forked from OSchip/llvm-project
fd3ba1f862
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 |
||
---|---|---|
.. | ||
AArch64 | ||
ARM | ||
Inputs | ||
X86 | ||
XCOFF | ||
wasm | ||
bitcode-export-sym.test | ||
data.test | ||
debug-syms.test | ||
defined-only.test | ||
dynamic.test | ||
elf-archive.test | ||
elf-extern-only.test | ||
format-bsd.test | ||
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 | ||
libtool-response-file.test | ||
libtool-version.test | ||
linker-synthesized.test | ||
no-sort.test | ||
nobits.test | ||
nonalloc.test | ||
numeric-sort.test | ||
option-X.test | ||
print-filename.test | ||
print-size.test | ||
readonly.test | ||
reverse-sort.test | ||
undefined-only.test |