Files
clang-p2996/lldb/source/Breakpoint/BreakpointPrecondition.cpp
Alex Langford 7f9c9f2264 [Target] Decouple ObjCLanguageRuntime from LanguageRuntime
Summary:
ObjCLanguageRuntime was being pulled into LanguageRuntime because of
Breakpoint Preconditions. If we move BreakpointPrecondition out of Breakpoint,
we can extend the LanguageRuntime plugin interface so that LanguageRuntimes
can give us a BreakpointPrecondition for exceptions.

Differential Revision: https://reviews.llvm.org/D63181

llvm-svn: 364098
2019-06-21 19:43:07 +00:00

27 lines
909 B
C++

//===-- BreakpointPrecondition.cpp ------------------------------*- C++ -*-===//
//
// 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;
}