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
12using namespace lldb_private;
13
15 StoppointCallbackContext &context) {
16 return false;
17}
18
21
24 error.SetErrorString("Base breakpoint precondition has no options.");
25 return error;
26}
static llvm::raw_ostream & error(Stream &strm)
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)
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.
DescriptionLevel
Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.