[LLVMbugs] [Bug 8845] New: r122359 breaks debugging info emissions (on darwin i386)

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 22 08:18:39 PST 2010


           Summary: r122359 breaks debugging info emissions (on darwin
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: devlists at shadowlab.org
                CC: llvmbugs at cs.uiuc.edu

Created an attachment (id=5921)
 --> (http://llvm.org/bugs/attachment.cgi?id=5921)
objects and assembly

r122359 by rafael
Simplify EvaluateAsAbsolute now that EvaluateAsRelocatableImpl does all the
folding it can.

After this commit, debugging the program using GDB does not work anymore. 

GDB thinks all break points are near the end of the file, and so either don't
break where I put break points, or don't display informations about where it
stopped when I managed to tell it to break.

The generated asm is no affected by this commit, but the resulting objects are.

I attach an assembly file with generated objects before and after the commit.

They are compiled using the following command

> clang -arch i386 -c sync.s -o sync.o

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