1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 03:33:20 +01:00
llvm-mirror/test/tools/llvm-nm
Francis Visoiu Mistrih 2f99b5b70e [llvm-nm][MachO] Don't call getFlags on redacted symbols
Avoid calling getFlags on a non-existent symbol.

The way this is triggered is by calling strip -N on a binary, which sets
the MH_NLIST_OUTOFSYNC_WITH_DYLDINFO header flag. Then, in the
LC_FUNCTION_STARTS command, nm is trying to print the stripped symbols
and needs the proper checks.
2020-12-04 21:48:53 -08:00
..
AArch64
ARM
wasm
X86
data.test
debug-syms.test
dynamic.test
elf-archive.test
elf-extern-only.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
libtool-response-file.test
linker-synthesized.test
lit.local.cfg
no-sort.test
nobits.test
nonalloc.test
numeric-sort.test
print-filename.test
print-size.test
readonly.test
undefined-only.test