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