diff options
| author | 2023-01-31 23:02:19 +0000 | |
|---|---|---|
| committer | 2023-02-01 19:02:54 +0000 | |
| commit | 5eade3423b6bcb33dce21e40ab1e64b2fd879bac (patch) | |
| tree | 6b91ae046e1e0c59d18e0350fe4966f7b4ae0c35 /runtime/quick_exception_handler.h | |
| parent | 85066cd0ad17c008ab3c26a8162cd2810ee03648 (diff) | |
Use bitmap to maintain which signal is being handled
The current approach of using a flag for all signals restricts from
having nested loops of different types. For instance, if ART has SISEGV
and SIGBUS handlers installed and the former raises the latter, it
should be allowed but isn't currently.
This CL replaces the flag with a bitmap, one bit per signal. This way we
only skip the same signal type as being handled.
Bug: 160737021
Test: art/test/testrunner/testrunner.py --host -t 2045-uffd
with https://android-review.git.corp.google.com/c/platform/art/+/2411972
Change-Id: I25250e3f83f6258be64b83d9661c89cf2e26d2b5
Diffstat (limited to 'runtime/quick_exception_handler.h')
0 files changed, 0 insertions, 0 deletions