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

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Jan 29 19:36:56 PST 2016


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

Frederic Riss <friss at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Frederic Riss <friss at apple.com> ---
I finally looked into this (sorry for the delay), and I'm unable to fix this.
You are using a compiler that emits multiple identically named symbols into the
same object file. dsymutil relies on the name of the symbols being unique (at
the object file level) to map final address provided to the linker to the
object file address. When there are multiple symbols with the same name, it
can't do that.

The warning is symptomatic of a real issue. The debug info generated by
dsymutil in this case might be wrong for the affected symbols. dsymutil wasn't
warning in the past about that, but it was certainly silently doing the wrong
thing. I'm unwilling to just hide this warning as it is showing a real issue. 

If you think my logic is flawed, feel free to reopen.

-- 
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/20160130/44333aa7/attachment.html>


More information about the llvm-bugs mailing list