9#ifndef LLDB_TARGET_POLICY_H
10#define LLDB_TARGET_POLICY_H
12#include "llvm/ADT/SmallVector.h"
97 assert(!
m_stack.empty() &&
"can't pop the base policy");
Guard & operator=(const Guard &)=delete
Guard(const Guard &)=delete
void Dump(Stream &s) const
static PolicyStack & Get()
llvm::SmallVector< Policy > m_stack
A stream class that can stream formatted output to a file.
A class that represents a running process on the host machine.
What operations this thread is allowed to perform.
bool can_evaluate_expressions
bool can_load_frame_providers
bool can_run_all_threads
Whether expression evaluation may resume all threads to avoid deadlocks (e.g.
bool can_run_breakpoint_actions
bool can_run_frame_recognizers
bool can_try_all_threads
Whether the expression runner may fall back to running all threads after a single-thread attempt time...
Describes what view of the process a thread should see and what operations it is allowed to perform.
Capabilities capabilities
static Policy PublicStateRunningExpression()
View
What view of the process this thread sees.
@ Public
Provider-augmented frames, public state, public run lock.
@ Private
Parent (unwinder) frames, private state, private run lock.
void Dump(Stream &s) const
static Policy PrivateState()
static Policy PublicState()