LLDB mainline
SBDefines.h
Go to the documentation of this file.
1//===-- SBDefines.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_API_SBDEFINES_H
10#define LLDB_API_SBDEFINES_H
11
12#include "lldb/lldb-defines.h"
14#include "lldb/lldb-forward.h"
15#include "lldb/lldb-types.h"
17
18#include <cstdio> // For FILE *
19
20#ifndef LLDB_API
21#if defined(_WIN32)
22#if defined(LLDB_IN_LIBLLDB)
23#define LLDB_API __declspec(dllexport)
24#else
25#define LLDB_API __declspec(dllimport)
26#endif
27#else // defined (_WIN32)
28#define LLDB_API
29#endif
30#endif
31
32// Don't add the deprecated attribute when generating the bindings or when
33// building for anything older than C++14 which is the first version that
34// supports the attribute.
35#if defined(SWIG) || _cplusplus < 201402L
36#undef LLDB_DEPRECATED
37#undef LLDB_DEPRECATED_FIXME
38#define LLDB_DEPRECATED(MSG)
39#define LLDB_DEPRECATED_FIXME(MSG, FIX)
40#endif
41
42// Forward Declarations
43namespace lldb {
44
134
135typedef bool (*SBBreakpointHitCallback)(void *baton, SBProcess &process,
136 SBThread &thread,
138
139typedef void (*SBDebuggerDestroyCallback)(lldb::user_id_t debugger_id,
140 void *baton);
141
142typedef SBError (*SBPlatformLocateModuleCallback)(
143 void *baton, const SBModuleSpec &module_spec, SBFileSpec &module_file_spec,
144 SBFileSpec &symbol_file_spec);
145}
146
147#endif // LLDB_API_SBDEFINES_H
#define LLDB_API
Definition: SBDefines.h:28
Class that represents a format string that can be used to generate descriptions of objects like frame...
Definition: SBFormat.h:28
The SBReproducer class is special because it bootstraps the capture and replay of SB API calls.
Definition: SBReproducer.h:42
This class handles the verbosity when dumping statistics.
Definition: SBAddress.h:15
uint64_t user_id_t
Definition: lldb-types.h:80
class LLDB_API SBEventList
Definition: SBDefines.h:68