[llvm-bugs] [Bug 28884] New: "Unexpected TTypeEncoding" assertion failure on EHABI when compiling with GCC

via llvm-bugs llvm-bugs at lists.llvm.org
Sat Aug 6 09:27:18 PDT 2016


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

            Bug ID: 28884
           Summary: "Unexpected TTypeEncoding" assertion failure on EHABI
                    when compiling with GCC
           Product: libc++abi
           Version: 3.8
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: nospam at kota.moe
                CC: llvm-bugs at lists.llvm.org, mclow.lists at gmail.com
    Classification: Unclassified

Created attachment 16902
  --> https://llvm.org/bugs/attachment.cgi?id=16902&action=edit
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.

-- 
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/20160806/0ba4bc04/attachment.html>


More information about the llvm-bugs mailing list