Greg Clayton | 2f5cf85 | 2018-08-16 17:59:38 +0000 | [diff] [blame] | 1 | //===-- 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 | |
| 15 | namespace lldb_vscode { |
| 16 | |
| 17 | struct 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 |