From b86e7ec7f09489a9f6a982a305406dd79a85bbd5 Mon Sep 17 00:00:00 2001 From: "ted.mielczarek" Date: Thu, 10 May 2007 17:12:14 +0000 Subject: 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 --- src/client/windows/handler/exception_handler.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/client/windows/handler/exception_handler.h') 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_; -- cgit v1.2.1