mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-10 08:28:10 +01:00
Implement CrashGeneration{Client,Server} for OOP dump generation on OS X, enable OOP dump generation in ExceptionHandler
R=mark at http://breakpad.appspot.com/146001 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@646 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
863aa2a74a
commit
315fd78199
13 changed files with 984 additions and 12 deletions
|
|
@ -240,8 +240,11 @@ kern_return_t ReceivePort::WaitForMessage(MachReceiveMessage *out_message,
|
|||
out_message->head.msgh_reserved = 0;
|
||||
out_message->head.msgh_id = 0;
|
||||
|
||||
mach_msg_option_t options = MACH_RCV_MSG;
|
||||
if (timeout != MACH_MSG_TIMEOUT_NONE)
|
||||
options |= MACH_RCV_TIMEOUT;
|
||||
kern_return_t result = mach_msg(&out_message->head,
|
||||
MACH_RCV_MSG | MACH_RCV_TIMEOUT,
|
||||
options,
|
||||
0,
|
||||
sizeof(MachMessage),
|
||||
port_,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue