xref: /openbsd-src/gnu/llvm/lldb/source/Breakpoint/BreakpointPrecondition.cpp (revision dda2819751e49c83612958492e38917049128b41)
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 
EvaluatePrecondition(StoppointCallbackContext & context)14 bool BreakpointPrecondition::EvaluatePrecondition(
15     StoppointCallbackContext &context) {
16   return false;
17 }
18 
GetDescription(Stream & stream,lldb::DescriptionLevel level)19 void BreakpointPrecondition::GetDescription(Stream &stream,
20                                             lldb::DescriptionLevel level) {}
21 
ConfigurePrecondition(Args & args)22 Status BreakpointPrecondition::ConfigurePrecondition(Args &args) {
23   Status error;
24   error.SetErrorString("Base breakpoint precondition has no options.");
25   return error;
26 }
27