#include "client/crashpad_client.h"
#include "util/misc/capture_context.h"
◆ CRASHPAD_SIMULATE_CRASH
#define CRASHPAD_SIMULATE_CRASH |
( |
| ) |
|
Value: do { \
crashpad::NativeCPUContext simulate_crash_cpu_context; \
crashpad::CaptureContext(&simulate_crash_cpu_context);
\
} while (false)
Captures the CPU context and simulates an exception without crashing.
static void DumpWithoutCrash(NativeCPUContext *context)
Requests that the handler capture a dump even though there hasn't been a crash.
Definition: crashpad_client_ios.cc:222