LLDB  mainline
lldb-forward.h
Go to the documentation of this file.
1 //===-- lldb-forward.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_LLDB_FORWARD_H
10 #define LLDB_LLDB_FORWARD_H
11 
12 #if defined(__cplusplus)
13 
14 #include <memory>
15 
16 // lldb forward declarations
17 namespace lldb_private {
18 
19 class ABI;
20 class ASTResultSynthesizer;
21 class ASTStructExtractor;
22 class Address;
23 class AddressRange;
24 class AddressResolver;
25 class ArchSpec;
26 class Architecture;
27 class Args;
28 class ArmUnwindInfo;
29 class Baton;
30 class Block;
31 class Breakpoint;
32 class BreakpointID;
33 class BreakpointIDList;
34 class BreakpointList;
35 class BreakpointLocation;
36 class BreakpointLocationCollection;
37 class BreakpointLocationList;
38 class BreakpointName;
39 class BreakpointOptionGroup;
40 class BreakpointOptions;
41 class BreakpointPrecondition;
42 class BreakpointResolver;
43 class BreakpointSite;
44 class BreakpointSiteList;
45 class BroadcastEventSpec;
46 class Broadcaster;
47 class BroadcasterManager;
48 class CXXSyntheticChildren;
49 struct CacheSignature;
50 class CallFrameInfo;
51 class CommandInterpreter;
52 class CommandInterpreterRunOptions;
53 class CommandObject;
54 class CommandObjectMultiword;
55 class CommandReturnObject;
56 class Communication;
57 class CompactUnwindInfo;
58 class CompileUnit;
59 class CompilerDecl;
60 class CompilerDeclContext;
61 class CompilerType;
62 class Connection;
63 class ConnectionFileDescriptor;
64 class ConstString;
65 class ConstStringTable;
66 class DWARFCallFrameInfo;
67 class DWARFDataExtractor;
68 class DWARFExpression;
69 class DataBuffer;
70 class WritableDataBuffer;
71 class DataBufferHeap;
72 class DataEncoder;
73 class DataExtractor;
74 class DataFileCache;
75 class Debugger;
76 class Declaration;
77 class DiagnosticManager;
78 class Disassembler;
79 class DumpValueObjectOptions;
80 class DynamicCheckerFunctions;
81 class DynamicLoader;
82 class Editline;
83 class EmulateInstruction;
84 class Environment;
85 class EvaluateExpressionOptions;
86 class Event;
87 class EventData;
88 class EventDataStructuredData;
89 class ExecutionContext;
90 class ExecutionContextRef;
91 class ExecutionContextScope;
92 class Expression;
93 class ExpressionTypeSystemHelper;
94 class ExpressionVariable;
95 class ExpressionVariableList;
96 class File;
97 class FileSpec;
98 class FileSpecList;
99 class Flags;
100 class FormatManager;
101 class FormattersMatchCandidate;
102 class FuncUnwinders;
103 class Function;
104 class FunctionCaller;
105 class FunctionInfo;
106 class IOHandler;
107 class IOObject;
108 class IRExecutionUnit;
109 class InlineFunctionInfo;
110 class Instruction;
111 class InstructionList;
112 class InstrumentationRuntime;
113 class JITLoader;
114 class JITLoaderList;
115 class Language;
116 class LanguageCategory;
117 class LanguageRuntime;
118 class LineTable;
119 class Listener;
120 class Log;
121 class Mangled;
122 class Materializer;
123 class MemoryHistory;
124 class MemoryRegionInfo;
125 class MemoryRegionInfos;
126 class Module;
127 class ModuleList;
128 class ModuleSpec;
129 class ModuleSpecList;
130 class ObjectContainer;
131 class ObjectFile;
132 class ObjectFileJITDelegate;
133 class OperatingSystem;
134 class OptionGroup;
135 class OptionGroupOptions;
136 class OptionGroupPlatform;
137 class OptionValue;
138 class OptionValueArch;
139 class OptionValueArgs;
140 class OptionValueArray;
141 class OptionValueBoolean;
142 class OptionValueChar;
143 class OptionValueDictionary;
144 class OptionValueEnumeration;
145 class OptionValueFileSpec;
146 class OptionValueFileSpecList;
147 class OptionValueFormat;
148 class OptionValueFormatEntity;
149 class OptionValueLanguage;
150 class OptionValuePathMappings;
151 class OptionValueProperties;
152 class OptionValueRegex;
153 class OptionValueSInt64;
154 class OptionValueString;
155 class OptionValueUInt64;
156 class OptionValueUUID;
157 class Options;
158 class PathMappingList;
159 class PersistentExpressionState;
160 class Platform;
161 class Process;
162 class ProcessAttachInfo;
163 class ProcessInfo;
164 class ProcessInstanceInfo;
165 class ProcessInstanceInfoMatch;
166 class ProcessLaunchInfo;
167 class ProcessModID;
168 class Property;
169 class Queue;
170 class QueueImpl;
171 class QueueItem;
172 class REPL;
173 class RecognizedStackFrame;
174 class RegisterCheckpoint;
175 class RegisterContext;
176 class RegisterValue;
177 class RegularExpression;
178 class RichManglingContext;
179 class Scalar;
180 class ScriptInterpreter;
181 class ScriptInterpreterLocker;
182 class ScriptedProcessInterface;
183 class ScriptedThreadInterface;
184 class ScriptedSyntheticChildren;
185 class SearchFilter;
186 class Section;
187 class SectionList;
188 class SectionLoadHistory;
189 class SectionLoadList;
190 class Settings;
191 class SourceManager;
192 class SourceManagerImpl;
193 class StackFrame;
194 class StackFrameList;
195 class StackFrameRecognizer;
196 class StackFrameRecognizerManager;
197 class StackID;
198 class Status;
199 class StopInfo;
200 class Stoppoint;
201 class StoppointCallbackContext;
202 class Stream;
203 class StreamFile;
204 class StreamString;
205 class StringList;
206 class StringTableReader;
207 class StructuredDataImpl;
208 class StructuredDataPlugin;
209 class Symbol;
210 class SymbolContext;
211 class SymbolContextList;
212 class SymbolContextScope;
213 class SymbolContextSpecifier;
214 class SymbolFile;
215 class SymbolFileType;
216 class SymbolVendor;
217 class Symtab;
218 class SyntheticChildren;
219 class SyntheticChildrenFrontEnd;
220 class SystemRuntime;
221 class Target;
222 class TargetList;
223 class TargetProperties;
224 class Thread;
225 class ThreadCollection;
226 class ThreadList;
227 class ThreadPlan;
228 class ThreadPlanBase;
229 class ThreadPlanRunToAddress;
230 class ThreadPlanStepInstruction;
231 class ThreadPlanStepOut;
232 class ThreadPlanStepOverBreakpoint;
233 class ThreadPlanStepRange;
234 class ThreadPlanStepThrough;
235 class ThreadPlanTracer;
236 class ThreadSpec;
237 class ThreadPostMortemTrace;
238 class Trace;
239 class TraceCursor;
240 class TraceExporter;
241 class Type;
242 class TypeAndOrName;
243 class TypeCategoryImpl;
244 class TypeCategoryMap;
245 class TypeEnumMemberImpl;
246 class TypeEnumMemberListImpl;
247 class TypeFilterImpl;
248 class TypeFormatImpl;
249 class TypeImpl;
250 class TypeList;
251 class TypeListImpl;
252 class TypeMap;
253 class TypeMemberFunctionImpl;
254 class TypeMemberImpl;
255 class TypeNameSpecifierImpl;
256 class TypeSummaryImpl;
257 class TypeSummaryOptions;
258 class TypeSystem;
259 class UUID;
260 class UnixSignals;
261 class Unwind;
262 class UnwindAssembly;
263 class UnwindPlan;
264 class UnwindTable;
265 class UserExpression;
266 class UtilityFunction;
267 class VMRange;
268 class Value;
269 class ValueList;
270 class ValueObject;
271 class ValueObjectChild;
272 class ValueObjectConstResult;
273 class ValueObjectConstResultChild;
274 class ValueObjectConstResultImpl;
275 class ValueObjectList;
276 class ValueObjectPrinter;
277 class Variable;
278 class VariableList;
279 class Watchpoint;
280 class WatchpointList;
281 class WatchpointOptions;
282 struct CompilerContext;
283 struct LineEntry;
284 struct PropertyDefinition;
285 struct ScriptSummaryFormat;
286 struct StringSummaryFormat;
287 template <unsigned N> class StreamBuffer;
288 
289 } // namespace lldb_private
290 
291 // lldb forward declarations
292 namespace lldb {
293 
294 typedef std::shared_ptr<lldb_private::ABI> ABISP;
295 typedef std::shared_ptr<lldb_private::Baton> BatonSP;
296 typedef std::shared_ptr<lldb_private::Block> BlockSP;
297 typedef std::shared_ptr<lldb_private::Breakpoint> BreakpointSP;
298 typedef std::weak_ptr<lldb_private::Breakpoint> BreakpointWP;
299 typedef std::shared_ptr<lldb_private::BreakpointSite> BreakpointSiteSP;
300 typedef std::shared_ptr<lldb_private::BreakpointLocation> BreakpointLocationSP;
301 typedef std::weak_ptr<lldb_private::BreakpointLocation> BreakpointLocationWP;
302 typedef std::shared_ptr<lldb_private::BreakpointPrecondition>
303  BreakpointPreconditionSP;
304 typedef std::shared_ptr<lldb_private::BreakpointResolver> BreakpointResolverSP;
305 typedef std::shared_ptr<lldb_private::Broadcaster> BroadcasterSP;
306 typedef std::shared_ptr<lldb_private::BroadcasterManager> BroadcasterManagerSP;
307 typedef std::weak_ptr<lldb_private::BroadcasterManager> BroadcasterManagerWP;
308 typedef std::shared_ptr<lldb_private::UserExpression> UserExpressionSP;
309 typedef std::shared_ptr<lldb_private::CommandObject> CommandObjectSP;
310 typedef std::shared_ptr<lldb_private::Connection> ConnectionSP;
311 typedef std::shared_ptr<lldb_private::CompileUnit> CompUnitSP;
312 typedef std::shared_ptr<lldb_private::DataBuffer> DataBufferSP;
313 typedef std::shared_ptr<lldb_private::WritableDataBuffer> WritableDataBufferSP;
314 typedef std::shared_ptr<lldb_private::DataExtractor> DataExtractorSP;
315 typedef std::shared_ptr<lldb_private::Debugger> DebuggerSP;
316 typedef std::weak_ptr<lldb_private::Debugger> DebuggerWP;
317 typedef std::shared_ptr<lldb_private::Disassembler> DisassemblerSP;
318 typedef std::unique_ptr<lldb_private::DynamicCheckerFunctions>
319  DynamicCheckerFunctionsUP;
320 typedef std::unique_ptr<lldb_private::DynamicLoader> DynamicLoaderUP;
321 typedef std::shared_ptr<lldb_private::Event> EventSP;
322 typedef std::shared_ptr<lldb_private::EventData> EventDataSP;
323 typedef std::shared_ptr<lldb_private::EventDataStructuredData>
324  EventDataStructuredDataSP;
325 typedef std::shared_ptr<lldb_private::ExecutionContextRef>
326  ExecutionContextRefSP;
327 typedef std::shared_ptr<lldb_private::ExpressionVariable> ExpressionVariableSP;
328 typedef std::unique_ptr<lldb_private::File> FileUP;
329 typedef std::shared_ptr<lldb_private::File> FileSP;
330 typedef std::shared_ptr<lldb_private::Function> FunctionSP;
331 typedef std::shared_ptr<lldb_private::FuncUnwinders> FuncUnwindersSP;
332 typedef std::shared_ptr<lldb_private::InlineFunctionInfo> InlineFunctionInfoSP;
333 typedef std::shared_ptr<lldb_private::Instruction> InstructionSP;
334 typedef std::shared_ptr<lldb_private::InstrumentationRuntime>
335  InstrumentationRuntimeSP;
336 typedef std::shared_ptr<lldb_private::IOHandler> IOHandlerSP;
337 typedef std::shared_ptr<lldb_private::IOObject> IOObjectSP;
338 typedef std::shared_ptr<lldb_private::IRExecutionUnit> IRExecutionUnitSP;
339 typedef std::shared_ptr<lldb_private::JITLoader> JITLoaderSP;
340 typedef std::unique_ptr<lldb_private::JITLoaderList> JITLoaderListUP;
341 typedef std::shared_ptr<lldb_private::LanguageRuntime> LanguageRuntimeSP;
342 typedef std::unique_ptr<lldb_private::SystemRuntime> SystemRuntimeUP;
343 typedef std::shared_ptr<lldb_private::Listener> ListenerSP;
344 typedef std::weak_ptr<lldb_private::Listener> ListenerWP;
345 typedef std::shared_ptr<lldb_private::MemoryHistory> MemoryHistorySP;
346 typedef std::unique_ptr<lldb_private::MemoryRegionInfo> MemoryRegionInfoUP;
347 typedef std::shared_ptr<lldb_private::MemoryRegionInfo> MemoryRegionInfoSP;
348 typedef std::shared_ptr<lldb_private::Module> ModuleSP;
349 typedef std::weak_ptr<lldb_private::Module> ModuleWP;
350 typedef std::shared_ptr<lldb_private::ObjectFile> ObjectFileSP;
351 typedef std::shared_ptr<lldb_private::ObjectFileJITDelegate>
352  ObjectFileJITDelegateSP;
353 typedef std::weak_ptr<lldb_private::ObjectFileJITDelegate>
354  ObjectFileJITDelegateWP;
355 typedef std::unique_ptr<lldb_private::OperatingSystem> OperatingSystemUP;
356 typedef std::shared_ptr<lldb_private::OptionValue> OptionValueSP;
357 typedef std::weak_ptr<lldb_private::OptionValue> OptionValueWP;
358 typedef std::shared_ptr<lldb_private::OptionValueProperties>
359  OptionValuePropertiesSP;
360 typedef std::shared_ptr<lldb_private::Platform> PlatformSP;
361 typedef std::shared_ptr<lldb_private::Process> ProcessSP;
362 typedef std::shared_ptr<lldb_private::ProcessAttachInfo> ProcessAttachInfoSP;
363 typedef std::weak_ptr<lldb_private::Process> ProcessWP;
364 typedef std::shared_ptr<lldb_private::RegisterCheckpoint> RegisterCheckpointSP;
365 typedef std::shared_ptr<lldb_private::RegisterContext> RegisterContextSP;
366 typedef std::shared_ptr<lldb_private::RegularExpression> RegularExpressionSP;
367 typedef std::shared_ptr<lldb_private::Queue> QueueSP;
368 typedef std::weak_ptr<lldb_private::Queue> QueueWP;
369 typedef std::shared_ptr<lldb_private::QueueItem> QueueItemSP;
370 typedef std::shared_ptr<lldb_private::REPL> REPLSP;
371 typedef std::shared_ptr<lldb_private::RecognizedStackFrame>
372  RecognizedStackFrameSP;
373 typedef std::shared_ptr<lldb_private::ScriptSummaryFormat>
374  ScriptSummaryFormatSP;
375 typedef std::shared_ptr<lldb_private::ScriptInterpreter> ScriptInterpreterSP;
376 typedef std::unique_ptr<lldb_private::ScriptedProcessInterface>
377  ScriptedProcessInterfaceUP;
378 typedef std::shared_ptr<lldb_private::ScriptedThreadInterface>
379  ScriptedThreadInterfaceSP;
380 typedef std::shared_ptr<lldb_private::Section> SectionSP;
381 typedef std::unique_ptr<lldb_private::SectionList> SectionListUP;
382 typedef std::weak_ptr<lldb_private::Section> SectionWP;
383 typedef std::shared_ptr<lldb_private::SectionLoadList> SectionLoadListSP;
384 typedef std::shared_ptr<lldb_private::SearchFilter> SearchFilterSP;
385 typedef std::unique_ptr<lldb_private::SourceManager> SourceManagerUP;
386 typedef std::shared_ptr<lldb_private::StackFrame> StackFrameSP;
387 typedef std::weak_ptr<lldb_private::StackFrame> StackFrameWP;
388 typedef std::shared_ptr<lldb_private::StackFrameList> StackFrameListSP;
389 typedef std::shared_ptr<lldb_private::StackFrameRecognizer>
390  StackFrameRecognizerSP;
391 typedef std::unique_ptr<lldb_private::StackFrameRecognizerManager>
392  StackFrameRecognizerManagerUP;
393 typedef std::shared_ptr<lldb_private::StopInfo> StopInfoSP;
394 typedef std::shared_ptr<lldb_private::Stream> StreamSP;
395 typedef std::shared_ptr<lldb_private::StreamFile> StreamFileSP;
396 typedef std::shared_ptr<lldb_private::StringSummaryFormat>
397  StringTypeSummaryImplSP;
398 typedef std::unique_ptr<lldb_private::StructuredDataImpl> StructuredDataImplUP;
399 typedef std::shared_ptr<lldb_private::StructuredDataPlugin>
400  StructuredDataPluginSP;
401 typedef std::weak_ptr<lldb_private::StructuredDataPlugin>
402  StructuredDataPluginWP;
403 typedef std::shared_ptr<lldb_private::SymbolFileType> SymbolFileTypeSP;
404 typedef std::shared_ptr<lldb_private::SymbolContextSpecifier>
405  SymbolContextSpecifierSP;
406 typedef std::unique_ptr<lldb_private::SymbolVendor> SymbolVendorUP;
407 typedef std::shared_ptr<lldb_private::SyntheticChildren> SyntheticChildrenSP;
408 typedef std::shared_ptr<lldb_private::SyntheticChildrenFrontEnd>
409  SyntheticChildrenFrontEndSP;
410 typedef std::shared_ptr<lldb_private::Target> TargetSP;
411 typedef std::weak_ptr<lldb_private::Target> TargetWP;
412 typedef std::shared_ptr<lldb_private::Thread> ThreadSP;
413 typedef std::weak_ptr<lldb_private::Thread> ThreadWP;
414 typedef std::shared_ptr<lldb_private::ThreadCollection> ThreadCollectionSP;
415 typedef std::shared_ptr<lldb_private::ThreadPlan> ThreadPlanSP;
416 typedef std::shared_ptr<lldb_private::ThreadPostMortemTrace>
417  ThreadPostMortemTraceSP;
418 typedef std::weak_ptr<lldb_private::ThreadPlan> ThreadPlanWP;
419 typedef std::shared_ptr<lldb_private::ThreadPlanTracer> ThreadPlanTracerSP;
420 typedef std::shared_ptr<lldb_private::Trace> TraceSP;
421 typedef std::unique_ptr<lldb_private::TraceExporter> TraceExporterUP;
422 typedef std::unique_ptr<lldb_private::TraceCursor> TraceCursorUP;
423 typedef std::shared_ptr<lldb_private::Type> TypeSP;
424 typedef std::weak_ptr<lldb_private::Type> TypeWP;
425 typedef std::shared_ptr<lldb_private::TypeCategoryImpl> TypeCategoryImplSP;
426 typedef std::shared_ptr<lldb_private::TypeImpl> TypeImplSP;
427 typedef std::shared_ptr<lldb_private::TypeMemberFunctionImpl>
428  TypeMemberFunctionImplSP;
429 typedef std::shared_ptr<lldb_private::TypeEnumMemberImpl> TypeEnumMemberImplSP;
430 typedef std::shared_ptr<lldb_private::TypeFilterImpl> TypeFilterImplSP;
431 typedef std::shared_ptr<lldb_private::TypeSystem> TypeSystemSP;
432 typedef std::shared_ptr<lldb_private::TypeFormatImpl> TypeFormatImplSP;
433 typedef std::shared_ptr<lldb_private::TypeNameSpecifierImpl>
434  TypeNameSpecifierImplSP;
435 typedef std::shared_ptr<lldb_private::TypeSummaryImpl> TypeSummaryImplSP;
436 typedef std::shared_ptr<lldb_private::TypeSummaryOptions> TypeSummaryOptionsSP;
437 typedef std::shared_ptr<lldb_private::ScriptedSyntheticChildren>
438  ScriptedSyntheticChildrenSP;
439 typedef std::shared_ptr<lldb_private::UnixSignals> UnixSignalsSP;
440 typedef std::weak_ptr<lldb_private::UnixSignals> UnixSignalsWP;
441 typedef std::shared_ptr<lldb_private::UnwindAssembly> UnwindAssemblySP;
442 typedef std::shared_ptr<lldb_private::UnwindPlan> UnwindPlanSP;
443 typedef std::shared_ptr<lldb_private::ValueObject> ValueObjectSP;
444 typedef std::shared_ptr<lldb_private::Value> ValueSP;
445 typedef std::shared_ptr<lldb_private::Variable> VariableSP;
446 typedef std::shared_ptr<lldb_private::VariableList> VariableListSP;
447 typedef std::shared_ptr<lldb_private::ValueObjectList> ValueObjectListSP;
448 typedef std::shared_ptr<lldb_private::Watchpoint> WatchpointSP;
449 
450 } // namespace lldb
451 
452 #endif // #if defined(__cplusplus)
453 #endif // LLDB_LLDB_FORWARD_H
lldb_private::npdb::PdbSymUidKind::Type
@ Type
lldb_private::LLDBLog::JITLoader
@ JITLoader
lldb_private::POSIXLog::Trace
@ Trace
lldb_private::LLDBLog::Language
@ Language
lldb_private::CompilerContextKind::Module
@ Module
lldb_private::LLDBLog::Unwind
@ Unwind
lldb_private::LLDBLog::Connection
@ Connection
lldb_private::LLDBLog::Process
@ Process
lldb_private::LLDBLog::Thread
@ Thread
lldb_private::NameMatch::RegularExpression
@ RegularExpression
DataBuffer
lldb_private::LLDBLog::SystemRuntime
@ SystemRuntime
lldb_private::LLDBLog::Communication
@ Communication
lldb_private::LLDBLog::DynamicLoader
@ DynamicLoader
WritableDataBuffer
lldb_private::CompilerContextKind::Variable
@ Variable
lldb_private::LLDBLog::Platform
@ Platform
lldb_private
A class that represents a running process on the host machine.
Definition: SBCommandInterpreterRunOptions.h:16
lldb_private::LLDBLog::Target
@ Target
lldb_private::WindowsLog::Event
@ Event
lldb_private::LineStatus::Status
@ Status
lldb
Definition: SBAddress.h:15
lldb_private::CompilerContextKind::Function
@ Function