<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Print symbol section in the "Section" column for llvm-nm sysv output format"
href="https://bugs.llvm.org/show_bug.cgi?id=39999">39999</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Print symbol section in the "Section" column for llvm-nm sysv output format
</td>
</tr>
<tr>
<th>Product</th>
<td>tools
</td>
</tr>
<tr>
<th>Version</th>
<td>trunk
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>llvm-nm
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>jh7370.2008@my.bristol.ac.uk
</td>
</tr>
<tr>
<th>CC</th>
<td>llvm-bugs@lists.llvm.org
</td>
</tr></table>
<p>
<div>
<pre>See also <a class="bz_bug_link
bz_status_NEW "
title="NEW - Print symbol type in the "Type" column for llvm-nm sysv output format"
href="show_bug.cgi?id=39998">bug 39998</a>, which covers the missing information in the "Type" column.
llvm-nm does not print anything in the "Section" column when producing sysv
output. It probably should, given that there is such a 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;
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>