[LLVMbugs] [Bug 13641] New: powerpc64 target does not generate mandatory traceback table

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Aug 19 08:59:08 PDT 2012


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: unassignedbugs at nondot.org
        ReportedBy: wschmidt at linux.vnet.ibm.com
                CC: llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list