summaryrefslogtreecommitdiff
path: root/src/pal/inc/pal.h
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2019-05-08 00:46:51 -0700
committerGitHub <noreply@github.com>2019-05-08 00:46:51 -0700
commit794f2f89399026246562181bc999a5027fb6583d (patch)
treed87fc6ee11a0b925a678dc5500a42cbc707ea58f /src/pal/inc/pal.h
parent653e25ec4780cfb7132dcb55bda20dbcc9c2a027 (diff)
downloadcoreclr-794f2f89399026246562181bc999a5027fb6583d.tar.gz
coreclr-794f2f89399026246562181bc999a5027fb6583d.tar.bz2
coreclr-794f2f89399026246562181bc999a5027fb6583d.zip
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).
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r--src/pal/inc/pal.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h
index f4a726e89f..a2b15f3d12 100644
--- a/src/pal/inc/pal.h
+++ b/src/pal/inc/pal.h
@@ -450,6 +450,14 @@ PALAPI
PAL_SetShutdownCallback(
IN PSHUTDOWN_CALLBACK callback);
+PALIMPORT
+BOOL
+PALAPI
+PAL_GenerateCoreDump(
+ IN LPCSTR dumpName,
+ IN INT dumpType,
+ IN BOOL diag);
+
typedef VOID (*PPAL_STARTUP_CALLBACK)(
char *modulePath,
HMODULE hModule,