aboutsummaryrefslogtreecommitdiff
path: root/src/client/windows/handler/exception_handler.h
diff options
context:
space:
mode:
authorted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-10 17:12:14 +0000
committerted.mielczarek <ted.mielczarek@4c0a9323-5329-0410-9bdc-e9ce6186880e>2007-05-10 17:12:14 +0000
commitb86e7ec7f09489a9f6a982a305406dd79a85bbd5 (patch)
tree46a2ce5894c7c8ce74c70d81d809b07dadd81215 /src/client/windows/handler/exception_handler.h
parentFixing comment about cpuid vendor_id (diff)
downloadbreakpad-b86e7ec7f09489a9f6a982a305406dd79a85bbd5.tar.xz
Issue 162 - handle pure virtual function calls in VC++. r=mento
git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@166 4c0a9323-5329-0410-9bdc-e9ce6186880e
Diffstat (limited to 'src/client/windows/handler/exception_handler.h')
-rw-r--r--src/client/windows/handler/exception_handler.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client/windows/handler/exception_handler.h b/src/client/windows/handler/exception_handler.h
index f7bfe6cb..e4b3f3bb 100644
--- a/src/client/windows/handler/exception_handler.h
+++ b/src/client/windows/handler/exception_handler.h
@@ -183,6 +183,10 @@ class ExceptionHandler {
uintptr_t reserved);
#endif // _MSC_VER >= 1400
+ // This function will be called by the CRT when a pure virtual
+ // function is called.
+ static void HandlePureVirtualCall();
+
// This is called on the exception thread or on another thread that
// the user wishes to produce a dump from. It calls
// WriteMinidumpWithException on the handler thread, avoiding stack
@@ -254,6 +258,10 @@ class ExceptionHandler {
_invalid_parameter_handler previous_iph_;
#endif // _MSC_VER >= 1400
+ // The CRT allows you to override the default handler for pure
+ // virtual function calls.
+ _purecall_handler previous_pch_;
+
// The exception handler thread.
HANDLE handler_thread_;