[llvm-bugs] [Bug 41353] New: unique symbols printed as D instead of u

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Apr 2 15:51:36 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41353

            Bug ID: 41353
           Summary: unique symbols printed as D instead of u
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Keywords: beginner
          Severity: enhancement
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: rupprecht at google.com
                CC: grimar at accesssoftek.com, llvm-bugs at lists.llvm.org

llvm-nm should print 'u' for unique symbols:

$ cat /tmp/unique.s
        .data
        .type foo,%gnu_unique_object
foo:
        .byte 0
$ clang -c /tmp/unique.s -o /tmp/unique.o
$ nm /tmp/unique.o
0000000000000000 u foo
$ llvm-nm /tmp/unique.o
0000000000000000 D foo

-- 
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/20190402/7b729f8d/attachment.html>


More information about the llvm-bugs mailing list