[NFC][Coroutines] Use structured binding with llvm::enumerate in CoroSplit (#116879)
[llvm-project.git] / lldb / tools / lldb-dap / InstructionBreakpoint.h
blobb2e66a9db9e200d9ddde6b7ec33402bbaf3d7991
1 //===-- InstructionBreakpoint.h --------------------------------------*- C++
2 //-*-===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_TOOLS_LLDB_DAP_INSTRUCTIONBREAKPOINT_H
11 #define LLDB_TOOLS_LLDB_DAP_INSTRUCTIONBREAKPOINT_H
13 #include "Breakpoint.h"
14 #include "DAPForward.h"
15 #include "lldb/lldb-types.h"
16 #include <cstdint>
18 namespace lldb_dap {
20 // Instruction Breakpoint
21 struct InstructionBreakpoint : public Breakpoint {
23 lldb::addr_t instructionAddressReference;
24 int32_t offset;
26 InstructionBreakpoint(DAP &d, const llvm::json::Object &obj);
28 // Set instruction breakpoint in LLDB as a new breakpoint
29 void SetBreakpoint();
32 } // namespace lldb_dap
34 #endif