[LLVMbugs] [Bug 8715] New: incorrect .debug_line section entries in generated .s file

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 1 07:22:29 PST 2010


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

           Summary: incorrect .debug_line section entries in generated .s
                    file
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: dpatel at apple.com
                CC: llvmbugs at cs.uiuc.edu


For the following input 
--- begin ---
char c[4] = "hi\n";
--- end ---

llvm emits incorrect .debug_line entries on darwin9


    .section    __DWARF,__debug_line,regular,debug
Ltmp0:
    .long    (Ltmp1-Ltmp0)-4
    .short    2
    .long    (Ltmp2-Ltmp0)-10
    .byte    1
    .byte    1
    .byte    -5
    .byte    14
    .byte    13
    .byte    0
    .byte    1
    .byte    1
    .byte    1
    .byte    1
    .byte    0
    .byte    0
    .byte    0
    .byte    1
    .byte    0
    .byte    0
    .byte    1
    .byte    0
    .ascii     "g1.c"
    .byte    0
    .byte    0
    .byte    0
    .byte    0
    .byte    0
Ltmp2:
Ltmp1:

This is a regression.

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