diff options
author | Igor Kulaychuk <igor.kulaychuk@gmail.com> | 2017-07-17 22:47:26 +0300 |
---|---|---|
committer | Mike McLaughlin <mikem@microsoft.com> | 2017-07-17 12:47:26 -0700 |
commit | 446b27c1325e5b1f38101fee34a698f7d142baf9 (patch) | |
tree | 03aba523251a71cab928ef4dff7cb7b4f32474cb /src/pal/src/exception | |
parent | 74955376082bbc7da31ad98b2c77e6953b27e37f (diff) | |
download | coreclr-446b27c1325e5b1f38101fee34a698f7d142baf9.tar.gz coreclr-446b27c1325e5b1f38101fee34a698f7d142baf9.tar.bz2 coreclr-446b27c1325e5b1f38101fee34a698f7d142baf9.zip |
Create crash dump on unhandled SIGILL, SIGFPE, SIGSEGV, SIGTRAP, SIGBUS (#12842)
Diffstat (limited to 'src/pal/src/exception')
-rw-r--r-- | src/pal/src/exception/signal.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pal/src/exception/signal.cpp b/src/pal/src/exception/signal.cpp index 3e28115909..3ceb16b4f6 100644 --- a/src/pal/src/exception/signal.cpp +++ b/src/pal/src/exception/signal.cpp @@ -357,6 +357,7 @@ static void sigill_handler(int code, siginfo_t *siginfo, void *context) } PROCNotifyProcessShutdown(); + PROCCreateCrashDumpIfEnabled(); } /*++ @@ -391,6 +392,7 @@ static void sigfpe_handler(int code, siginfo_t *siginfo, void *context) } PROCNotifyProcessShutdown(); + PROCCreateCrashDumpIfEnabled(); } /*++ @@ -498,6 +500,7 @@ static void sigsegv_handler(int code, siginfo_t *siginfo, void *context) } PROCNotifyProcessShutdown(); + PROCCreateCrashDumpIfEnabled(); } /*++ @@ -533,6 +536,7 @@ static void sigtrap_handler(int code, siginfo_t *siginfo, void *context) } PROCNotifyProcessShutdown(); + PROCCreateCrashDumpIfEnabled(); } /*++ @@ -570,6 +574,7 @@ static void sigbus_handler(int code, siginfo_t *siginfo, void *context) } PROCNotifyProcessShutdown(); + PROCCreateCrashDumpIfEnabled(); } /*++ |