mirror of
				https://github.com/yuzu-emu/breakpad.git
				synced 2025-11-04 16:04:58 +00:00 
			
		
		
		
	Issue 328 - should have constant for VC++ exceptions, and stringify in MinidumpProcessor::GetCrashReason
r=nealsid at http://breakpad.appspot.com/25001/show git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@394 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
		
							parent
							
								
									c426b3d98a
								
							
						
					
					
						commit
						b2bc3bcc84
					
				| 
						 | 
				
			
			@ -94,8 +94,11 @@ typedef enum {
 | 
			
		|||
      /* EXCEPTION_PRIV_INSTRUCTION */
 | 
			
		||||
  MD_EXCEPTION_CODE_WIN_STACK_OVERFLOW           = 0xc00000fd,
 | 
			
		||||
      /* EXCEPTION_STACK_OVERFLOW */
 | 
			
		||||
  MD_EXCEPTION_CODE_WIN_POSSIBLE_DEADLOCK        = 0xc0000194
 | 
			
		||||
  MD_EXCEPTION_CODE_WIN_POSSIBLE_DEADLOCK        = 0xc0000194,
 | 
			
		||||
      /* EXCEPTION_POSSIBLE_DEADLOCK */
 | 
			
		||||
  MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION  = 0xe06d7363
 | 
			
		||||
      /* Per http://support.microsoft.com/kb/185294,
 | 
			
		||||
         generated by Visual C++ compiler */
 | 
			
		||||
} MDExceptionCodeWin;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -754,6 +754,9 @@ string MinidumpProcessor::GetCrashReason(Minidump *dump, u_int64_t *address) {
 | 
			
		|||
        case MD_EXCEPTION_CODE_WIN_POSSIBLE_DEADLOCK:
 | 
			
		||||
          reason = "EXCEPTION_POSSIBLE_DEADLOCK";
 | 
			
		||||
          break;
 | 
			
		||||
        case MD_EXCEPTION_CODE_WIN_UNHANDLED_CPP_EXCEPTION:
 | 
			
		||||
	  reason = "Unhandled C++ Exception";
 | 
			
		||||
	  break;
 | 
			
		||||
        default:
 | 
			
		||||
          BPLOG(INFO) << "Unknown exception reason " << reason;
 | 
			
		||||
          break;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue