Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2021-07-12 18:55:14 +0300
committerGitHub <noreply@github.com>2021-07-12 18:55:14 +0300
commitf57b6e7308e9db32e63488aa5e8f938934f54cf0 (patch)
tree48ada362c45a760748668be25605a4398f602f44 /src/coreclr/inc
parentf28318bf770f49aeaf8b2b67b440250732b7fbf3 (diff)
Add crash report to createdump for Linux Watson (#55438)
Add crash report to createdump for Linux Watson For Linux Watson the crash report will contains the .NET Core version, the faulting process name (the module/assembly containing Main) and the managed exception info (including the exception HRESULT) and thread stack trace of the thread the caused the crash. Add the CLRDATA_MODULE_IS_MAIN_MODULE flag to the DAC's IXCLRDataModule::GetFlags API. Add code to get the managed method name and write it out as "method_name" (even on MacOS). Add native frame symbolization (unmanaged_name) using dladdr. Only get the image info once and save in a global Demangle the stack frame symbols Only write PH_HDR_CANARY section if neccessary
Diffstat (limited to 'src/coreclr/inc')
-rw-r--r--src/coreclr/inc/xclrdata.idl1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coreclr/inc/xclrdata.idl b/src/coreclr/inc/xclrdata.idl
index 818915a29cc..aeddf9529be 100644
--- a/src/coreclr/inc/xclrdata.idl
+++ b/src/coreclr/inc/xclrdata.idl
@@ -1014,6 +1014,7 @@ typedef enum
CLRDATA_MODULE_DEFAULT = 0x00000000,
CLRDATA_MODULE_IS_DYNAMIC = 0x00000001,
CLRDATA_MODULE_IS_MEMORY_STREAM = 0x00000002,
+ CLRDATA_MODULE_IS_MAIN_MODULE = 0x00000004,
} CLRDataModuleFlag;
typedef enum