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
13
14namespace lldb_private {
15
16class Args;
17class Status;
18class StoppointCallbackContext;
19class Stream;
20
22public:
23 virtual ~BreakpointPrecondition() = default;
25 virtual Status ConfigurePrecondition(Args &args);
26 virtual void GetDescription(Stream &stream, lldb::DescriptionLevel level);
27};
28} // namespace lldb_private
29
30#endif
A command line argument class.
Definition: Args.h:33
virtual Status ConfigurePrecondition(Args &args)
virtual void GetDescription(Stream &stream, lldb::DescriptionLevel level)
virtual bool EvaluatePrecondition(StoppointCallbackContext &context)
virtual ~BreakpointPrecondition()=default
An error handling class.
Definition: Status.h:44
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
A stream class that can stream formatted output to a file.
Definition: Stream.h:28
A class that represents a running process on the host machine.
Definition: SBAttachInfo.h:14
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.