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


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to