[LLVMbugs] [Bug 7811] Linker (llvm-ld) lose debug information on global variables even without optimizations enabled

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Aug 5 08:32:16 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7811

Daniel Dunbar <daniel at zuster.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |daniel at zuster.org
         Resolution|                            |INVALID

--- Comment #1 from Daniel Dunbar <daniel at zuster.org> 2010-08-05 10:32:16 CDT ---
llvm-ld runs a whole host of optimizations, which is what is stripping the
debug info I imagine. Use llvm-ld --disable-opt to avoid them.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list