[lldb][dwarf] Compute fully qualified names on simplified template names with DWARFT...
[llvm-project.git] / lldb / source / API / SBBreakpointOptionCommon.h
blob3296e26698ff87ea01ca1110b021f096a06b3588
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 //===----------------------------------------------------------------------===//
9 #ifndef LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
10 #define LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
12 #include "lldb/API/SBDefines.h"
13 #include "lldb/Utility/Baton.h"
15 namespace lldb
17 struct CallbackData {
18 SBBreakpointHitCallback callback;
19 void *callback_baton;
22 class SBBreakpointCallbackBaton : public lldb_private::TypedBaton<CallbackData> {
23 public:
24 SBBreakpointCallbackBaton(SBBreakpointHitCallback callback,
25 void *baton);
27 ~SBBreakpointCallbackBaton() override;
29 static bool PrivateBreakpointHitCallback(void *baton,
30 lldb_private::StoppointCallbackContext *ctx,
31 lldb::user_id_t break_id,
32 lldb::user_id_t break_loc_id);
35 } // namespace lldb
36 #endif // LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H