[llvm-bugs] [Bug 40001] New: Add support for --line-numbers to	llvm-nm
    via llvm-bugs 
    llvm-bugs at lists.llvm.org
       
    Thu Dec 13 06:42:40 PST 2018
    
    
  
https://bugs.llvm.org/show_bug.cgi?id=40001
            Bug ID: 40001
           Summary: Add support for --line-numbers to llvm-nm
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org
GNU nm has the --line-numbers switch that describes where the definition or
declaration of a printed symbol occurs. It would be good to add this switch to
llvm-nm to improve GNU compatibility, as it is somewhat useful.
Input:
int bar; // line 1
int main(){
    return bar;
}
GNU output:
C:\Work\TempWork> nm bar.o --line-numbers
0000000000000000 B bar  C:\Work\TempWork/bar.cpp:1
0000000000000000 T main C:\Work\TempWork/bar.cpp:3
-- 
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/20181213/ad91d537/attachment-0001.html>
    
    
More information about the llvm-bugs
mailing list