https://bugs.llvm.org/show_bug.cgi?id=39998
Bug ID: 39998
Summary: Print symbol type in the "Type" column for llvm-nm
sysv output format
Product: tools
Version: trunk
Hardware: PC
OS: Windows NT
Status: NEW
Severity: normal
Priority: P
Component: llvm-nm
Assignee: unassignedb...@nondot.org
Reporter: jh7370.2...@my.bristol.ac.uk
CC: llvm-bugs@lists.llvm.org
llvm-nm does not print anything in the "Type" column when producing sysv
output. It probably should, given that there is such a column, and since this
information is easier to understand than the "Class" column (and of course GNU
nm does it):
GNU:
C:\Work\TempWork> nm bar.o --format=sysv
Symbols from bar.o:
Name Value Class Type Size
Line Section
bar |0000000000000000| B |
OBJECT|0000000000000004| |.bss
main |0000000000000000| T |
FUNC|0000000000000014| |.text
LLVM:
C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-nm bar.o --format=sysv
Symbols from bar.o:
Name Value Class Type Size
Line Section
bar |0000000000000000| B |
|0000000000000004| |
main |0000000000000000| T |
|0000000000000014| |
Input:
int bar;
int main(){
return bar;
}
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs