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

           Summary: Source-level debugging information causes bad label
                    names
           Product: new-bugs
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


When I call IRBuilder::SetCurrentDebugLocation() to generate source-level
debugging information, it appears to insert many duplicate labels into the
code. When I convert the generated .bc file to assembly and attempt to
assemble, it prints out hundreds of duplicate symbol errors.

To reproduce:

Take the attached .bc file, and convert to assembly code via llc. Then assemble
with "gcc -g -fno-omit-framepointer -c -O0 -x assembler IntegerTest.out.s".
Many errors will result.

Note: This is on x86, Ubuntu Karmic Koala.


-- 
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