llvm-capstone/libcxxabi
Fangrui Song 85f86e8a3c [libc++abi] Simplify __gxx_personality_v0
In three cases we call `scan_eh_tab` to parse LSDA:

* `actions & _UA_SEARCH_PHASE`
* `actions & _UA_CLEANUP_PHASE && actions & _UA_HANDLER_FRAME && !native_exception`
* `actions & _UA_CLEANUP_PHASE && !(actions & _UA_HANDLER_FRAME)`

Check
`actions & _UA_CLEANUP_PHASE && actions & _UA_HANDLER_FRAME && native_exception` first,
then we can move three `scan_eh_tab` into one place.

Another simplification is that we can check whether the result of `scan_eh_tab`
is `_UA_CONTINUE_UNWIND` or `_UA_FATAL_PHASE1_ERROR` first. Then many of the
original checks will be dead and can thus be deleted.

Reviewed By: #libc_abi, ldionne

Differential Revision: https://reviews.llvm.org/D93186
2021-01-07 14:05:46 -08:00
..
cmake [libcxxabi,libunwind] support running tests in standalone mode 2020-10-14 09:10:20 +02:00
fuzz add cxa_demangle_fuzzer 2016-12-28 03:28:29 +00:00
include [libcxxabi] Define _LIBCXXABI_WEAK properly for mingw compilers 2020-10-22 09:00:57 +03:00
lib [libc++/abi] Revert "[libc++] Move the weak symbols list to libc++abi" 2020-10-05 11:42:13 -04:00
src [libc++abi] Simplify __gxx_personality_v0 2021-01-07 14:05:46 -08:00
test [libc++] Introduce an indirection to create threads in the test suite 2020-11-27 11:54:19 -05:00
www [libc++abi] Simplify the logic for finding libc++ from libc++abi 2020-06-11 15:08:01 -04:00
.clang-format Fully Reformat fallback_malloc.cpp 2017-03-04 03:23:15 +00:00
.gitignore
CMakeLists.txt [libcxx] [libcxxabi] Set flags for visibility when statically linking libcxxabi into libcxx for windows 2020-11-03 17:13:48 +02:00
CREDITS.TXT Try again, this time with the correct address 2017-12-29 19:26:28 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00