LLDB  mainline
BreakpointPrecondition.cpp
Go to the documentation of this file.
1 //===-- BreakpointPrecondition.cpp ----------------------------------------===//
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 
10 #include "lldb/Utility/Status.h"
11 
12 using namespace lldb_private;
13 
15  StoppointCallbackContext &context) {
16  return false;
17 }
18 
20  lldb::DescriptionLevel level) {}
21 
23  Status error;
24  error.SetErrorString("Base breakpoint precondition has no options.");
25  return error;
26 }
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
BreakpointPrecondition.h
error
static llvm::raw_ostream & error(Stream &strm)
Definition: CommandReturnObject.cpp:17
lldb_private::Status
Definition: Status.h:44
Status.h
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::DescriptionLevel
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
Definition: lldb-enumerations.h:207