Displaying 2 results from an estimated 2 matches for "__aeabi_unwind_cpp_pr".
Did you mean:
__aeabi_unwind_cpp_pr0
2014 Oct 22
2
[LLVMdev] LibUnwind into Compiler-RT?
...but I don't
> remember the specifics. IIRC, had something to do with how c++ rtti is
> required
> to be handled by the catch handlers, and would mean layering problems if we
> moved it. Antoine, do you remember the specifics?
>
For a complete implementation, the arm-defined PRs
(__aeabi_unwind_cpp_pr[0-2]) need to call the functions in 8.4.2 in phase
2, which are in libc++abi. In particular, as you mention, __cxa_type_match
needs the rtti info.
That said, currently this part is not implemented in libunwind, among
others because clang never generates code that uses arm-defined PRs for
exception...
2014 Oct 22
3
[LLVMdev] LibUnwind into Compiler-RT?
So, I remember we discussed this earlier this year, but I can't find the thread.
The idea is to move libunwind into compiler-rt for the simple reasons below:
1. Unwinding is not exclusive to C++, nor exception handling.
2. Clang still includes libgcc_s and libgcc_eh when using compiler-rt
(maybe eh isn't needed, but it was there for libgcc).
3. Testing the libunwind with libc++ on ARM is