[llvm-bugs] [Bug 28995] New: ARM SjLj exception handling assumes frame pointer is r7

via llvm-bugs llvm-bugs at lists.llvm.org
Tue Aug 16 02:19:42 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28995

            Bug ID: 28995
           Summary: ARM SjLj exception handling assumes frame pointer is
                    r7
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: ARM
          Assignee: unassignedbugs at nondot.org
          Reporter: oliver.stannard at arm.com
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

The ARM setjmp/longjmp exception handling assumes that the frame pointer
register is r7. This is not true for all targets, some use r11 instead.

It also assumes that a frame pointer is being used, but doesn't guarantee this.
We should probably emit a frame pointer for any function using the SjLj
intrinsics.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160816/0e50fd16/attachment.html>


More information about the llvm-bugs mailing list