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: unassignedb...@nondot.org
          Reporter: oliver.stann...@arm.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to