summaryrefslogtreecommitdiff
path: root/contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp
blob: 24a38f0767fe37042a8675c98e241ffee8a94ce1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
//===-- BreakpointPrecondition.cpp ----------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Breakpoint/BreakpointPrecondition.h"
#include "lldb/Utility/Status.h"

using namespace lldb_private;

bool BreakpointPrecondition::EvaluatePrecondition(
    StoppointCallbackContext &context) {
  return false;
}

void BreakpointPrecondition::GetDescription(Stream &stream,
                                            lldb::DescriptionLevel level) {}

Status BreakpointPrecondition::ConfigurePrecondition(Args &args) {
  Status error;
  error.SetErrorString("Base breakpoint precondition has no options.");
  return error;
}