llvm-project
llvm-project copied to clipboard
Modify "no symbols" output to match gnu-nm
| Bugzilla Link | 41646 |
| Resolution | FIXED |
| Resolved on | Apr 30, 2020 07:34 |
| Version | trunk |
| OS | Windows NT |
| CC | @MaskRay,@jh7370 |
Extended Description
When no symbol table is present llvm-nm prints "no symbols". However, gnu-nm prints "$FILENAME: no symbols"
I think the full fix (i.e. including filename) is a9f0025acd2235dccec51cf42d1e604675639343.
Fixed after https://reviews.llvm.org/D52810
Note: In this case, gnu-nm style message can be obtained by passing the flag --print-filename.