[llvm-bugs] [Bug 45346] New: AArch64 Windows EH UnwindHelp object not located at fixed offset from FP

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Mar 29 09:49:05 PDT 2020


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: unassignedbugs at nondot.org
          Reporter: Daniel.Frampton at microsoft.com
                CC: arnaud.degrandmaison at arm.com,
                    llvm-bugs at lists.llvm.org, smithp352 at googlemail.com,
                    Ties.Stuij at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20200329/3fc97347/attachment-0001.html>


More information about the llvm-bugs mailing list