| Index: util/mach/mach_extensions.h
|
| diff --git a/util/mach/mach_extensions.h b/util/mach/mach_extensions.h
|
| index 038904bf30767d953d31e0da94ef9421a0a239e2..b015937eca0e85339c5de0379f590c52405d3304 100644
|
| --- a/util/mach/mach_extensions.h
|
| +++ b/util/mach/mach_extensions.h
|
| @@ -67,6 +67,18 @@ const exception_type_t kMachExceptionSimulated = 'CPsx';
|
| //! thread continues to exist as a `pthread_t`.
|
| mach_port_t MachThreadSelf();
|
|
|
| +//! \brief The value for `EXC_MASK_ALL` appropriate for the operating system at
|
| +//! run time.
|
| +//!
|
| +//! The SDK’s definition of `EXC_MASK_ALL` has changed over time, with later
|
| +//! versions containing more bits set than earlier versions. However, older
|
| +//! kernels will reject exception masks that contain bits set that they don’t
|
| +//! recognize. Calling this function will return a value for `EXC_MASK_ALL`
|
| +//! appropriate for the system at run time.
|
| +//!
|
| +//! \note `EXC_MASK_ALL` does not include the value of `EXC_MASK_CRASH`.
|
| +exception_mask_t ExcMaskAll();
|
| +
|
| } // namespace crashpad
|
|
|
| #endif // CRASHPAD_UTIL_MACH_MACH_EXTENSIONS_H_
|
|
|