llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

Modify "no symbols" output to match gnu-nm

Open chrisjbris opened this issue 7 years ago • 3 comments

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"

chrisjbris avatar Apr 29 '19 11:04 chrisjbris

I think the full fix (i.e. including filename) is a9f0025acd2235dccec51cf42d1e604675639343.

jh7370 avatar Apr 30 '20 14:04 jh7370

Fixed after https://reviews.llvm.org/D52810

MaskRay avatar Mar 04 '20 01:03 MaskRay

Note: In this case, gnu-nm style message can be obtained by passing the flag --print-filename.

chrisjbris avatar Apr 30 '19 15:04 chrisjbris