1//===-- FunctionBreakpoint.h ------------------------------------*- 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#ifndef LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H
10#define LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H
11
12#include "Breakpoint.h"
13
14namespace lldb_dap {
15
16struct FunctionBreakpoint : public Breakpoint {
17 std::string functionName;
18
19 FunctionBreakpoint() = default;
20 FunctionBreakpoint(const llvm::json::Object &obj);
21
22 // Set this breakpoint in LLDB as a new breakpoint
23 void SetBreakpoint();
24};
25
26} // namespace lldb_dap
27
28#endif
29

source code of lldb/tools/lldb-dap/FunctionBreakpoint.h