blob: ff4f34dba0778ae5ab0b33cd27e45c3d64d47953 [file] [log] [blame]
Greg Clayton2f5cf852018-08-16 17:59:38 +00001//===-- FunctionBreakpoint.h ------------------------------------*- C++ -*-===//
2//
3// The LLVM Compiler Infrastructure
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9
10#ifndef LLDBVSCODE_FUNCTIONBREAKPOINT_H_
11#define LLDBVSCODE_FUNCTIONBREAKPOINT_H_
12
13#include "BreakpointBase.h"
14
15namespace lldb_vscode {
16
17struct FunctionBreakpoint : public BreakpointBase {
18 std::string functionName;
19
20 FunctionBreakpoint() = default;
21 FunctionBreakpoint(const llvm::json::Object &obj);
22
23 // Set this breakpoint in LLDB as a new breakpoint
24 void SetBreakpoint();
25};
26
27} // namespace lldb_vscode
28
29#endif