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
14namespace lldb_private {
15
16class Args;
17class Status;
18class StoppointCallbackContext;
19class Stream;
20
21class BreakpointPrecondition {
22public:
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
31

source code of lldb/include/lldb/Breakpoint/BreakpointPrecondition.h