https://sourceware.org/bugzilla/show_bug.cgi?id=27874
Bug ID: 27874 Summary: Incomplete result on `nm-new` Product: binutils Version: 2.37 (HEAD) Status: UNCONFIRMED Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: shaohua.li at inf dot ethz.ch Target Milestone: --- Created attachment 13454 --> https://sourceware.org/bugzilla/attachment.cgi?id=13454&action=edit a.o Hi there, I found that `nm-new -D -l` would output incomplete results for some inputs. For the file I attached, gcc11 and clang12 would give out different results. For gcc11 compiled nm-new, the result was: `04000000 T func_cu1 file1.txt:2` but for clang12 compiled nm-new, the result was: `04000000 T func_cu1` Although I used `-l` parameter, the filename and lineno were omitted in clang12 compiled version. To reproduce, run: `nm-new -D -l a.o`. -- You are receiving this mail because: You are on the CC list for the bug.