summaryrefslogtreecommitdiff
path: root/src/mongo/util/exception_filter_win32.h
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2020-03-26 14:18:30 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-03-27 20:06:44 +0000
commit6ec78d34e7135b3f8f842b821e1643714c312d80 (patch)
tree63f824ec3c79244b71168e3c33aec87728bbfb8b /src/mongo/util/exception_filter_win32.h
parent7e12da83457ca5a8e76c7d6f39d6b9bbfad3be92 (diff)
downloadmongo-6ec78d34e7135b3f8f842b821e1643714c312d80.tar.gz
SERVER-44645 Windows does not generate minidumps on unhandled C++ exceptions
Diffstat (limited to 'src/mongo/util/exception_filter_win32.h')
-rw-r--r--src/mongo/util/exception_filter_win32.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/mongo/util/exception_filter_win32.h b/src/mongo/util/exception_filter_win32.h
index ea4c2ccf501..11cb3c6f974 100644
--- a/src/mongo/util/exception_filter_win32.h
+++ b/src/mongo/util/exception_filter_win32.h
@@ -33,4 +33,13 @@ namespace mongo {
void setWindowsUnhandledExceptionFilter();
+#ifdef _WIN32
+
+/**
+ * Windows unhandled exception filter
+ */
+LONG WINAPI exceptionFilter(struct _EXCEPTION_POINTERS* excPointers);
+
+#endif
+
} // namespace mongo