mirror of
https://github.com/opnsense/src.git
synced 2026-06-14 19:20:18 -04:00
This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and
openmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, the
last commit before the upstream release/19.x branch was created.
PR: 280562
MFC after: 1 month
(cherry picked from commit 0fca6ea1d4)
36 lines
1.2 KiB
C++
36 lines
1.2 KiB
C++
//===-- SBBreakpointOptionCommon.h ------------------------------*- C++ -*-===//
|
|
//
|
|
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
// See https://llvm.org/LICENSE.txt for license information.
|
|
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#ifndef LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
|
|
#define LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
|
|
|
|
#include "lldb/API/SBDefines.h"
|
|
#include "lldb/Utility/Baton.h"
|
|
|
|
namespace lldb
|
|
{
|
|
struct CallbackData {
|
|
SBBreakpointHitCallback callback;
|
|
void *callback_baton;
|
|
};
|
|
|
|
class SBBreakpointCallbackBaton : public lldb_private::TypedBaton<CallbackData> {
|
|
public:
|
|
SBBreakpointCallbackBaton(SBBreakpointHitCallback callback,
|
|
void *baton);
|
|
|
|
~SBBreakpointCallbackBaton() override;
|
|
|
|
static bool PrivateBreakpointHitCallback(void *baton,
|
|
lldb_private::StoppointCallbackContext *ctx,
|
|
lldb::user_id_t break_id,
|
|
lldb::user_id_t break_loc_id);
|
|
};
|
|
|
|
} // namespace lldb
|
|
#endif // LLDB_SOURCE_API_SBBREAKPOINTOPTIONCOMMON_H
|