summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-05-28 10:19:44 -0700
committerKeun young Park <keunyoung@google.com>2019-05-30 12:08:42 -0700
commit1fcd51255a8eb1bf2e114ab9fcda73ecc0ac05b4 (patch)
treea460b51c51dfd37328b6a6dba326a6e6c0d81d04 /trusty/coverage/coverage.cpp
parent9122289a9729de5dbdba89700dda140dd0e11966 (diff)
init: dump stack when aborting
Dump init stacks when aborting either due to LOG(FATAL) or in userdebug/eng builds due to signals, including signals from sanitizers. Doesn't work for static first stage init yet, b/133450393 tracks that. Also, ensure that LOG(FATAL) in child processes calls abort() in all stages of init, not just 2nd stage init. Bug: 131747478 Test: abort init in various ways and see stacks Test: hang or crash in backtrace handler and see child reboot Change-Id: Ib53b5d3e7e814244203f875de016ada9900dfce8 Merged-In: Ib53b5d3e7e814244203f875de016ada9900dfce8 (cherry picked from commit 59656fb37769b3c0de927c20f8e9f5855a0f7ac3)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions