LLDB
mainline
llvm-project
lldb
include
lldb
API
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
"
13
#include "
lldb/lldb-enumerations.h
"
14
#include "
lldb/lldb-forward.h
"
15
#include "
lldb/lldb-types.h
"
16
#include "
lldb/lldb-versioning.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
43
namespace
lldb
{
44
45
class
LLDB_API
SBAddress
;
46
class
LLDB_API
SBAddressRange
;
47
class
LLDB_API
SBAddressRangeList
;
48
class
LLDB_API
SBAttachInfo
;
49
class
LLDB_API
SBBlock
;
50
class
LLDB_API
SBBreakpoint
;
51
class
LLDB_API
SBBreakpointList
;
52
class
LLDB_API
SBBreakpointLocation
;
53
class
LLDB_API
SBBreakpointName
;
54
class
LLDB_API
SBBreakpointNameImpl
;
55
class
LLDB_API
SBBroadcaster
;
56
class
LLDB_API
SBCommand
;
57
class
LLDB_API
SBCommandInterpreter
;
58
class
LLDB_API
SBCommandInterpreterRunOptions
;
59
class
LLDB_API
SBCommandInterpreterRunResult
;
60
class
LLDB_API
SBCommandPluginInterface
;
61
class
LLDB_API
SBCommandReturnObject
;
62
class
LLDB_API
SBCommunication
;
63
class
LLDB_API
SBCompileUnit
;
64
class
LLDB_API
SBSaveCoreOptions
;
65
class
LLDB_API
SBData
;
66
class
LLDB_API
SBDebugger
;
67
class
LLDB_API
SBDeclaration
;
68
class
LLDB_API
SBEnvironment
;
69
class
LLDB_API
SBError
;
70
class
LLDB_API
SBEvent
;
71
class
LLDB_API
SBEventList
;
72
class
LLDB_API
SBExecutionContext
;
73
class
LLDB_API
SBExpressionOptions
;
74
class
LLDB_API
SBFile
;
75
class
LLDB_API
SBFileSpec
;
76
class
LLDB_API
SBFileSpecList
;
77
class
LLDB_API
SBFormat
;
78
class
LLDB_API
SBFrame
;
79
class
LLDB_API
SBFunction
;
80
class
LLDB_API
SBHostOS
;
81
class
LLDB_API
SBInstruction
;
82
class
LLDB_API
SBInstructionList
;
83
class
LLDB_API
SBLanguageRuntime
;
84
class
LLDB_API
SBLaunchInfo
;
85
class
LLDB_API
SBLineEntry
;
86
class
LLDB_API
SBListener
;
87
class
LLDB_API
SBMemoryRegionInfo
;
88
class
LLDB_API
SBMemoryRegionInfoList
;
89
class
LLDB_API
SBModule
;
90
class
LLDB_API
SBModuleSpec
;
91
class
LLDB_API
SBModuleSpecList
;
92
class
LLDB_API
SBPlatform
;
93
class
LLDB_API
SBPlatformConnectOptions
;
94
class
LLDB_API
SBPlatformShellCommand
;
95
class
LLDB_API
SBProcess
;
96
class
LLDB_API
SBProcessInfo
;
97
class
LLDB_API
SBProcessInfoList
;
98
class
LLDB_API
SBQueue
;
99
class
LLDB_API
SBQueueItem
;
100
class
LLDB_API
SBReplayOptions
;
101
class
LLDB_API
SBReproducer
;
102
class
LLDB_API
SBScriptObject
;
103
class
LLDB_API
SBSection
;
104
class
LLDB_API
SBSourceManager
;
105
class
LLDB_API
SBStatisticsOptions
;
106
class
LLDB_API
SBStream
;
107
class
LLDB_API
SBStringList
;
108
class
LLDB_API
SBStructuredData
;
109
class
LLDB_API
SBSymbol
;
110
class
LLDB_API
SBSymbolContext
;
111
class
LLDB_API
SBSymbolContextList
;
112
class
LLDB_API
SBTarget
;
113
class
LLDB_API
SBThread
;
114
class
LLDB_API
SBThreadCollection
;
115
class
LLDB_API
SBThreadPlan
;
116
class
LLDB_API
SBTrace
;
117
class
LLDB_API
SBTraceCursor
;
118
class
LLDB_API
SBType
;
119
class
LLDB_API
SBTypeCategory
;
120
class
LLDB_API
SBTypeEnumMember
;
121
class
LLDB_API
SBTypeEnumMemberList
;
122
class
LLDB_API
SBTypeFilter
;
123
class
LLDB_API
SBTypeFormat
;
124
class
LLDB_API
SBTypeMember
;
125
class
LLDB_API
SBTypeMemberFunction
;
126
class
LLDB_API
SBTypeNameSpecifier
;
127
class
LLDB_API
SBTypeSummary
;
128
class
LLDB_API
SBTypeSummaryOptions
;
129
class
LLDB_API
SBTypeSynthetic
;
130
class
LLDB_API
SBTypeList
;
131
class
LLDB_API
SBValue
;
132
class
LLDB_API
SBValueList
;
133
class
LLDB_API
SBVariablesOptions
;
134
class
LLDB_API
SBWatchpoint
;
135
class
LLDB_API
SBWatchpointOptions
;
136
class
LLDB_API
SBUnixSignals
;
137
138
typedef
bool (*SBBreakpointHitCallback)(
void
*baton,
lldb::SBProcess
&process,
139
lldb::SBThread
&thread,
140
lldb::SBBreakpointLocation
&location);
141
142
typedef
void (*SBDebuggerDestroyCallback)(
lldb::user_id_t
debugger_id,
143
void
*baton);
144
145
typedef
lldb::SBError
(*SBPlatformLocateModuleCallback)(
146
void
*baton,
const
lldb::SBModuleSpec
&module_spec,
147
lldb::SBFileSpec
&module_file_spec,
lldb::SBFileSpec
&symbol_file_spec);
148
}
149
150
#endif
// LLDB_API_SBDEFINES_H
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
lldb::SBAddressRangeList
Definition:
SBAddressRangeList.h:22
lldb::SBAddressRange
Definition:
SBAddressRange.h:20
lldb::SBAddress
Definition:
SBAddress.h:17
lldb::SBAttachInfo
Definition:
SBAttachInfo.h:22
lldb::SBBlock
Definition:
SBBlock.h:21
lldb::SBBreakpointList
Definition:
SBBreakpoint.h:173
lldb::SBBreakpointLocation
Definition:
SBBreakpointLocation.h:26
lldb::SBBreakpointNameImpl
Definition:
SBBreakpointName.cpp:35
lldb::SBBreakpointName
Definition:
SBBreakpointName.h:18
lldb::SBBreakpoint
Definition:
SBBreakpoint.h:25
lldb::SBBroadcaster
Definition:
SBBroadcaster.h:16
lldb::SBCommandInterpreterRunOptions
Definition:
SBCommandInterpreterRunOptions.h:23
lldb::SBCommandInterpreterRunResult
Definition:
SBCommandInterpreterRunOptions.h:94
lldb::SBCommandInterpreter
Definition:
SBCommandInterpreter.h:24
lldb::SBCommandPluginInterface
Definition:
SBCommandInterpreter.h:352
lldb::SBCommandReturnObject
Definition:
SBCommandReturnObject.h:28
lldb::SBCommand
Definition:
SBCommandInterpreter.h:362
lldb::SBCommunication
Definition:
SBCommunication.h:17
lldb::SBCompileUnit
Definition:
SBCompileUnit.h:17
lldb::SBData
Definition:
SBData.h:20
lldb::SBDebugger
Definition:
SBDebugger.h:43
lldb::SBDeclaration
Definition:
SBDeclaration.h:18
lldb::SBEnvironment
Definition:
SBEnvironment.h:16
lldb::SBError
Definition:
SBError.h:23
lldb::SBEvent
Definition:
SBEvent.h:28
lldb::SBExecutionContext
Definition:
SBExecutionContext.h:26
lldb::SBExpressionOptions
Definition:
SBExpressionOptions.h:19
lldb::SBFileSpecList
Definition:
SBFileSpecList.h:17
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb::SBFile
Definition:
SBFile.h:18
lldb::SBFormat
Class that represents a format string that can be used to generate descriptions of objects like frame...
Definition:
SBFormat.h:28
lldb::SBFrame
Definition:
SBFrame.h:26
lldb::SBFunction
Definition:
SBFunction.h:19
lldb::SBHostOS
Definition:
SBHostOS.h:17
lldb::SBInstructionList
Definition:
SBInstructionList.h:18
lldb::SBInstruction
Definition:
SBInstruction.h:24
lldb::SBLanguageRuntime
Definition:
SBLanguageRuntime.h:16
lldb::SBLaunchInfo
Definition:
SBLaunchInfo.h:24
lldb::SBLineEntry
Definition:
SBLineEntry.h:18
lldb::SBListener
Definition:
SBListener.h:16
lldb::SBMemoryRegionInfoList
Definition:
SBMemoryRegionInfoList.h:18
lldb::SBMemoryRegionInfo
Definition:
SBMemoryRegionInfo.h:17
lldb::SBModuleSpecList
Definition:
SBModuleSpec.h:101
lldb::SBModuleSpec
Definition:
SBModuleSpec.h:17
lldb::SBModule
Definition:
SBModule.h:20
lldb::SBPlatformConnectOptions
Definition:
SBPlatform.h:27
lldb::SBPlatformShellCommand
Definition:
SBPlatform.h:56
lldb::SBPlatform
Definition:
SBPlatform.h:97
lldb::SBProcessInfoList
Definition:
SBProcessInfoList.h:22
lldb::SBProcessInfo
Definition:
SBProcessInfo.h:16
lldb::SBProcess
Definition:
SBProcess.h:29
lldb::SBQueueItem
Definition:
SBQueueItem.h:21
lldb::SBQueue
Definition:
SBQueue.h:19
lldb::SBReplayOptions
Definition:
SBReproducer.h:23
lldb::SBReproducer
The SBReproducer class is special because it bootstraps the capture and replay of SB API calls.
Definition:
SBReproducer.h:42
lldb::SBSaveCoreOptions
Definition:
SBSaveCoreOptions.h:20
lldb::SBScriptObject
Definition:
SBScriptObject.h:20
lldb::SBSection
Definition:
SBSection.h:17
lldb::SBSourceManager
Definition:
SBSourceManager.h:18
lldb::SBStatisticsOptions
This class handles the verbosity when dumping statistics.
Definition:
SBStatisticsOptions.h:17
lldb::SBStream
Definition:
SBStream.h:22
lldb::SBStringList
Definition:
SBStringList.h:16
lldb::SBStructuredData
Definition:
SBStructuredData.h:27
lldb::SBSymbolContextList
Definition:
SBSymbolContextList.h:17
lldb::SBSymbolContext
Definition:
SBSymbolContext.h:28
lldb::SBSymbol
Definition:
SBSymbol.h:19
lldb::SBTarget
Definition:
SBTarget.h:37
lldb::SBThreadCollection
Definition:
SBThreadCollection.h:16
lldb::SBThreadPlan
Definition:
SBThreadPlan.h:24
lldb::SBThread
Definition:
SBThread.h:26
lldb::SBTraceCursor
Definition:
SBTraceCursor.h:18
lldb::SBTrace
Definition:
SBTrace.h:18
lldb::SBTypeCategory
Definition:
SBTypeCategory.h:17
lldb::SBTypeEnumMemberList
Definition:
SBTypeEnumMember.h:57
lldb::SBTypeEnumMember
Definition:
SBTypeEnumMember.h:17
lldb::SBTypeFilter
Definition:
SBTypeFilter.h:17
lldb::SBTypeFormat
Definition:
SBTypeFormat.h:17
lldb::SBTypeList
Definition:
SBType.h:290
lldb::SBTypeMemberFunction
Definition:
SBType.h:65
lldb::SBTypeMember
Definition:
SBType.h:24
lldb::SBTypeNameSpecifier
Definition:
SBTypeNameSpecifier.h:17
lldb::SBTypeSummaryOptions
Definition:
SBTypeSummary.h:22
lldb::SBTypeSummary
Definition:
SBTypeSummary.h:65
lldb::SBTypeSynthetic
Definition:
SBTypeSynthetic.h:17
lldb::SBType
Definition:
SBType.h:139
lldb::SBUnixSignals
Definition:
SBUnixSignals.h:17
lldb::SBValueList
Definition:
SBValueList.h:18
lldb::SBValue
Definition:
SBValue.h:27
lldb::SBVariablesOptions
Definition:
SBVariablesOptions.h:19
lldb::SBWatchpointOptions
Definition:
SBWatchpointOptions.h:18
lldb::SBWatchpoint
Definition:
SBWatchpoint.h:26
lldb-defines.h
lldb-enumerations.h
lldb-forward.h
lldb-types.h
lldb-versioning.h
lldb
Definition:
SBAddress.h:15
lldb::user_id_t
uint64_t user_id_t
Definition:
lldb-types.h:82
lldb::SBEventList
class LLDB_API SBEventList
Definition:
SBDefines.h:71
Generated on Wed Nov 20 2024 18:14:31 for LLDB by
1.9.6