xref: /freebsd-src/contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
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 }
27