]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp
Merge ^/vendor/llvm-project/master until just before r356843.
[FreeBSD/FreeBSD.git] / contrib / llvm-project / lldb / source / Breakpoint / BreakpointPrecondition.cpp
1 //===-- BreakpointPrecondition.cpp ------------------------------*- C++ -*-===//
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 }