mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
85f86e8a3c
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 |
||
---|---|---|
.. | ||
cmake | ||
fuzz | ||
include | ||
lib | ||
src | ||
test | ||
www | ||
.clang-format | ||
.gitignore | ||
CMakeLists.txt | ||
CREDITS.TXT | ||
LICENSE.TXT |