forked from OSchip/llvm-project
3d381a7102
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. |
||
---|---|---|
.. | ||
AArch64 | ||
ARM | ||
X86 | ||
wasm | ||
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 |