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

            Bug ID: 45346
           Summary: AArch64 Windows EH UnwindHelp object not located at
                    fixed offset from FP
           Product: libraries
           Version: 9.0
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: AArch64
          Assignee: unassignedb...@nondot.org
          Reporter: daniel.framp...@microsoft.com
                CC: arnaud.degrandmai...@arm.com,
                    llvm-bugs@lists.llvm.org, smithp...@googlemail.com,
                    ties.st...@arm.com

Created attachment 23289
  --> https://bugs.llvm.org/attachment.cgi?id=23289&action=edit
Program that will crash if compiled and run on aarch64-pc-windows-msvc

On AArch64 Windows the UnwindHelp object used for EH is allocated as a normal
stack object.

If there are aligned objects in the frame, then the object will be subject to
alignment.

This means during exception handling the object can not be reliably found,
causing incorrect exception handling behavior.

Attaching simple C++ repro.

Bug exists in both LLVM9 and master.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to