[llvm-bugs] [Bug 25757] New: dsymutil generates warnings on local symbols (?)

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Dec 6 21:47:38 PST 2015


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

            Bug ID: 25757
           Summary: dsymutil generates warnings on local symbols (?)
           Product: tools
           Version: trunk
          Hardware: Macintosh
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-nm
          Assignee: unassignedbugs at nondot.org
          Reporter: nenad at intrepid.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

After updating my Mac to El Capitan (actually the new version of Xcode causes
the problem) I started getting some warning messages from the UPC compiler
(upc.lbl.gov) that was built with the latest gcc backend. Warning messages are
in the form of:

arning: (x86_64) failed to insert symbol '_upcr_phaseof_shared' in the debug
map.

It turns out that they are coming out of Apple's new dsymutil that I think is
actually LLVM's dysmutil in the latest Xcode release. This was not happening on
the previous releases where non LLVM dsymutil was used.

All the symbols with warnings are of type 's' as shown by nm.  As lots of
procedure inlining is used, there are many local symbols with the same name in
the executable. However, only some of executables will get the warning, and I
think it happens if number of symbols with the same symbol name is greater then
20 (might be 19).

I checked the llvm-dsymutil from the trunk and it shows the same problem.

I am attaching one executable that exhibits the problem.

-- 
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/20151207/0434bcd6/attachment-0001.html>


More information about the llvm-bugs mailing list