[LLVMbugs] [Bug 5651] New: Source-level debugging information causes bad label names

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 30 18:41:22 PST 2009


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: unassignedbugs at nondot.org
        ReportedBy: viridia at gmail.com
                CC: llvmbugs at cs.uiuc.edu


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.



More information about the llvm-bugs mailing list