<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - Make sure _Unwind_Exception object is double-word aligned."
   href="https://llvm.org/bugs/show_bug.cgi?id=27208">27208</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Make sure  _Unwind_Exception object is double-word aligned.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++abi
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>All
          </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>All Bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>ahatanak@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Itanium C++ ABI states that an _Unwind_Exception object should be double-word
(16B) aligned:

<a href="https://mentorembedded.github.io/cxx-abi/abi-eh.html#base-data">https://mentorembedded.github.io/cxx-abi/abi-eh.html#base-data</a>

However, libc++abi doesn't guarantee it's 16-byte aligned, which caused
programs to crash when __cxa_allocate_exception returned an under-aligned
object.

r264998 fixed clang to lower the expected alignment on Darwin. We should
investigate whether other OSes need similar fixes and whether it's possible to
fix this in libc++abi (instead of in clang) without breaking the ABI.</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>