summaryrefslogtreecommitdiff
path: root/tools/cpp-define-generator/make_header.py
diff options
context:
space:
mode:
authorAlex Light <allight@google.com>2020-06-24 08:28:29 -0700
committerAlex Light <allight@google.com>2020-06-24 13:26:01 -0700
commita497c3a427043e2b67124cc46097c8ec3359ba5f (patch)
treebf8ea55899cb672327219f07a808dfc786b0f29a /tools/cpp-define-generator/make_header.py
parent0e9a51005b1df40c769a21ab2b322336c497e9a2 (diff)
Avoid eating SEGVs when performing on-demand dequicken
When using on-demand dequickening we will register SEGV handlers to catch access to the dequickened dex-file. In order to prevent a deadlock we need to be careful about how recursive SEGVs are handled. We initially simply aborted if any occurred. While this is generally correct it can obscure bugs by changing the stack-trace and possibly break some tools which rely on being able to intercept SEGVs. To fix this we will instead just pass-along SEGVs to later handlers when they happen. Test: ./test.py --host Bug: 158737055 Change-Id: Ib5eebff54c2cd00565e5b1619a6794f1543f39e8 Merged-In: Ib5eebff54c2cd00565e5b1619a6794f1543f39e8 (cherry picked from commit 842e9c8c0affaff5253de233974c63ba7ba7f8b4)
Diffstat (limited to 'tools/cpp-define-generator/make_header.py')
0 files changed, 0 insertions, 0 deletions