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/CMakeLists.txt | |
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/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d13e8f9a85..c2e0260ef1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -96,6 +96,12 @@ function(add_executable_clr) endfunction() if(CLR_CMAKE_PLATFORM_UNIX) + if(CLR_CMAKE_PLATFORM_UBUNTU_LINUX) + if(CLR_CMAKE_PLATFORM_UNIX_AMD64) + add_subdirectory(debug/createdump) + endif(CLR_CMAKE_PLATFORM_UNIX_AMD64) + endif(CLR_CMAKE_PLATFORM_UBUNTU_LINUX) + add_subdirectory(ToolBox/SOS/Strike) # Include the dummy c++ include files |