createdump improvements for better VS4Mac Watson bucketing (#71863)
authorMike McLaughlin <mikem@microsoft.com>
Wed, 13 Jul 2022 00:52:26 +0000 (17:52 -0700)
committerGitHub <noreply@github.com>
Wed, 13 Jul 2022 00:52:26 +0000 (17:52 -0700)
commitd7dd98fb2a4dcc86e49a82cde5c2f19100c85a99
treef29e22f437cb9c66ff9c3f09549f60123c56fdd1
parent3b022db273baea5a0dcfd3ce543c26d8b7aa0739
createdump improvements for better VS4Mac Watson bucketing (#71863)

* Createdump changes for VS4Mac

Add target process terminated/alive message.

Smaller MacOS dumps. Don't add share_mode == SM_EMPTY regions.

Add crashreport success status message for VS4Mac.

Launch createdump from SIGTERM handler directly to reduce the time it takes to get the crash report/dump for VS4Mac.

* Add more instrumentation to diagnose SIGTERM problem

* Remove useless thread state logging
src/coreclr/debug/createdump/crashinfomac.cpp
src/coreclr/debug/createdump/crashreportwriter.cpp
src/coreclr/debug/createdump/createdumpunix.cpp
src/coreclr/debug/createdump/dumpwritermacho.cpp
src/coreclr/pal/src/exception/signal.cpp
src/coreclr/vm/exceptionhandling.cpp