LLDB mainline
lldb_private::Policy::Capabilities Struct Reference

What operations this thread is allowed to perform. More...

#include <Policy.h>

Public Attributes

bool can_evaluate_expressions = true
bool can_run_all_threads = true
 Whether expression evaluation may resume all threads to avoid deadlocks (e.g.
bool can_try_all_threads = true
 Whether the expression runner may fall back to running all threads after a single-thread attempt times out.
bool can_run_breakpoint_actions = true
bool can_load_frame_providers = true
bool can_run_frame_recognizers = true

Detailed Description

What operations this thread is allowed to perform.

Enforced at specific callsites, not by the policy itself.

Definition at line 41 of file Policy.h.

Member Data Documentation

◆ can_evaluate_expressions

bool lldb_private::Policy::Capabilities::can_evaluate_expressions = true

Definition at line 42 of file Policy.h.

◆ can_load_frame_providers

bool lldb_private::Policy::Capabilities::can_load_frame_providers = true

Definition at line 50 of file Policy.h.

Referenced by lldb_private::Policy::PrivateState().

◆ can_run_all_threads

bool lldb_private::Policy::Capabilities::can_run_all_threads = true

Whether expression evaluation may resume all threads to avoid deadlocks (e.g.

when a lock is held by another thread).

Definition at line 45 of file Policy.h.

◆ can_run_breakpoint_actions

bool lldb_private::Policy::Capabilities::can_run_breakpoint_actions = true

◆ can_run_frame_recognizers

bool lldb_private::Policy::Capabilities::can_run_frame_recognizers = true

Definition at line 51 of file Policy.h.

Referenced by lldb_private::Policy::PrivateState().

◆ can_try_all_threads

bool lldb_private::Policy::Capabilities::can_try_all_threads = true

Whether the expression runner may fall back to running all threads after a single-thread attempt times out.

Definition at line 48 of file Policy.h.


The documentation for this struct was generated from the following file: