<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 --- - "Unexpected TTypeEncoding" assertion failure on EHABI when compiling with GCC"
   href="https://llvm.org/bugs/show_bug.cgi?id=28884">28884</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>"Unexpected TTypeEncoding" assertion failure on EHABI when compiling with GCC
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.8
          </td>
        </tr>

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

        <tr>
          <th>OS</th>
          <td>Linux
          </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>nospam@kota.moe
          </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>Created <span class=""><a href="attachment.cgi?id=16902" name="attach_16902" title="Example Source">attachment 16902</a> <a href="attachment.cgi?id=16902&action=edit" title="Example Source">[details]</a></span>
Example Source

I've cross-compiled libc++, libc++abi and libunwind (All release versions of
v3.8.1) with arm-linux-gnueabi-g++ v5.4.0 (as found on Ubuntu 16.04) to be
linked statically. I then continue to use it to compile and link my application
that throws and catches exceptions.

Running this application fails with:
Assertion failed: ttypeEncoding == DW_EH_PE_absptr && "Unexpected
TTypeEncoding" (/path/to/libcxxabi/src/cxa_personality.cpp: get_shim_type_info:
350)

I've attached an example application that should trigger this, as well as it's
assembly.</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>