| 25 | }; |
| 26 | |
| 27 | static cxa_exception_begin_llvm* exception_begin_llvm_ptr(void* ptr) { |
| 28 | size_t kExceptionBeginOffset = ( |
| 29 | sizeof(void*) == 8 ? 128 : 80 |
| 30 | ); |
| 31 | return (cxa_exception_begin_llvm*)((char*)ptr - kExceptionBeginOffset); |
| 32 | } |
| 33 | |
| 34 | // https://github.com/gcc-mirror/gcc/blob/5d2a360f0a541646abb11efdbabc33c6a04de7ee/libstdc%2B%2B-v3/libsupc%2B%2B/unwind-cxx.h#L100 |
| 35 | struct cxa_exception_begin_gcc { |
no outgoing calls
no test coverage detected