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
#define LLDB_DEPRECATED(MSG, FIX)
38
#endif
39
40
// Forward Declarations
41
namespace
lldb
{
42
43
class
LLDB_API
SBAddress
;
44
class
LLDB_API
SBBlock
;
45
class
LLDB_API
SBBreakpoint
;
46
class
LLDB_API
SBBreakpointLocation
;
47
class
LLDB_API
SBBreakpointName
;
48
class
LLDB_API
SBBreakpointNameImpl
;
49
class
LLDB_API
SBBroadcaster
;
50
class
LLDB_API
SBCommand
;
51
class
LLDB_API
SBCommandInterpreter
;
52
class
LLDB_API
SBCommandInterpreterRunOptions
;
53
class
LLDB_API
SBCommandInterpreterRunResult
;
54
class
LLDB_API
SBCommandPluginInterface
;
55
class
LLDB_API
SBCommandReturnObject
;
56
class
LLDB_API
SBCommunication
;
57
class
LLDB_API
SBCompileUnit
;
58
class
LLDB_API
SBData
;
59
class
LLDB_API
SBDebugger
;
60
class
LLDB_API
SBDeclaration
;
61
class
LLDB_API
SBEnvironment
;
62
class
LLDB_API
SBError
;
63
class
LLDB_API
SBEvent
;
64
class
LLDB_API
SBEventList
;
65
class
LLDB_API
SBExecutionContext
;
66
class
LLDB_API
SBExpressionOptions
;
67
class
LLDB_API
SBFile
;
68
class
LLDB_API
SBFileSpec
;
69
class
LLDB_API
SBFileSpecList
;
70
class
LLDB_API
SBFrame
;
71
class
LLDB_API
SBFunction
;
72
class
LLDB_API
SBHostOS
;
73
class
LLDB_API
SBInstruction
;
74
class
LLDB_API
SBInstructionList
;
75
class
LLDB_API
SBLanguageRuntime
;
76
class
LLDB_API
SBLaunchInfo
;
77
class
LLDB_API
SBLineEntry
;
78
class
LLDB_API
SBListener
;
79
class
LLDB_API
SBMemoryRegionInfo
;
80
class
LLDB_API
SBMemoryRegionInfoList
;
81
class
LLDB_API
SBModule
;
82
class
LLDB_API
SBModuleSpec
;
83
class
LLDB_API
SBModuleSpecList
;
84
class
LLDB_API
SBProcess
;
85
class
LLDB_API
SBProcessInfo
;
86
class
LLDB_API
SBQueue
;
87
class
LLDB_API
SBQueueItem
;
88
class
LLDB_API
SBSection
;
89
class
LLDB_API
SBSourceManager
;
90
class
LLDB_API
SBStream
;
91
class
LLDB_API
SBStringList
;
92
class
LLDB_API
SBStructuredData
;
93
class
LLDB_API
SBSymbol
;
94
class
LLDB_API
SBSymbolContext
;
95
class
LLDB_API
SBSymbolContextList
;
96
class
LLDB_API
SBTarget
;
97
class
LLDB_API
SBThread
;
98
class
LLDB_API
SBThreadCollection
;
99
class
LLDB_API
SBThreadPlan
;
100
class
LLDB_API
SBTrace
;
101
class
LLDB_API
SBTraceCursor
;
102
class
LLDB_API
SBType
;
103
class
LLDB_API
SBTypeCategory
;
104
class
LLDB_API
SBTypeEnumMember
;
105
class
LLDB_API
SBTypeEnumMemberList
;
106
class
LLDB_API
SBTypeFilter
;
107
class
LLDB_API
SBTypeFormat
;
108
class
LLDB_API
SBTypeMemberFunction
;
109
class
LLDB_API
SBTypeNameSpecifier
;
110
class
LLDB_API
SBTypeSummary
;
111
class
LLDB_API
SBTypeSummaryOptions
;
112
class
LLDB_API
SBTypeSynthetic
;
113
class
LLDB_API
SBTypeList
;
114
class
LLDB_API
SBValue
;
115
class
LLDB_API
SBValueList
;
116
class
LLDB_API
SBVariablesOptions
;
117
class
LLDB_API
SBWatchpoint
;
118
class
LLDB_API
SBUnixSignals
;
119
120
typedef
bool (*SBBreakpointHitCallback)(
void
*baton,
SBProcess
&process,
121
SBThread
&thread,
122
lldb::SBBreakpointLocation
&location);
123
124
typedef
void (*SBDebuggerDestroyCallback)(
lldb::user_id_t
debugger_id,
125
void
*baton);
126
127
typedef
void
*
ScriptedObject
;
128
}
129
130
#endif
// LLDB_API_SBDEFINES_H
LLDB_API
#define LLDB_API
Definition:
SBDefines.h:28
lldb::SBAddress
Definition:
SBAddress.h:17
lldb::SBBlock
Definition:
SBBlock.h:19
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:86
lldb::SBCommandInterpreter
Definition:
SBCommandInterpreter.h:23
lldb::SBCommandPluginInterface
Definition:
SBCommandInterpreter.h:336
lldb::SBCommandReturnObject
Definition:
SBCommandReturnObject.h:28
lldb::SBCommand
Definition:
SBCommandInterpreter.h:346
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:27
lldb::SBExecutionContext
Definition:
SBExecutionContext.h:26
lldb::SBExpressionOptions
Definition:
SBExpressionOptions.h:18
lldb::SBFileSpecList
Definition:
SBFileSpecList.h:17
lldb::SBFileSpec
Definition:
SBFileSpec.h:16
lldb::SBFile
Definition:
SBFile.h:18
lldb::SBFrame
Definition:
SBFrame.h:26
lldb::SBFunction
Definition:
SBFunction.h:18
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:90
lldb::SBModuleSpec
Definition:
SBModuleSpec.h:17
lldb::SBModule
Definition:
SBModule.h:20
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::SBSection
Definition:
SBSection.h:17
lldb::SBSourceManager
Definition:
SBSourceManager.h:18
lldb::SBStream
Definition:
SBStream.h:18
lldb::SBStringList
Definition:
SBStringList.h:16
lldb::SBStructuredData
Definition:
SBStructuredData.h:26
lldb::SBSymbolContextList
Definition:
SBSymbolContextList.h:17
lldb::SBSymbolContext
Definition:
SBSymbolContext.h:28
lldb::SBSymbol
Definition:
SBSymbol.h:19
lldb::SBTarget
Definition:
SBTarget.h:35
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:254
lldb::SBTypeMemberFunction
Definition:
SBType.h:65
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:110
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::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::ScriptedObject
void * ScriptedObject
Definition:
SBDefines.h:127
lldb::user_id_t
uint64_t user_id_t
Definition:
lldb-types.h:80
lldb::SBEventList
class LLDB_API SBEventList
Definition:
SBDefines.h:64
Generated on Sat Jun 3 2023 10:21:13 for LLDB by
1.9.6