| //===-- FunctionBreakpoint.h ------------------------------------*- 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 |
| //===----------------------------------------------------------------------===// |
| #ifndef LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H |
| #define LLDB_TOOLS_LLDB_DAP_FUNCTIONBREAKPOINT_H |
| #include "Protocol/ProtocolTypes.h" |
| class FunctionBreakpoint : public Breakpoint { |
| FunctionBreakpoint(DAP &dap, const protocol::FunctionBreakpoint &breakpoint); |
| /// Set this breakpoint in LLDB as a new breakpoint. |
| llvm::StringRef GetFunctionName() const { return m_function_name; } |
| std::string m_function_name; |