summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_visualizer.cc
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2017-02-28 16:53:59 -0800
committerJosh Gao <jmgao@google.com>2017-03-08 15:07:49 -0800
commitefd20cb2f63cf647c7d947d00e8987affefeb177 (patch)
tree666ea53832f1085378bcc75620f314ba1f46a330 /compiler/optimizing/graph_visualizer.cc
parentcaa348cee1312150a957bd308ce77ad406f3eb64 (diff)
Catch signals that happen inside a fault handler.
Unblock some signals (SIGABRT, SIGBUS, SIGSEGV) that could happen inside of the ART internal fault handlers, to report crashes inside of the signal handler. Because we can't use sigaction to change the handler when this happens, because it modifies global state, add a new member variable in Thread to track whether a call to the fault handler is reentrant or not. Remove the old nested signal implementation that attempted to do this. Bug: http://b/35853436 Test: changed the #if 0 to #if 1, ran a dummy process that threw a NullPointerException, inspected logcat Change-Id: I04bb4a09433c6817933d64ec681ec433b528f2a5
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions