summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator_arm.cc
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-05-04 13:55:28 -0700
committerJosh Gao <jmgao@google.com>2017-05-15 13:42:02 -0700
commit6b2018f4b847a60f39c86d67e1cae8a00ce977bc (patch)
tree01782290b819d8978df4b90882d2c22d46d57bd5 /compiler/optimizing/code_generator_arm.cc
parent23d75aa98de3cea87e1c088a70309ee0fdb4a0c7 (diff)
sigchain: limit use of SetHandlingSignal.
The native bridge and user signal handlers are able to not return to our signal handler, leaving the HandlingSignal flag set to true for the rest of the lifetime of the thread. Fix this by only using SetHandlingSignal for handlers that we know will return (i.e. the ART fault handler). This effectively reverts commit 90444558, which means sigprocmask's behavior is back to filtering out claimed signals when inside a user signal handler. Include an update to test/115-native-bridge from Zhenhua Wang, to make sure we keep handling signals when a signal handler longjmps away instead of returning. Bug: http://b/37988407 Test: m test-art-host Test: m test-art-target Change-Id: Ia7159ddfa38f1f055e5cd6089c849a208d335752
Diffstat (limited to 'compiler/optimizing/code_generator_arm.cc')
0 files changed, 0 insertions, 0 deletions