diff options
author | Mike McLaughlin <mikem@microsoft.com> | 2017-04-13 00:34:01 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-13 00:34:01 -0700 |
commit | 63cf53abae162743f1b217ee0ef3bbd3c505d097 (patch) | |
tree | 85f9e8fa5d87ca1c5b6e74f7e27919d0e2a8185c /src/pal/inc/pal.h | |
parent | 4a2298203489a9b77ebe8e5c9116de35eb62c3ca (diff) | |
download | coreclr-63cf53abae162743f1b217ee0ef3bbd3c505d097.tar.gz coreclr-63cf53abae162743f1b217ee0ef3bbd3c505d097.tar.bz2 coreclr-63cf53abae162743f1b217ee0ef3bbd3c505d097.zip |
Create ELF core dump on coreclr exceptions and signals. (#10902)
* Create ELF core dump on coreclr exceptions and signals.
When coreclr aborts because of a unhandled managed exception or hardware signal, the
"createdump" utility is launched if the "COMPlus_DbgEnableMiniDump" environment
variable is set to "1".
This utility uses the DAC enumerate memory interface to determine what memory regions
should be written for the managed state plus all the normal Linux memory regions for
the native state like threads, stacks, DSO, etc.
There still needs some to configure some of the "policies" like the name/location of
the core dump and the type of minidump (MiniDumpNormal, MiniDumpWithFullAuxiliaryState,
MiniDumpWithPrivateReadWriteMemory, etc.).
Currently only supported on Ubuntu Linux.
Make createdump smaller by using PAL in DAC module.
Diffstat (limited to 'src/pal/inc/pal.h')
-rw-r--r-- | src/pal/inc/pal.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pal/inc/pal.h b/src/pal/inc/pal.h index 8430ea9899..5d2739e7b8 100644 --- a/src/pal/inc/pal.h +++ b/src/pal/inc/pal.h @@ -487,9 +487,12 @@ PAL_NotifyRuntimeStarted(VOID); static const int MAX_DEBUGGER_TRANSPORT_PIPE_NAME_LENGTH = 64; PALIMPORT -void +VOID PALAPI -PAL_GetTransportPipeName(char *name, DWORD id, const char *suffix); +PAL_GetTransportPipeName( + OUT char *name, + IN DWORD id, + IN const char *suffix); PALIMPORT void |