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

           Summary: r122359 breaks debugging info emissions (on darwin
                    i386)
           Product: libraries
           Version: trunk
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to