[LLVMbugs] [Bug 6218] New: Broken debug info for almost every c++ app

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Feb 2 18:28:31 PST 2010


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

           Summary: Broken debug info for almost every c++ app
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: asl at math.spbu.ru
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=4167)
 --> (http://llvm.org/bugs/attachment.cgi?id=4167)
Bitcode

Consider the attached .bc produced by clang++ -g, the generated assembler is
invalid:

$llc main.bc && gcc -g main.s
main.s: Assembler messages:
main.s:35733: Fatal error: duplicate .debug_line sections

and indeed:
$ grep -n debug_line main.s
12:     .section        .debug_line,"", at progbits
31370:  .section        .debug_line,"", at progbits


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