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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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,"",@progbits
31370:  .section        .debug_line,"",@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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to