summaryrefslogtreecommitdiff
path: root/src/pal
diff options
context:
space:
mode:
authorMike McLaughlin <mikem@microsoft.com>2017-06-23 15:02:36 -0700
committerGitHub <noreply@github.com>2017-06-23 15:02:36 -0700
commit619334db7e5595888e6409570750ccffe4c4c126 (patch)
tree777e8b932afa4abfaf557461daa41cb85d40ae8a /src/pal
parent3a24095610ecaba62495740bf8319ad467af4997 (diff)
downloadcoreclr-619334db7e5595888e6409570750ccffe4c4c126.tar.gz
coreclr-619334db7e5595888e6409570750ccffe4c4c126.tar.bz2
coreclr-619334db7e5595888e6409570750ccffe4c4c126.zip
Add ELF program and section headers to core dump. (#12425)
Add ELF program and section headers to core dump. Issue #12341 This allows the build id for the modules be extracted properly. Add .eh_frame, .eh_frame_hdr and some other important sections to core dump. Add managed module names to core dump so the symbol acquisition tool can get symbol store keys for them. Add the non memory/file backed memory regions to core dump so debuggers like lldb can check if an address is "code" or not. Unwinding doesn't work when there isn't a module/.so file present.
Diffstat (limited to 'src/pal')
-rw-r--r--src/pal/src/thread/process.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pal/src/thread/process.cpp b/src/pal/src/thread/process.cpp
index 850f2519fe..3294870fca 100644
--- a/src/pal/src/thread/process.cpp
+++ b/src/pal/src/thread/process.cpp
@@ -2951,6 +2951,10 @@ PROCAbortInitialize()
{
*argv++ = "--triage";
}
+ else if (strcmp(envvar, "4") == 0)
+ {
+ *argv++ = "--full";
+ }
}
envvar = getenv("COMPlus_CreateDumpDiagnostics");