LLDB  mainline
BreakpointPrecondition.h
Go to the documentation of this file.
1 //===-- BreakpointPrecondition.h --------------------------------*- C++ -*-===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
8 
9 #ifndef LLDB_BREAKPOINT_BREAKPOINTPRECONDITION_H
10 #define LLDB_BREAKPOINT_BREAKPOINTPRECONDITION_H
11 
12 #include "lldb/lldb-enumerations.h"
13 
14 namespace lldb_private {
15 
16 class Args;
17 class Status;
18 class StoppointCallbackContext;
19 class Stream;
20 
22 public:
23  virtual ~BreakpointPrecondition() = default;
24  virtual bool EvaluatePrecondition(StoppointCallbackContext &context);
25  virtual Status ConfigurePrecondition(Args &args);
26  virtual void GetDescription(Stream &stream, lldb::DescriptionLevel level);
27 };
28 } // namespace lldb_private
29 
30 #endif
lldb_private::BreakpointPrecondition::EvaluatePrecondition
virtual bool EvaluatePrecondition(StoppointCallbackContext &context)
Definition: BreakpointPrecondition.cpp:14
lldb_private::StoppointCallbackContext
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
Definition: StoppointCallbackContext.h:26
lldb_private::BreakpointPrecondition::GetDescription
virtual void GetDescription(Stream &stream, lldb::DescriptionLevel level)
Definition: BreakpointPrecondition.cpp:19
lldb_private::Stream
Definition: Stream.h:28
lldb_private::Args
Definition: Args.h:33
lldb-enumerations.h
lldb_private::Status
Definition: Status.h:44
lldb_private::BreakpointPrecondition::~BreakpointPrecondition
virtual ~BreakpointPrecondition()=default
lldb_private::BreakpointPrecondition
Definition: BreakpointPrecondition.h:21
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::BreakpointPrecondition::ConfigurePrecondition
virtual Status ConfigurePrecondition(Args &args)
Definition: BreakpointPrecondition.cpp:22
lldb_private::LineStatus::Status
@ Status
lldb::DescriptionLevel
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
Definition: lldb-enumerations.h:207