diff options
Diffstat (limited to 'contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp')
-rw-r--r-- | contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp b/contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp new file mode 100644 index 000000000000..24a38f0767fe --- /dev/null +++ b/contrib/llvm-project/lldb/source/Breakpoint/BreakpointPrecondition.cpp @@ -0,0 +1,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; +} |