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: unassignedb...@nondot.org
          Reporter: nos...@kota.moe
                CC: llvm-bugs@lists.llvm.org, mclow.li...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to