diff options
author | JF Bastien <jfbastien@apple.com> | 2019-07-25 16:07:41 +0000 |
---|---|---|
committer | JF Bastien <jfbastien@apple.com> | 2019-07-25 16:07:41 +0000 |
commit | eb3c1ca896fa858f421c6247d1a5a30edad9535f (patch) | |
tree | fe63f3a6289d59ef3b81298f967d477cb5feedb3 /lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py | |
parent | d8efec97bebd24a3fd12169d9613efc839ba5280 (diff) | |
download | bcm5719-llvm-eb3c1ca896fa858f421c6247d1a5a30edad9535f.tar.gz bcm5719-llvm-eb3c1ca896fa858f421c6247d1a5a30edad9535f.zip |
CrashHandler: be careful about crashing while handling
Summary:
Looking at the current Apple-specific code for crash handling it does a few
silly things that I think we should avoid while handling crashes:
* Try real hard not to allocate.
* Set the global crash reporter string early so that any crash while
generating the stack trace will still report some info.
* Prevent reordering of operations in the current thread.
<rdar://problem/53503334>
Subscribers: hiraditya, jkorous, dexonsmith, llvm-commits, beanz, Bigcheese, thakis, lattner, jordan_rose
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D65235
llvm-svn: 367031
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/sample_test/TestSampleInlineTest.py')
0 files changed, 0 insertions, 0 deletions