[llvm-bugs] [Bug 40035] New: --size-sort causes symbols to not print
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Dec 14 17:09:27 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=40035
Bug ID: 40035
Summary: --size-sort causes symbols to not print
Product: tools
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: llvm-nm
Assignee: unassignedbugs at nondot.org
Reporter: rupprecht at google.com
CC: llvm-bugs at lists.llvm.org
Using "--size-sort" seems to prevent symbols from printing in llvm-nm. Adding
"-S" fixes it but it should not be necessary.
$ echo 'int foo; int bar() { return 5; }' | clang -xc -c - -o /tmp/foo.o
$ nm --size-sort /tmp/foo.o
0000000000000004 C foo
000000000000000b T bar
$ llvm-nm --size-sort /tmp/foo.o
<no output>
$ llvm-nm -S --size-sort /tmp/foo.o
0000000000000004 0000000000000004 C foo
0000000000000000 000000000000000b T bar
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181215/e6150bf7/attachment.html>
More information about the llvm-bugs
mailing list