diff options
Diffstat (limited to 'tools/lldb-vscode/FunctionBreakpoint.cpp')
-rw-r--r-- | tools/lldb-vscode/FunctionBreakpoint.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/tools/lldb-vscode/FunctionBreakpoint.cpp b/tools/lldb-vscode/FunctionBreakpoint.cpp deleted file mode 100644 index f83333dc9895..000000000000 --- a/tools/lldb-vscode/FunctionBreakpoint.cpp +++ /dev/null @@ -1,28 +0,0 @@ -//===-- FunctionBreakpoint.cpp ----------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// - -#include "FunctionBreakpoint.h" -#include "VSCode.h" - -namespace lldb_vscode { - -FunctionBreakpoint::FunctionBreakpoint(const llvm::json::Object &obj) - : BreakpointBase(obj), functionName(GetString(obj, "name")) {} - -void FunctionBreakpoint::SetBreakpoint() { - if (functionName.empty()) - return; - bp = g_vsc.target.BreakpointCreateByName(functionName.c_str()); - if (!condition.empty()) - SetCondition(); - if (!hitCondition.empty()) - SetHitCondition(); -} - -} |