Add generate crash dump command to diagnostics server (#24460)
authorMike McLaughlin <mikem@microsoft.com>
Wed, 8 May 2019 07:46:51 +0000 (00:46 -0700)
committerGitHub <noreply@github.com>
Wed, 8 May 2019 07:46:51 +0000 (00:46 -0700)
commit794f2f89399026246562181bc999a5027fb6583d
treed87fc6ee11a0b925a678dc5500a42cbc707ea58f
parent653e25ec4780cfb7132dcb55bda20dbcc9c2a027
Add generate crash dump command to diagnostics server (#24460)

Add the DiagnosticProtocolHelper class to deserialize and dispatch
the new GenerateCoreDump command.

Refactor the PAL createdump launch on unhandled exception code to
used by a new PAL_GenerateCoreDump method that doesn't depend on
the complus dump environment variables.

Changed the "full" createdump not to include the uncommitted pages and
removed the "add module metadata" workaround for SOS clrstack !UNKNOWN
problem now that is fixed in SOS (crashinfo.cpp).
Documentation/botr/xplat-minidump-generation.md
src/debug/createdump/crashinfo.cpp
src/pal/inc/pal.h
src/pal/src/thread/process.cpp
src/vm/CMakeLists.txt
src/vm/diagnosticprotocolhelper.cpp [new file with mode: 0644]
src/vm/diagnosticprotocolhelper.h [new file with mode: 0644]
src/vm/diagnosticserver.cpp
src/vm/diagnosticserver.h