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

             Bug #: 13641
           Summary: powerpc64 target does not generate mandatory traceback
                    table
           Product: new-bugs
           Version: trunk
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


On powerpc64-unknown-linux-gnu, the mandatory traceback table for debug and
exception handling support is not produced.  See section 3.3 of the 64-bit
PowerPC ELF Application Binary Interface Supplement at
http://refspecs.linuxfoundation.org/ELF/ppc64/PPC-elf64abi-1.9.html.  A
traceback table should appear after the last instruction of each function, and
should look something like this:

    blr
    .long 0
    .byte 0,0,0,0,128,1,0,1
    .size    foo,.-.L.foo

The .long field is an illegal instruction that signals the start of the
traceback table, and the eight-byte entry that follows is the mandatory portion
of the traceback table.  Code generated by LLVM does not include these two
fields.

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