[PATCH] D52810: [llvm-nm] Print an explicit "no symbols" message when an object file has no symbols
Sam Clegg via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 13 13:05:43 PST 2020
sbc100 added a comment.
Herald added a subscriber: hiraditya.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
I it seems that the printing of this error message only occurs with GNU nm if the object doesn't have a symbols table at all. Have no symbols in the table does not print the error message.
$ touch foo.c
$ gcc -c foo.c
$ nm foo.o <- no error output here.
$ strip foo.o
$ nm foo.o
nm: foo.o: no symbols
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D52810/new/
https://reviews.llvm.org/D52810
More information about the llvm-commits
mailing list