LLDB  mainline
SBBreakpointOptionCommon.h
Go to the documentation of this file.
1 //===-- SBBreakpointOptionCommon.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_SBBreakpointOptionCommons_h_
10 #define LLDB_SBBreakpointOptionCommons_h_
11 
12 #include "lldb/API/SBDefines.h"
13 #include "lldb/Utility/Baton.h"
14 
15 namespace lldb
16 {
17 struct CallbackData {
20 };
21 
23 public:
25  void *baton);
26 
27  ~SBBreakpointCallbackBaton() override;
28 
29  static bool PrivateBreakpointHitCallback(void *baton,
31  lldb::user_id_t break_id,
32  lldb::user_id_t break_loc_id);
33 };
34 
35 } // namespace lldb
36 #endif // LLDB_SBBreakpointOptionCommons_h_
bool(* SBBreakpointHitCallback)(void *baton, SBProcess &process, SBThread &thread, lldb::SBBreakpointLocation &location)
Definition: SBDefines.h:96
uint64_t user_id_t
Definition: lldb-types.h:84
Definition: SBAddress.h:15
General Outline: When we hit a breakpoint we need to package up whatever information is needed to eva...
SBBreakpointHitCallback callback