<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AArch64 Windows EH UnwindHelp object not located at fixed offset from FP"
   href="https://bugs.llvm.org/show_bug.cgi?id=45346">45346</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>AArch64 Windows EH UnwindHelp object not located at fixed offset from FP
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>9.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: AArch64
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>Daniel.Frampton@microsoft.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>arnaud.degrandmaison@arm.com, llvm-bugs@lists.llvm.org, smithp352@googlemail.com, Ties.Stuij@arm.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=23289" name="attach_23289" title="Program that will crash if compiled and run on aarch64-pc-windows-msvc">attachment 23289</a> <a href="attachment.cgi?id=23289&action=edit" title="Program that will crash if compiled and run on aarch64-pc-windows-msvc">[details]</a></span>
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.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>