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: unassignedb...@nondot.org
          Reporter: ne...@intrepid.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to