[PATCH] D52810: [llvm-nm] Print an explicit "no symbols" message when an object file has no symbols
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 3 12:28:05 PDT 2018
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Looks good, GNU and some BSD nm use: `nm: /bin/cat: no symbols` but the repeated command name and filename do not seem useful.
In POSIX.1-2017 specification of nm, "If no symbolic information is available for a valid input file, the nm utility shall report that fact, but not consider it an error condition."
Repository:
rL LLVM
https://reviews.llvm.org/D52810
More information about the llvm-commits
mailing list