Crashpad
|
#include "base/compiler_specific.h"
#include "base/logging.h"
#include "base/macros.h"
#include "build/build_config.h"
#include "util/misc/initialization_state.h"
Classes | |
class | crashpad::InitializationStateDcheck |
Tracks whether data are initialized, triggering a DCHECK assertion on an invalid data access. More... | |
Namespaces | |
crashpad | |
The main namespace. | |
Macros | |
#define | INITIALIZATION_STATE_SET_INITIALIZING(initialization_state_dcheck) |
Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kStateUninitialized state, and changes its state to initializing (crashpad::InitializationState::kStateInvalid). More... | |
#define | INITIALIZATION_STATE_SET_VALID(initialization_state_dcheck) |
Checks that a crashpad::InitializationStateDcheck object is in the initializing (crashpad::InitializationState::kStateInvalid) state, and changes its state to crashpad::InitializationState::kStateValid. More... | |
#define | INITIALIZATION_STATE_DCHECK_VALID(initialization_state_dcheck) |
Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kStateValid state. More... | |
#define INITIALIZATION_STATE_DCHECK_VALID | ( | initialization_state_dcheck | ) |
Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kStateValid state.
If the object is not in the correct state, a DCHECK assertion is triggered.
[in] | initialization_state_dcheck | A crashpad::InitializationStateDcheck object. |
#define INITIALIZATION_STATE_SET_INITIALIZING | ( | initialization_state_dcheck | ) |
Checks that a crashpad::InitializationStateDcheck object is in the crashpad::InitializationState::kStateUninitialized state, and changes its state to initializing (crashpad::InitializationState::kStateInvalid).
If the object is not in the correct state, a DCHECK assertion is triggered and the object’s state remains unchanged.
[in] | initialization_state_dcheck | A crashpad::InitializationStateDcheck object. |
#define INITIALIZATION_STATE_SET_VALID | ( | initialization_state_dcheck | ) |
Checks that a crashpad::InitializationStateDcheck object is in the initializing (crashpad::InitializationState::kStateInvalid) state, and changes its state to crashpad::InitializationState::kStateValid.
If the object is not in the correct state, a DCHECK assertion is triggered and the object’s state remains unchanged.
[in] | initialization_state_dcheck | A crashpad::InitializationStateDcheck object. |