LLDB
mainline
llvm-project
lldb
source
Breakpoint
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
9
#include "
lldb/Breakpoint/BreakpointPrecondition.h
"
10
#include "
lldb/Utility/Status.h
"
11
12
using namespace
lldb_private
;
13
14
bool
BreakpointPrecondition::EvaluatePrecondition
(
15
StoppointCallbackContext
&context) {
16
return
false
;
17
}
18
19
void
BreakpointPrecondition::GetDescription
(
Stream
&stream,
20
lldb::DescriptionLevel
level) {}
21
22
Status
BreakpointPrecondition::ConfigurePrecondition
(
Args
&args) {
23
Status
error
;
24
error
.SetErrorString(
"Base breakpoint precondition has no options."
);
25
return
error
;
26
}
BreakpointPrecondition.h
error
static llvm::raw_ostream & error(Stream &strm)
Definition:
CommandReturnObject.cpp:17
Status.h
lldb_private::Args
A command line argument class.
Definition:
Args.h:33
lldb_private::BreakpointPrecondition::ConfigurePrecondition
virtual Status ConfigurePrecondition(Args &args)
Definition:
BreakpointPrecondition.cpp:22
lldb_private::BreakpointPrecondition::GetDescription
virtual void GetDescription(Stream &stream, lldb::DescriptionLevel level)
Definition:
BreakpointPrecondition.cpp:19
lldb_private::BreakpointPrecondition::EvaluatePrecondition
virtual bool EvaluatePrecondition(StoppointCallbackContext &context)
Definition:
BreakpointPrecondition.cpp:14
lldb_private::Status
An error handling class.
Definition:
Status.h:44
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::Stream
A stream class that can stream formatted output to a file.
Definition:
Stream.h:28
lldb_private
A class that represents a running process on the host machine.
Definition:
SBAddressRange.h:14
lldb::DescriptionLevel
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.
Definition:
lldb-enumerations.h:208
Generated on Tue Oct 15 2024 03:42:08 for LLDB by
1.9.6