LLDB  mainline
Classes | Typedefs | Enumerations | Functions | Variables
lldb Namespace Reference

Classes

struct  CallbackData
 
class  SBAddress
 
class  SBAttachInfo
 
class  SBBlock
 
class  SBBreakpoint
 
class  SBBreakpointCallbackBaton
 
class  SBBreakpointList
 
class  SBBreakpointLocation
 
class  SBBreakpointName
 
class  SBBreakpointNameImpl
 
class  SBBroadcaster
 
class  SBCommand
 
class  SBCommandInterpreter
 
class  SBCommandInterpreterRunOptions
 
class  SBCommandInterpreterRunResult
 
class  SBCommandPluginInterface
 
class  SBCommandReturnObject
 
class  SBCommunication
 
class  SBCompileUnit
 
class  SBData
 
class  SBDebugger
 
class  SBDeclaration
 
class  SBEnvironment
 
class  SBError
 
class  SBEvent
 
class  SBExecutionContext
 
class  SBExpressionOptions
 
class  SBFile
 
class  SBFileSpec
 
class  SBFileSpecList
 
class  SBFrame
 
class  SBFunction
 
class  SBHostOS
 
class  SBInputReader
 
class  SBInstruction
 
class  SBInstructionList
 
class  SBLanguageRuntime
 
class  SBLaunchInfo
 
class  SBLineEntry
 
class  SBListener
 
class  SBMemoryRegionInfo
 
class  SBMemoryRegionInfoList
 
class  SBModule
 
class  SBModuleSpec
 
class  SBModuleSpecList
 
class  SBPlatform
 
class  SBPlatformConnectOptions
 
class  SBPlatformShellCommand
 
class  SBProcess
 
class  SBProcessInfo
 
class  SBQueue
 
class  SBQueueItem
 
class  SBReplayOptions
 
class  SBReproducer
 The SBReproducer class is special because it bootstraps the capture and replay of SB API calls. More...
 
class  SBSection
 
class  SBSourceManager
 
class  SBStream
 
class  SBStringList
 
class  SBStructuredData
 
class  SBSymbol
 
class  SBSymbolContext
 
class  SBSymbolContextList
 
class  SBTarget
 
class  SBThread
 
class  SBThreadCollection
 
class  SBThreadPlan
 
class  SBTrace
 
class  SBTraceOptions
 
class  SBType
 
class  SBTypeCategory
 
class  SBTypeEnumMember
 
class  SBTypeEnumMemberList
 
class  SBTypeFilter
 
class  SBTypeFormat
 
class  SBTypeList
 
class  SBTypeMember
 
class  SBTypeMemberFunction
 
class  SBTypeNameSpecifier
 
class  SBTypeSummary
 
class  SBTypeSummaryOptions
 
class  SBTypeSynthetic
 
class  SBUnixSignals
 
class  SBValue
 
class  SBValueList
 
class  SBVariablesOptions
 
class  SBWatchpoint
 

Typedefs

typedef bool(* SBBreakpointHitCallback) (void *baton, SBProcess &process, SBThread &thread, lldb::SBBreakpointLocation &location)
 
typedef pthread_rwlock_t rwlock_t
 
typedef uint64_t process_t
 
typedef pthread_t thread_t
 
typedef int file_t
 
typedef int socket_t
 
typedef void * thread_arg_t
 
typedef void * thread_result_t
 
typedef void *(* thread_func_t) (void *)
 
typedef int pipe_t
 
typedef void(* LogOutputCallback) (const char *, void *baton)
 
typedef bool(* CommandOverrideCallback) (void *baton, const char **argv)
 
typedef bool(* CommandOverrideCallbackWithResult) (void *baton, const char **argv, lldb_private::CommandReturnObject &result)
 
typedef bool(* ExpressionCancelCallback) (ExpressionEvaluationPhase phase, void *baton)
 
typedef uint64_t addr_t
 
typedef uint64_t user_id_t
 
typedef uint64_t pid_t
 
typedef uint64_t tid_t
 
typedef uint64_t offset_t
 
typedef int32_t break_id_t
 
typedef int32_t watch_id_t
 
typedef void * opaque_compiler_type_t
 
typedef uint64_t queue_id_t
 

Enumerations

enum  StateType {
  eStateInvalid = 0, eStateUnloaded, eStateConnected, eStateAttaching,
  eStateLaunching, eStateStopped, eStateRunning, eStateStepping,
  eStateCrashed, eStateDetached, eStateExited, eStateSuspended,
  kLastStateType = eStateSuspended
}
 Process and Thread States. More...
 
enum  RunMode { eOnlyThisThread, eAllThreads, eOnlyDuringStepping }
 Thread Run Modes. More...
 
enum  ByteOrder { eByteOrderInvalid = 0, eByteOrderBig = 1, eByteOrderPDP = 2, eByteOrderLittle = 4 }
 Byte ordering definitions. More...
 
enum  Encoding {
  eEncodingInvalid = 0, eEncodingUint, eEncodingSint, eEncodingIEEE754,
  eEncodingVector
}
 Register encoding definitions. More...
 
enum  Format {
  eFormatDefault = 0, eFormatInvalid = 0, eFormatBoolean, eFormatBinary,
  eFormatBytes, eFormatBytesWithASCII, eFormatChar, eFormatCharPrintable,
  eFormatComplex, eFormatComplexFloat = eFormatComplex, eFormatCString, eFormatDecimal,
  eFormatEnum, eFormatHex, eFormatHexUppercase, eFormatFloat,
  eFormatOctal, eFormatOSType, eFormatUnicode16, eFormatUnicode32,
  eFormatUnsigned, eFormatPointer, eFormatVectorOfChar, eFormatVectorOfSInt8,
  eFormatVectorOfUInt8, eFormatVectorOfSInt16, eFormatVectorOfUInt16, eFormatVectorOfSInt32,
  eFormatVectorOfUInt32, eFormatVectorOfSInt64, eFormatVectorOfUInt64, eFormatVectorOfFloat16,
  eFormatVectorOfFloat32, eFormatVectorOfFloat64, eFormatVectorOfUInt128, eFormatComplexInteger,
  eFormatCharArray, eFormatAddressInfo, eFormatHexFloat, eFormatInstruction,
  eFormatVoid, eFormatUnicode8, kNumFormats
}
 Display format definitions. More...
 
enum  DescriptionLevel {
  eDescriptionLevelBrief = 0, eDescriptionLevelFull, eDescriptionLevelVerbose, eDescriptionLevelInitial,
  kNumDescriptionLevels
}
 Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls. More...
 
enum  ScriptLanguage {
  eScriptLanguageNone = 0, eScriptLanguagePython, eScriptLanguageLua, eScriptLanguageUnknown,
  eScriptLanguageDefault = eScriptLanguagePython
}
 Script interpreter types. More...
 
enum  RegisterKind {
  eRegisterKindEHFrame = 0, eRegisterKindDWARF, eRegisterKindGeneric, eRegisterKindProcessPlugin,
  eRegisterKindLLDB, kNumRegisterKinds
}
 Register numbering types. More...
 
enum  StopReason {
  eStopReasonInvalid = 0, eStopReasonNone, eStopReasonTrace, eStopReasonBreakpoint,
  eStopReasonWatchpoint, eStopReasonSignal, eStopReasonException, eStopReasonExec,
  eStopReasonPlanComplete, eStopReasonThreadExiting, eStopReasonInstrumentation, eStopReasonProcessorTrace,
  eStopReasonFork, eStopReasonVFork, eStopReasonVForkDone
}
 Thread stop reasons. More...
 
enum  ReturnStatus {
  eReturnStatusInvalid, eReturnStatusSuccessFinishNoResult, eReturnStatusSuccessFinishResult, eReturnStatusSuccessContinuingNoResult,
  eReturnStatusSuccessContinuingResult, eReturnStatusStarted, eReturnStatusFailed, eReturnStatusQuit
}
 Command Return Status Types. More...
 
enum  ExpressionResults {
  eExpressionCompleted = 0, eExpressionSetupError, eExpressionParseError, eExpressionDiscarded,
  eExpressionInterrupted, eExpressionHitBreakpoint, eExpressionTimedOut, eExpressionResultUnavailable,
  eExpressionStoppedForDebug, eExpressionThreadVanished
}
 The results of expression evaluation. More...
 
enum  SearchDepth {
  eSearchDepthInvalid = 0, eSearchDepthTarget, eSearchDepthModule, eSearchDepthCompUnit,
  eSearchDepthFunction, eSearchDepthBlock, eSearchDepthAddress, kLastSearchDepthKind = eSearchDepthAddress
}
 
enum  ConnectionStatus {
  eConnectionStatusSuccess, eConnectionStatusEndOfFile, eConnectionStatusError, eConnectionStatusTimedOut,
  eConnectionStatusNoConnection, eConnectionStatusLostConnection, eConnectionStatusInterrupted
}
 Connection Status Types. More...
 
enum  ErrorType {
  eErrorTypeInvalid, eErrorTypeGeneric, eErrorTypeMachKernel, eErrorTypePOSIX,
  eErrorTypeExpression, eErrorTypeWin32
}
 
enum  ValueType {
  eValueTypeInvalid = 0, eValueTypeVariableGlobal = 1, eValueTypeVariableStatic = 2, eValueTypeVariableArgument = 3,
  eValueTypeVariableLocal = 4, eValueTypeRegister = 5, eValueTypeRegisterSet = 6, eValueTypeConstResult = 7,
  eValueTypeVariableThreadLocal = 8
}
 
enum  InputReaderGranularity {
  eInputReaderGranularityInvalid = 0, eInputReaderGranularityByte, eInputReaderGranularityWord, eInputReaderGranularityLine,
  eInputReaderGranularityAll
}
 Token size/granularities for Input Readers. More...
 
enum  InputReaderAction {
  eInputReaderActivate, eInputReaderAsynchronousOutputWritten, eInputReaderReactivate, eInputReaderDeactivate,
  eInputReaderGotToken, eInputReaderInterrupt, eInputReaderEndOfFile, eInputReaderDone
}
 
enum  LanguageType {
  eLanguageTypeUnknown = 0x0000, eLanguageTypeC89 = 0x0001, eLanguageTypeC = 0x0002, eLanguageTypeAda83 = 0x0003,
  eLanguageTypeC_plus_plus = 0x0004, eLanguageTypeCobol74 = 0x0005, eLanguageTypeCobol85 = 0x0006, eLanguageTypeFortran77 = 0x0007,
  eLanguageTypeFortran90 = 0x0008, eLanguageTypePascal83 = 0x0009, eLanguageTypeModula2 = 0x000a, eLanguageTypeJava = 0x000b,
  eLanguageTypeC99 = 0x000c, eLanguageTypeAda95 = 0x000d, eLanguageTypeFortran95 = 0x000e, eLanguageTypePLI = 0x000f,
  eLanguageTypeObjC = 0x0010, eLanguageTypeObjC_plus_plus = 0x0011, eLanguageTypeUPC = 0x0012, eLanguageTypeD = 0x0013,
  eLanguageTypePython = 0x0014, eLanguageTypeOpenCL = 0x0015, eLanguageTypeGo = 0x0016, eLanguageTypeModula3 = 0x0017,
  eLanguageTypeHaskell = 0x0018, eLanguageTypeC_plus_plus_03 = 0x0019, eLanguageTypeC_plus_plus_11 = 0x001a, eLanguageTypeOCaml = 0x001b,
  eLanguageTypeRust = 0x001c, eLanguageTypeC11 = 0x001d, eLanguageTypeSwift = 0x001e, eLanguageTypeJulia = 0x001f,
  eLanguageTypeDylan = 0x0020, eLanguageTypeC_plus_plus_14 = 0x0021, eLanguageTypeFortran03 = 0x0022, eLanguageTypeFortran08 = 0x0023,
  eLanguageTypeMipsAssembler = 0x0024, eLanguageTypeExtRenderScript = 0x0025, eNumLanguageTypes
}
 Programming language type. More...
 
enum  InstrumentationRuntimeType {
  eInstrumentationRuntimeTypeAddressSanitizer = 0x0000, eInstrumentationRuntimeTypeThreadSanitizer = 0x0001, eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer = 0x0002, eInstrumentationRuntimeTypeMainThreadChecker = 0x0003,
  eInstrumentationRuntimeTypeSwiftRuntimeReporting = 0x0004, eNumInstrumentationRuntimeTypes
}
 
enum  DynamicValueType { eNoDynamicValues = 0, eDynamicCanRunTarget = 1, eDynamicDontRunTarget = 2 }
 
enum  StopShowColumn { eStopShowColumnAnsiOrCaret = 0, eStopShowColumnAnsi = 1, eStopShowColumnCaret = 2, eStopShowColumnNone = 3 }
 
enum  AccessType {
  eAccessNone, eAccessPublic, eAccessPrivate, eAccessProtected,
  eAccessPackage
}
 
enum  CommandArgumentType {
  eArgTypeAddress = 0, eArgTypeAddressOrExpression, eArgTypeAliasName, eArgTypeAliasOptions,
  eArgTypeArchitecture, eArgTypeBoolean, eArgTypeBreakpointID, eArgTypeBreakpointIDRange,
  eArgTypeBreakpointName, eArgTypeByteSize, eArgTypeClassName, eArgTypeCommandName,
  eArgTypeCount, eArgTypeDescriptionVerbosity, eArgTypeDirectoryName, eArgTypeDisassemblyFlavor,
  eArgTypeEndAddress, eArgTypeExpression, eArgTypeExpressionPath, eArgTypeExprFormat,
  eArgTypeFileLineColumn, eArgTypeFilename, eArgTypeFormat, eArgTypeFrameIndex,
  eArgTypeFullName, eArgTypeFunctionName, eArgTypeFunctionOrSymbol, eArgTypeGDBFormat,
  eArgTypeHelpText, eArgTypeIndex, eArgTypeLanguage, eArgTypeLineNum,
  eArgTypeLogCategory, eArgTypeLogChannel, eArgTypeMethod, eArgTypeName,
  eArgTypeNewPathPrefix, eArgTypeNumLines, eArgTypeNumberPerLine, eArgTypeOffset,
  eArgTypeOldPathPrefix, eArgTypeOneLiner, eArgTypePath, eArgTypePermissionsNumber,
  eArgTypePermissionsString, eArgTypePid, eArgTypePlugin, eArgTypeProcessName,
  eArgTypePythonClass, eArgTypePythonFunction, eArgTypePythonScript, eArgTypeQueueName,
  eArgTypeRegisterName, eArgTypeRegularExpression, eArgTypeRunArgs, eArgTypeRunMode,
  eArgTypeScriptedCommandSynchronicity, eArgTypeScriptLang, eArgTypeSearchWord, eArgTypeSelector,
  eArgTypeSettingIndex, eArgTypeSettingKey, eArgTypeSettingPrefix, eArgTypeSettingVariableName,
  eArgTypeShlibName, eArgTypeSourceFile, eArgTypeSortOrder, eArgTypeStartAddress,
  eArgTypeSummaryString, eArgTypeSymbol, eArgTypeThreadID, eArgTypeThreadIndex,
  eArgTypeThreadName, eArgTypeTypeName, eArgTypeUnsignedInteger, eArgTypeUnixSignal,
  eArgTypeVarName, eArgTypeValue, eArgTypeWidth, eArgTypeNone,
  eArgTypePlatform, eArgTypeWatchpointID, eArgTypeWatchpointIDRange, eArgTypeWatchType,
  eArgRawInput, eArgTypeCommand, eArgTypeColumnNum, eArgTypeModuleUUID,
  eArgTypeLastArg
}
 
enum  SymbolType {
  eSymbolTypeAny = 0, eSymbolTypeInvalid = 0, eSymbolTypeAbsolute, eSymbolTypeCode,
  eSymbolTypeResolver, eSymbolTypeData, eSymbolTypeTrampoline, eSymbolTypeRuntime,
  eSymbolTypeException, eSymbolTypeSourceFile, eSymbolTypeHeaderFile, eSymbolTypeObjectFile,
  eSymbolTypeCommonBlock, eSymbolTypeBlock, eSymbolTypeLocal, eSymbolTypeParam,
  eSymbolTypeVariable, eSymbolTypeVariableType, eSymbolTypeLineEntry, eSymbolTypeLineHeader,
  eSymbolTypeScopeBegin, eSymbolTypeScopeEnd, eSymbolTypeAdditional, eSymbolTypeCompiler,
  eSymbolTypeInstrumentation, eSymbolTypeUndefined, eSymbolTypeObjCClass, eSymbolTypeObjCMetaClass,
  eSymbolTypeObjCIVar, eSymbolTypeReExported
}
 Symbol types. More...
 
enum  SectionType {
  eSectionTypeInvalid, eSectionTypeCode, eSectionTypeContainer, eSectionTypeData,
  eSectionTypeDataCString, eSectionTypeDataCStringPointers, eSectionTypeDataSymbolAddress, eSectionTypeData4,
  eSectionTypeData8, eSectionTypeData16, eSectionTypeDataPointers, eSectionTypeDebug,
  eSectionTypeZeroFill, eSectionTypeDataObjCMessageRefs, eSectionTypeDataObjCCFStrings, eSectionTypeDWARFDebugAbbrev,
  eSectionTypeDWARFDebugAddr, eSectionTypeDWARFDebugAranges, eSectionTypeDWARFDebugCuIndex, eSectionTypeDWARFDebugFrame,
  eSectionTypeDWARFDebugInfo, eSectionTypeDWARFDebugLine, eSectionTypeDWARFDebugLoc, eSectionTypeDWARFDebugMacInfo,
  eSectionTypeDWARFDebugMacro, eSectionTypeDWARFDebugPubNames, eSectionTypeDWARFDebugPubTypes, eSectionTypeDWARFDebugRanges,
  eSectionTypeDWARFDebugStr, eSectionTypeDWARFDebugStrOffsets, eSectionTypeDWARFAppleNames, eSectionTypeDWARFAppleTypes,
  eSectionTypeDWARFAppleNamespaces, eSectionTypeDWARFAppleObjC, eSectionTypeELFSymbolTable, eSectionTypeELFDynamicSymbols,
  eSectionTypeELFRelocationEntries, eSectionTypeELFDynamicLinkInfo, eSectionTypeEHFrame, eSectionTypeARMexidx,
  eSectionTypeARMextab, eSectionTypeCompactUnwind, eSectionTypeGoSymtab, eSectionTypeAbsoluteAddress,
  eSectionTypeDWARFGNUDebugAltLink, eSectionTypeDWARFDebugTypes, eSectionTypeDWARFDebugNames, eSectionTypeOther,
  eSectionTypeDWARFDebugLineStr, eSectionTypeDWARFDebugRngLists, eSectionTypeDWARFDebugLocLists, eSectionTypeDWARFDebugAbbrevDwo,
  eSectionTypeDWARFDebugInfoDwo, eSectionTypeDWARFDebugStrDwo, eSectionTypeDWARFDebugStrOffsetsDwo, eSectionTypeDWARFDebugTypesDwo,
  eSectionTypeDWARFDebugRngListsDwo, eSectionTypeDWARFDebugLocDwo, eSectionTypeDWARFDebugLocListsDwo, eSectionTypeDWARFDebugTuIndex
}
 
enum  BasicType {
  eBasicTypeInvalid = 0, eBasicTypeVoid = 1, eBasicTypeChar, eBasicTypeSignedChar,
  eBasicTypeUnsignedChar, eBasicTypeWChar, eBasicTypeSignedWChar, eBasicTypeUnsignedWChar,
  eBasicTypeChar16, eBasicTypeChar32, eBasicTypeShort, eBasicTypeUnsignedShort,
  eBasicTypeInt, eBasicTypeUnsignedInt, eBasicTypeLong, eBasicTypeUnsignedLong,
  eBasicTypeLongLong, eBasicTypeUnsignedLongLong, eBasicTypeInt128, eBasicTypeUnsignedInt128,
  eBasicTypeBool, eBasicTypeHalf, eBasicTypeFloat, eBasicTypeDouble,
  eBasicTypeLongDouble, eBasicTypeFloatComplex, eBasicTypeDoubleComplex, eBasicTypeLongDoubleComplex,
  eBasicTypeObjCID, eBasicTypeObjCClass, eBasicTypeObjCSel, eBasicTypeNullPtr,
  eBasicTypeOther
}
 Basic types enumeration for the public API SBType::GetBasicType(). More...
 
enum  TraceType { eTraceTypeNone = 0, eTraceTypeProcessorTrace }
 Deprecated. More...
 
enum  StructuredDataType {
  eStructuredDataTypeInvalid = -1, eStructuredDataTypeNull = 0, eStructuredDataTypeGeneric, eStructuredDataTypeArray,
  eStructuredDataTypeInteger, eStructuredDataTypeFloat, eStructuredDataTypeBoolean, eStructuredDataTypeString,
  eStructuredDataTypeDictionary
}
 
enum  TemplateArgumentKind {
  eTemplateArgumentKindNull = 0, eTemplateArgumentKindType, eTemplateArgumentKindDeclaration, eTemplateArgumentKindIntegral,
  eTemplateArgumentKindTemplate, eTemplateArgumentKindTemplateExpansion, eTemplateArgumentKindExpression, eTemplateArgumentKindPack,
  eTemplateArgumentKindNullPtr
}
 
enum  FrameComparison {
  eFrameCompareInvalid, eFrameCompareUnknown, eFrameCompareEqual, eFrameCompareSameParent,
  eFrameCompareYounger, eFrameCompareOlder
}
 This is the return value for frame comparisons. More...
 
enum  QueueItemKind { eQueueItemKindUnknown = 0, eQueueItemKindFunction, eQueueItemKindBlock }
 Queue work item types. More...
 
enum  QueueKind { eQueueKindUnknown = 0, eQueueKindSerial, eQueueKindConcurrent }
 Queue type. More...
 
enum  ExpressionEvaluationPhase { eExpressionEvaluationParse = 0, eExpressionEvaluationIRGen, eExpressionEvaluationExecution, eExpressionEvaluationComplete }
 Expression Evaluation Stages. More...
 
enum  GdbSignal {
  eGdbSignalBadAccess = 0x91, eGdbSignalBadInstruction = 0x92, eGdbSignalArithmetic = 0x93, eGdbSignalEmulation = 0x94,
  eGdbSignalSoftware = 0x95, eGdbSignalBreakpoint = 0x96
}
 
enum  PathType {
  ePathTypeLLDBShlibDir, ePathTypeSupportExecutableDir, ePathTypeHeaderDir, ePathTypePythonDir,
  ePathTypeLLDBSystemPlugins, ePathTypeLLDBUserPlugins, ePathTypeLLDBTempSystemDir, ePathTypeGlobalLLDBTempSystemDir,
  ePathTypeClangDir
}
 Used with SBHostOS::GetLLDBPath (lldb::PathType) to find files that are related to LLDB on the current host machine. More...
 
enum  MemberFunctionKind {
  eMemberFunctionKindUnknown = 0, eMemberFunctionKindConstructor, eMemberFunctionKindDestructor, eMemberFunctionKindInstanceMethod,
  eMemberFunctionKindStaticMethod
}
 Kind of member function. More...
 
enum  MatchType { eMatchTypeNormal, eMatchTypeRegex, eMatchTypeStartsWith }
 String matching algorithm used by SBTarget. More...
 
enum  TypeSummaryCapping { eTypeSummaryCapped = true, eTypeSummaryUncapped = false }
 Whether a summary should cap how much data it returns to users or not. More...
 
enum  CommandInterpreterResult { eCommandInterpreterResultSuccess, eCommandInterpreterResultInferiorCrash, eCommandInterpreterResultCommandError, eCommandInterpreterResultQuitRequested }
 The result from a command interpreter run. More...
 

Functions

bool LLDB_API operator== (const SBAddress &lhs, const SBAddress &rhs)
 
 FLAGS_ENUM (LaunchFlags)
 Launch Flags. More...
 
 FLAGS_ENUM (SymbolContextItem)
 These mask bits allow a common interface for queries that can limit the amount of information that gets parsed to only the information that is requested. More...
 
 FLAGS_ENUM (Permissions)
 
 FLAGS_ENUM (BreakpointEventType)
 
 FLAGS_ENUM (WatchpointEventType)
 
 FLAGS_ENUM (EmulateInstructionOptions)
 
 FLAGS_ENUM (FunctionNameType)
 
 FLAGS_ENUM (TypeClass)
 
 FLAGS_ENUM (TypeOptions)
 Options that can be set for a formatter to alter its behavior. More...
 
 FLAGS_ENUM (FilePermissions)
 File Permissions. More...
 
 FLAGS_ENUM (WatchpointKind)
 Watchpoint Kind. More...
 
 FLAGS_ENUM (TypeFlags)
 Bitmask that describes details about a type. More...
 
 FLAGS_ENUM (CommandFlags)
 
void DumpProcessGDBRemotePacketHistory (void *p, const char *path)
 

Variables

class LLDB_API SBAddress
 
class LLDB_API SBBlock
 
class LLDB_API SBBreakpoint
 
class LLDB_API SBBreakpointLocation
 
class LLDB_API SBBreakpointName
 
class LLDB_API SBBreakpointNameImpl
 
class LLDB_API SBBroadcaster
 
class LLDB_API SBCommand
 
class LLDB_API SBCommandInterpreter
 
class LLDB_API SBCommandInterpreterRunOptions
 
class LLDB_API SBCommandInterpreterRunResult
 
class LLDB_API SBCommandPluginInterface
 
class LLDB_API SBCommandReturnObject
 
class LLDB_API SBCommunication
 
class LLDB_API SBCompileUnit
 
class LLDB_API SBData
 
class LLDB_API SBDebugger
 
class LLDB_API SBDeclaration
 
class LLDB_API SBEnvironment
 
class LLDB_API SBError
 
class LLDB_API SBEvent
 
class LLDB_API SBEventList
 
class LLDB_API SBExecutionContext
 
class LLDB_API SBExpressionOptions
 
class LLDB_API SBFile
 
class LLDB_API SBFileSpec
 
class LLDB_API SBFileSpecList
 
class LLDB_API SBFrame
 
class LLDB_API SBFunction
 
class LLDB_API SBHostOS
 
class LLDB_API SBInstruction
 
class LLDB_API SBInstructionList
 
class LLDB_API SBLanguageRuntime
 
class LLDB_API SBLaunchInfo
 
class LLDB_API SBLineEntry
 
class LLDB_API SBListener
 
class LLDB_API SBMemoryRegionInfo
 
class LLDB_API SBMemoryRegionInfoList
 
class LLDB_API SBModule
 
class LLDB_API SBModuleSpec
 
class LLDB_API SBModuleSpecList
 
class LLDB_API SBProcess
 
class LLDB_API SBProcessInfo
 
class LLDB_API SBQueue
 
class LLDB_API SBQueueItem
 
class LLDB_API SBSection
 
class LLDB_API SBSourceManager
 
class LLDB_API SBStream
 
class LLDB_API SBStringList
 
class LLDB_API SBStructuredData
 
class LLDB_API SBSymbol
 
class LLDB_API SBSymbolContext
 
class LLDB_API SBSymbolContextList
 
class LLDB_API SBTarget
 
class LLDB_API SBThread
 
class LLDB_API SBThreadCollection
 
class LLDB_API SBThreadPlan
 
class LLDB_API SBTrace
 
class LLDB_API SBTraceOptions
 
class LLDB_API SBType
 
class LLDB_API SBTypeCategory
 
class LLDB_API SBTypeEnumMember
 
class LLDB_API SBTypeEnumMemberList
 
class LLDB_API SBTypeFilter
 
class LLDB_API SBTypeFormat
 
class LLDB_API SBTypeMemberFunction
 
class LLDB_API SBTypeNameSpecifier
 
class LLDB_API SBTypeSummary
 
class LLDB_API SBTypeSummaryOptions
 
class LLDB_API SBTypeSynthetic
 
class LLDB_API SBTypeList
 
class LLDB_API SBValue
 
class LLDB_API SBValueList
 
class LLDB_API SBVariablesOptions
 
class LLDB_API SBWatchpoint
 
class LLDB_API SBUnixSignals
 

Typedef Documentation

◆ addr_t

typedef uint64_t lldb::addr_t

Definition at line 83 of file lldb-types.h.

◆ break_id_t

typedef int32_t lldb::break_id_t

Definition at line 88 of file lldb-types.h.

◆ CommandOverrideCallback

typedef bool(* lldb::CommandOverrideCallback) (void *baton, const char **argv)

Definition at line 71 of file lldb-types.h.

◆ CommandOverrideCallbackWithResult

typedef bool(* lldb::CommandOverrideCallbackWithResult) (void *baton, const char **argv, lldb_private::CommandReturnObject &result)

Definition at line 72 of file lldb-types.h.

◆ ExpressionCancelCallback

typedef bool(* lldb::ExpressionCancelCallback) (ExpressionEvaluationPhase phase, void *baton)

Definition at line 74 of file lldb-types.h.

◆ file_t

typedef int lldb::file_t

Definition at line 59 of file lldb-types.h.

◆ LogOutputCallback

typedef void(* lldb::LogOutputCallback) (const char *, void *baton)

Definition at line 70 of file lldb-types.h.

◆ offset_t

typedef uint64_t lldb::offset_t

Definition at line 87 of file lldb-types.h.

◆ opaque_compiler_type_t

Definition at line 90 of file lldb-types.h.

◆ pid_t

typedef uint64_t lldb::pid_t

Definition at line 85 of file lldb-types.h.

◆ pipe_t

typedef int lldb::pipe_t

Definition at line 64 of file lldb-types.h.

◆ process_t

typedef uint64_t lldb::process_t

Definition at line 57 of file lldb-types.h.

◆ queue_id_t

typedef uint64_t lldb::queue_id_t

Definition at line 91 of file lldb-types.h.

◆ rwlock_t

typedef pthread_rwlock_t lldb::rwlock_t

Definition at line 56 of file lldb-types.h.

◆ SBBreakpointHitCallback

typedef bool(* lldb::SBBreakpointHitCallback) (void *baton, SBProcess &process, SBThread &thread, lldb::SBBreakpointLocation &location)

Definition at line 98 of file SBDefines.h.

◆ socket_t

typedef int lldb::socket_t

Definition at line 60 of file lldb-types.h.

◆ thread_arg_t

typedef void* lldb::thread_arg_t

Definition at line 61 of file lldb-types.h.

◆ thread_func_t

typedef void*(* lldb::thread_func_t) (void *)

Definition at line 63 of file lldb-types.h.

◆ thread_result_t

typedef void* lldb::thread_result_t

Definition at line 62 of file lldb-types.h.

◆ thread_t

typedef pthread_t lldb::thread_t

Definition at line 58 of file lldb-types.h.

◆ tid_t

typedef uint64_t lldb::tid_t

Definition at line 86 of file lldb-types.h.

◆ user_id_t

typedef uint64_t lldb::user_id_t

Definition at line 84 of file lldb-types.h.

◆ watch_id_t

typedef int32_t lldb::watch_id_t

Definition at line 89 of file lldb-types.h.

Enumeration Type Documentation

◆ AccessType

Enumerator
eAccessNone 
eAccessPublic 
eAccessPrivate 
eAccessProtected 
eAccessPackage 

Definition at line 507 of file lldb-enumerations.h.

◆ BasicType

Basic types enumeration for the public API SBType::GetBasicType().

Enumerator
eBasicTypeInvalid 
eBasicTypeVoid 
eBasicTypeChar 
eBasicTypeSignedChar 
eBasicTypeUnsignedChar 
eBasicTypeWChar 
eBasicTypeSignedWChar 
eBasicTypeUnsignedWChar 
eBasicTypeChar16 
eBasicTypeChar32 
eBasicTypeShort 
eBasicTypeUnsignedShort 
eBasicTypeInt 
eBasicTypeUnsignedInt 
eBasicTypeLong 
eBasicTypeUnsignedLong 
eBasicTypeLongLong 
eBasicTypeUnsignedLongLong 
eBasicTypeInt128 
eBasicTypeUnsignedInt128 
eBasicTypeBool 
eBasicTypeHalf 
eBasicTypeFloat 
eBasicTypeDouble 
eBasicTypeLongDouble 
eBasicTypeFloatComplex 
eBasicTypeDoubleComplex 
eBasicTypeLongDoubleComplex 
eBasicTypeObjCID 
eBasicTypeObjCClass 
eBasicTypeObjCSel 
eBasicTypeNullPtr 
eBasicTypeOther 

Definition at line 740 of file lldb-enumerations.h.

◆ ByteOrder

Byte ordering definitions.

Enumerator
eByteOrderInvalid 
eByteOrderBig 
eByteOrderPDP 
eByteOrderLittle 

Definition at line 138 of file lldb-enumerations.h.

◆ CommandArgumentType

Enumerator
eArgTypeAddress 
eArgTypeAddressOrExpression 
eArgTypeAliasName 
eArgTypeAliasOptions 
eArgTypeArchitecture 
eArgTypeBoolean 
eArgTypeBreakpointID 
eArgTypeBreakpointIDRange 
eArgTypeBreakpointName 
eArgTypeByteSize 
eArgTypeClassName 
eArgTypeCommandName 
eArgTypeCount 
eArgTypeDescriptionVerbosity 
eArgTypeDirectoryName 
eArgTypeDisassemblyFlavor 
eArgTypeEndAddress 
eArgTypeExpression 
eArgTypeExpressionPath 
eArgTypeExprFormat 
eArgTypeFileLineColumn 
eArgTypeFilename 
eArgTypeFormat 
eArgTypeFrameIndex 
eArgTypeFullName 
eArgTypeFunctionName 
eArgTypeFunctionOrSymbol 
eArgTypeGDBFormat 
eArgTypeHelpText 
eArgTypeIndex 
eArgTypeLanguage 
eArgTypeLineNum 
eArgTypeLogCategory 
eArgTypeLogChannel 
eArgTypeMethod 
eArgTypeName 
eArgTypeNewPathPrefix 
eArgTypeNumLines 
eArgTypeNumberPerLine 
eArgTypeOffset 
eArgTypeOldPathPrefix 
eArgTypeOneLiner 
eArgTypePath 
eArgTypePermissionsNumber 
eArgTypePermissionsString 
eArgTypePid 
eArgTypePlugin 
eArgTypeProcessName 
eArgTypePythonClass 
eArgTypePythonFunction 
eArgTypePythonScript 
eArgTypeQueueName 
eArgTypeRegisterName 
eArgTypeRegularExpression 
eArgTypeRunArgs 
eArgTypeRunMode 
eArgTypeScriptedCommandSynchronicity 
eArgTypeScriptLang 
eArgTypeSearchWord 
eArgTypeSelector 
eArgTypeSettingIndex 
eArgTypeSettingKey 
eArgTypeSettingPrefix 
eArgTypeSettingVariableName 
eArgTypeShlibName 
eArgTypeSourceFile 
eArgTypeSortOrder 
eArgTypeStartAddress 
eArgTypeSummaryString 
eArgTypeSymbol 
eArgTypeThreadID 
eArgTypeThreadIndex 
eArgTypeThreadName 
eArgTypeTypeName 
eArgTypeUnsignedInteger 
eArgTypeUnixSignal 
eArgTypeVarName 
eArgTypeValue 
eArgTypeWidth 
eArgTypeNone 
eArgTypePlatform 
eArgTypeWatchpointID 
eArgTypeWatchpointIDRange 
eArgTypeWatchType 
eArgRawInput 
eArgTypeCommand 
eArgTypeColumnNum 
eArgTypeModuleUUID 
eArgTypeLastArg 

Definition at line 515 of file lldb-enumerations.h.

◆ CommandInterpreterResult

The result from a command interpreter run.

Enumerator
eCommandInterpreterResultSuccess 

Command interpreter finished successfully.

eCommandInterpreterResultInferiorCrash 

Stopped because the corresponding option was set and the inferior crashed.

eCommandInterpreterResultCommandError 

Stopped because the corresponding option was set and a command returned an error.

eCommandInterpreterResultQuitRequested 

Stopped because quit was requested.

Definition at line 1102 of file lldb-enumerations.h.

◆ ConnectionStatus

Connection Status Types.

Enumerator
eConnectionStatusSuccess 

Success.

eConnectionStatusEndOfFile 

End-of-file encountered.

eConnectionStatusError 

Check GetError() for details.

eConnectionStatusTimedOut 

Request timed out.

eConnectionStatusNoConnection 

No connection.

eConnectionStatusLostConnection 

Lost connection while connected to a valid connection.

eConnectionStatusInterrupted 

Interrupted read.

Definition at line 295 of file lldb-enumerations.h.

◆ DescriptionLevel

Description levels for "void GetDescription(Stream *, DescriptionLevel)" calls.

Enumerator
eDescriptionLevelBrief 
eDescriptionLevelFull 
eDescriptionLevelVerbose 
eDescriptionLevelInitial 
kNumDescriptionLevels 

Definition at line 207 of file lldb-enumerations.h.

◆ DynamicValueType

Enumerator
eNoDynamicValues 
eDynamicCanRunTarget 
eDynamicDontRunTarget 

Definition at line 494 of file lldb-enumerations.h.

◆ Encoding

Register encoding definitions.

Enumerator
eEncodingInvalid 
eEncodingUint 

unsigned integer

eEncodingSint 

signed integer

eEncodingIEEE754 

float

eEncodingVector 

vector registers

Definition at line 146 of file lldb-enumerations.h.

◆ ErrorType

Enumerator
eErrorTypeInvalid 
eErrorTypeGeneric 

Generic errors that can be any value.

eErrorTypeMachKernel 

Mach kernel error codes.

eErrorTypePOSIX 

POSIX error codes.

eErrorTypeExpression 

These are from the ExpressionResults enum.

eErrorTypeWin32 

Standard Win32 error codes.

Definition at line 306 of file lldb-enumerations.h.

◆ ExpressionEvaluationPhase

Expression Evaluation Stages.

These are the cancellable stages of expression evaluation, passed to the expression evaluation callback, so that you can interrupt expression evaluation at the various points in its lifecycle.

Enumerator
eExpressionEvaluationParse 
eExpressionEvaluationIRGen 
eExpressionEvaluationExecution 
eExpressionEvaluationComplete 

Definition at line 954 of file lldb-enumerations.h.

◆ ExpressionResults

The results of expression evaluation.

Enumerator
eExpressionCompleted 
eExpressionSetupError 
eExpressionParseError 
eExpressionDiscarded 
eExpressionInterrupted 
eExpressionHitBreakpoint 
eExpressionTimedOut 
eExpressionResultUnavailable 
eExpressionStoppedForDebug 
eExpressionThreadVanished 

Definition at line 270 of file lldb-enumerations.h.

◆ Format

Display format definitions.

Enumerator
eFormatDefault 
eFormatInvalid 
eFormatBoolean 
eFormatBinary 
eFormatBytes 
eFormatBytesWithASCII 
eFormatChar 
eFormatCharPrintable 

Only printable characters, '.' if not printable.

eFormatComplex 

Floating point complex type.

eFormatComplexFloat 
eFormatCString 

NULL terminated C strings.

eFormatDecimal 
eFormatEnum 
eFormatHex 
eFormatHexUppercase 
eFormatFloat 
eFormatOctal 
eFormatOSType 

OS character codes encoded into an integer 'PICT' 'text' etc...

eFormatUnicode16 
eFormatUnicode32 
eFormatUnsigned 
eFormatPointer 
eFormatVectorOfChar 
eFormatVectorOfSInt8 
eFormatVectorOfUInt8 
eFormatVectorOfSInt16 
eFormatVectorOfUInt16 
eFormatVectorOfSInt32 
eFormatVectorOfUInt32 
eFormatVectorOfSInt64 
eFormatVectorOfUInt64 
eFormatVectorOfFloat16 
eFormatVectorOfFloat32 
eFormatVectorOfFloat64 
eFormatVectorOfUInt128 
eFormatComplexInteger 

Integer complex type.

eFormatCharArray 

Print characters with no single quotes, used for character arrays that can contain non printable characters.

eFormatAddressInfo 

Describe what an address points to (func + offset.

with file/line, symbol + offset, data, etc)

eFormatHexFloat 

ISO C99 hex float string.

eFormatInstruction 

Disassemble an opcode.

eFormatVoid 

Do not print this.

eFormatUnicode8 
kNumFormats 

Definition at line 155 of file lldb-enumerations.h.

◆ FrameComparison

This is the return value for frame comparisons.

If you are comparing frame A to frame B the following cases arise:

1) When frame A pushes frame B (or a frame that ends up pushing B) A is Older than B.

2) When frame A pushed frame B (or if frameA is on the stack but B is not) A is Younger than B.

3) When frame A and frame B have the same StackID, they are Equal.

4) When frame A and frame B have the same immediate parent frame, but are not equal, the comparison yields SameParent.

5) If the two frames are on different threads or processes the comparison is Invalid.

6) If for some reason we can't figure out what went on, we return Unknown.

Enumerator
eFrameCompareInvalid 
eFrameCompareUnknown 
eFrameCompareEqual 
eFrameCompareSameParent 
eFrameCompareYounger 
eFrameCompareOlder 

Definition at line 859 of file lldb-enumerations.h.

◆ GdbSignal

Enumerator
eGdbSignalBadAccess 
eGdbSignalBadInstruction 
eGdbSignalArithmetic 
eGdbSignalEmulation 
eGdbSignalSoftware 
eGdbSignalBreakpoint 

Definition at line 968 of file lldb-enumerations.h.

◆ InputReaderAction

Enumerator
eInputReaderActivate 

reader is newly pushed onto the reader stack

eInputReaderAsynchronousOutputWritten 

an async output event occurred; the reader may want to do something

eInputReaderReactivate 

reader is on top of the stack again after another reader was popped off

eInputReaderDeactivate 

another reader was pushed on the stack

eInputReaderGotToken 

reader got one of its tokens (granularity)

eInputReaderInterrupt 

reader received an interrupt signal (probably from a control-c)

eInputReaderEndOfFile 

reader received an EOF char (probably from a control-d)

eInputReaderDone 

reader was just popped off the stack and is done

Definition at line 385 of file lldb-enumerations.h.

◆ InputReaderGranularity

Token size/granularities for Input Readers.

Enumerator
eInputReaderGranularityInvalid 
eInputReaderGranularityByte 
eInputReaderGranularityWord 
eInputReaderGranularityLine 
eInputReaderGranularityAll 

Definition at line 329 of file lldb-enumerations.h.

◆ InstrumentationRuntimeType

Enumerator
eInstrumentationRuntimeTypeAddressSanitizer 
eInstrumentationRuntimeTypeThreadSanitizer 
eInstrumentationRuntimeTypeUndefinedBehaviorSanitizer 
eInstrumentationRuntimeTypeMainThreadChecker 
eInstrumentationRuntimeTypeSwiftRuntimeReporting 
eNumInstrumentationRuntimeTypes 

Definition at line 485 of file lldb-enumerations.h.

◆ LanguageType

Programming language type.

These enumerations use the same language enumerations as the DWARF specification for ease of use and consistency. The enum -> string code is in Language.cpp, don't change this table without updating that code as well.

Enumerator
eLanguageTypeUnknown 

Unknown or invalid language value.

eLanguageTypeC89 

ISO C:1989.

eLanguageTypeC 

Non-standardized C, such as K&R.

eLanguageTypeAda83 

ISO Ada:1983.

eLanguageTypeC_plus_plus 

ISO C++:1998.

eLanguageTypeCobol74 

ISO Cobol:1974.

eLanguageTypeCobol85 

ISO Cobol:1985.

eLanguageTypeFortran77 

ISO Fortran 77.

eLanguageTypeFortran90 

ISO Fortran 90.

eLanguageTypePascal83 

ISO Pascal:1983.

eLanguageTypeModula2 

ISO Modula-2:1996.

eLanguageTypeJava 

Java.

eLanguageTypeC99 

ISO C:1999.

eLanguageTypeAda95 

ISO Ada:1995.

eLanguageTypeFortran95 

ISO Fortran 95.

eLanguageTypePLI 

ANSI PL/I:1976.

eLanguageTypeObjC 

Objective-C.

eLanguageTypeObjC_plus_plus 

Objective-C++.

eLanguageTypeUPC 

Unified Parallel C.

eLanguageTypeD 

D.

eLanguageTypePython 

Python.

eLanguageTypeOpenCL 

OpenCL.

eLanguageTypeGo 

Go.

eLanguageTypeModula3 

Modula 3.

eLanguageTypeHaskell 

Haskell.

eLanguageTypeC_plus_plus_03 

ISO C++:2003.

eLanguageTypeC_plus_plus_11 

ISO C++:2011.

eLanguageTypeOCaml 

OCaml.

eLanguageTypeRust 

Rust.

eLanguageTypeC11 

ISO C:2011.

eLanguageTypeSwift 

Swift.

eLanguageTypeJulia 

Julia.

eLanguageTypeDylan 

Dylan.

eLanguageTypeC_plus_plus_14 

ISO C++:2014.

eLanguageTypeFortran03 

ISO Fortran 2003.

eLanguageTypeFortran08 

ISO Fortran 2008.

eLanguageTypeMipsAssembler 

Mips_Assembler.

eLanguageTypeExtRenderScript 

RenderScript.

eNumLanguageTypes 

Definition at line 436 of file lldb-enumerations.h.

◆ MatchType

String matching algorithm used by SBTarget.

Enumerator
eMatchTypeNormal 
eMatchTypeRegex 
eMatchTypeStartsWith 

Definition at line 1012 of file lldb-enumerations.h.

◆ MemberFunctionKind

Kind of member function.

Used by the type system.

Enumerator
eMemberFunctionKindUnknown 

Not sure what the type of this is.

eMemberFunctionKindConstructor 

A function used to create instances.

eMemberFunctionKindDestructor 

A function used to tear down existing instances.

eMemberFunctionKindInstanceMethod 

A function that applies to a specific instance.

eMemberFunctionKindStaticMethod 

A function that applies to a type rather than any instance.

Definition at line 1000 of file lldb-enumerations.h.

◆ PathType

Used with SBHostOS::GetLLDBPath (lldb::PathType) to find files that are related to LLDB on the current host machine.

Most files are relative to LLDB or are in known locations.

Enumerator
ePathTypeLLDBShlibDir 

The directory where the lldb.so (unix) or LLDB mach-o file in LLDB.framework (MacOSX) exists.

ePathTypeSupportExecutableDir 

Find LLDB support executable directory (debugserver, etc)

ePathTypeHeaderDir 

Find LLDB header file directory.

ePathTypePythonDir 

Find Python modules (PYTHONPATH) directory.

ePathTypeLLDBSystemPlugins 

System plug-ins directory.

ePathTypeLLDBUserPlugins 

User plug-ins directory.

ePathTypeLLDBTempSystemDir 

The LLDB temp directory for this system that will be cleaned up on exit.

ePathTypeGlobalLLDBTempSystemDir 

The LLDB temp directory for this system, NOT cleaned up on a process exit.

ePathTypeClangDir 

Find path to Clang builtin headers.

Definition at line 980 of file lldb-enumerations.h.

◆ QueueItemKind

Queue work item types.

The different types of work that can be enqueued on a libdispatch aka Grand Central Dispatch (GCD) queue.

Enumerator
eQueueItemKindUnknown 
eQueueItemKindFunction 
eQueueItemKindBlock 

Definition at line 932 of file lldb-enumerations.h.

◆ QueueKind

Queue type.

libdispatch aka Grand Central Dispatch (GCD) queues can be either serial (executing on one thread) or concurrent (executing on multiple threads).

Enumerator
eQueueKindUnknown 
eQueueKindSerial 
eQueueKindConcurrent 

Definition at line 943 of file lldb-enumerations.h.

◆ RegisterKind

Register numbering types.

Enumerator
eRegisterKindEHFrame 

the register numbers seen in eh_frame

eRegisterKindDWARF 

the register numbers seen DWARF

eRegisterKindGeneric 

insn ptr reg, stack ptr reg, etc not specific to any particular target

eRegisterKindProcessPlugin 

num used by the process plugin - e.g.

by the remote gdb-protocol stub program

eRegisterKindLLDB 

lldb's internal register numbers

kNumRegisterKinds 

Definition at line 227 of file lldb-enumerations.h.

◆ ReturnStatus

Command Return Status Types.

Enumerator
eReturnStatusInvalid 
eReturnStatusSuccessFinishNoResult 
eReturnStatusSuccessFinishResult 
eReturnStatusSuccessContinuingNoResult 
eReturnStatusSuccessContinuingResult 
eReturnStatusStarted 
eReturnStatusFailed 
eReturnStatusQuit 

Definition at line 258 of file lldb-enumerations.h.

◆ RunMode

Thread Run Modes.

Enumerator
eOnlyThisThread 
eAllThreads 
eOnlyDuringStepping 

Definition at line 135 of file lldb-enumerations.h.

◆ ScriptLanguage

Script interpreter types.

Enumerator
eScriptLanguageNone 
eScriptLanguagePython 
eScriptLanguageLua 
eScriptLanguageUnknown 
eScriptLanguageDefault 

Definition at line 216 of file lldb-enumerations.h.

◆ SearchDepth

Enumerator
eSearchDepthInvalid 
eSearchDepthTarget 
eSearchDepthModule 
eSearchDepthCompUnit 
eSearchDepthFunction 
eSearchDepthBlock 
eSearchDepthAddress 
kLastSearchDepthKind 

Definition at line 283 of file lldb-enumerations.h.

◆ SectionType

Enumerator
eSectionTypeInvalid 
eSectionTypeCode 
eSectionTypeContainer 

The section contains child sections.

eSectionTypeData 
eSectionTypeDataCString 

Inlined C string data.

eSectionTypeDataCStringPointers 

Pointers to C string data.

eSectionTypeDataSymbolAddress 

Address of a symbol in the symbol table.

eSectionTypeData4 
eSectionTypeData8 
eSectionTypeData16 
eSectionTypeDataPointers 
eSectionTypeDebug 
eSectionTypeZeroFill 
eSectionTypeDataObjCMessageRefs 

Pointer to function pointer + selector.

eSectionTypeDataObjCCFStrings 

Objective-C const CFString/NSString objects.

eSectionTypeDWARFDebugAbbrev 
eSectionTypeDWARFDebugAddr 
eSectionTypeDWARFDebugAranges 
eSectionTypeDWARFDebugCuIndex 
eSectionTypeDWARFDebugFrame 
eSectionTypeDWARFDebugInfo 
eSectionTypeDWARFDebugLine 
eSectionTypeDWARFDebugLoc 
eSectionTypeDWARFDebugMacInfo 
eSectionTypeDWARFDebugMacro 
eSectionTypeDWARFDebugPubNames 
eSectionTypeDWARFDebugPubTypes 
eSectionTypeDWARFDebugRanges 
eSectionTypeDWARFDebugStr 
eSectionTypeDWARFDebugStrOffsets 
eSectionTypeDWARFAppleNames 
eSectionTypeDWARFAppleTypes 
eSectionTypeDWARFAppleNamespaces 
eSectionTypeDWARFAppleObjC 
eSectionTypeELFSymbolTable 

Elf SHT_SYMTAB section.

eSectionTypeELFDynamicSymbols 

Elf SHT_DYNSYM section.

eSectionTypeELFRelocationEntries 

Elf SHT_REL or SHT_REL section.

eSectionTypeELFDynamicLinkInfo 

Elf SHT_DYNAMIC section.

eSectionTypeEHFrame 
eSectionTypeARMexidx 
eSectionTypeARMextab 
eSectionTypeCompactUnwind 

compact unwind section in Mach-O, __TEXT,__unwind_info

eSectionTypeGoSymtab 
eSectionTypeAbsoluteAddress 

Dummy section for symbols with absolute address.

eSectionTypeDWARFGNUDebugAltLink 
eSectionTypeDWARFDebugTypes 

DWARF .debug_types section.

eSectionTypeDWARFDebugNames 

DWARF v5 .debug_names.

eSectionTypeOther 
eSectionTypeDWARFDebugLineStr 

DWARF v5 .debug_line_str.

eSectionTypeDWARFDebugRngLists 

DWARF v5 .debug_rnglists.

eSectionTypeDWARFDebugLocLists 

DWARF v5 .debug_loclists.

eSectionTypeDWARFDebugAbbrevDwo 
eSectionTypeDWARFDebugInfoDwo 
eSectionTypeDWARFDebugStrDwo 
eSectionTypeDWARFDebugStrOffsetsDwo 
eSectionTypeDWARFDebugTypesDwo 
eSectionTypeDWARFDebugRngListsDwo 
eSectionTypeDWARFDebugLocDwo 
eSectionTypeDWARFDebugLocListsDwo 
eSectionTypeDWARFDebugTuIndex 

Definition at line 645 of file lldb-enumerations.h.

◆ StateType

Process and Thread States.

Enumerator
eStateInvalid 
eStateUnloaded 

Process is object is valid, but not currently loaded.

eStateConnected 

Process is connected to remote debug services, but not launched or attached to anything yet.

eStateAttaching 

Process is currently trying to attach.

eStateLaunching 

Process is in the process of launching.

eStateStopped 

Process or thread is stopped and can be examined.

eStateRunning 

Process or thread is running and can't be examined.

eStateStepping 

Process or thread is in the process of stepping and can not be examined.

eStateCrashed 

Process or thread has crashed and can be examined.

eStateDetached 

Process has been detached and can't be examined.

eStateExited 

Process has exited and can't be examined.

eStateSuspended 

Process or thread is in a suspended state as far as the debugger is concerned while other processes or threads get the chance to run.

kLastStateType 

Definition at line 73 of file lldb-enumerations.h.

◆ StopReason

Thread stop reasons.

Enumerator
eStopReasonInvalid 
eStopReasonNone 
eStopReasonTrace 
eStopReasonBreakpoint 
eStopReasonWatchpoint 
eStopReasonSignal 
eStopReasonException 
eStopReasonExec 

Program was re-exec'ed.

eStopReasonPlanComplete 
eStopReasonThreadExiting 
eStopReasonInstrumentation 
eStopReasonProcessorTrace 
eStopReasonFork 
eStopReasonVFork 
eStopReasonVForkDone 

Definition at line 239 of file lldb-enumerations.h.

◆ StopShowColumn

Enumerator
eStopShowColumnAnsiOrCaret 
eStopShowColumnAnsi 
eStopShowColumnCaret 
eStopShowColumnNone 

Definition at line 500 of file lldb-enumerations.h.

◆ StructuredDataType

Enumerator
eStructuredDataTypeInvalid 
eStructuredDataTypeNull 
eStructuredDataTypeGeneric 
eStructuredDataTypeArray 
eStructuredDataTypeInteger 
eStructuredDataTypeFloat 
eStructuredDataTypeBoolean 
eStructuredDataTypeString 
eStructuredDataTypeDictionary 

Definition at line 784 of file lldb-enumerations.h.

◆ SymbolType

Symbol types.

Enumerator
eSymbolTypeAny 
eSymbolTypeInvalid 
eSymbolTypeAbsolute 
eSymbolTypeCode 
eSymbolTypeResolver 
eSymbolTypeData 
eSymbolTypeTrampoline 
eSymbolTypeRuntime 
eSymbolTypeException 
eSymbolTypeSourceFile 
eSymbolTypeHeaderFile 
eSymbolTypeObjectFile 
eSymbolTypeCommonBlock 
eSymbolTypeBlock 
eSymbolTypeLocal 
eSymbolTypeParam 
eSymbolTypeVariable 
eSymbolTypeVariableType 
eSymbolTypeLineEntry 
eSymbolTypeLineHeader 
eSymbolTypeScopeBegin 
eSymbolTypeScopeEnd 
eSymbolTypeAdditional 

When symbols take more than one entry, the extra entries get this type.

eSymbolTypeCompiler 
eSymbolTypeInstrumentation 
eSymbolTypeUndefined 
eSymbolTypeObjCClass 
eSymbolTypeObjCMetaClass 
eSymbolTypeObjCIVar 
eSymbolTypeReExported 

Definition at line 611 of file lldb-enumerations.h.

◆ TemplateArgumentKind

Enumerator
eTemplateArgumentKindNull 
eTemplateArgumentKindType 
eTemplateArgumentKindDeclaration 
eTemplateArgumentKindIntegral 
eTemplateArgumentKindTemplate 
eTemplateArgumentKindTemplateExpansion 
eTemplateArgumentKindExpression 
eTemplateArgumentKindPack 
eTemplateArgumentKindNullPtr 

Definition at line 813 of file lldb-enumerations.h.

◆ TraceType

Deprecated.

Enumerator
eTraceTypeNone 
eTraceTypeProcessorTrace 

Intel Processor Trace.

Definition at line 777 of file lldb-enumerations.h.

◆ TypeSummaryCapping

Whether a summary should cap how much data it returns to users or not.

Enumerator
eTypeSummaryCapped 
eTypeSummaryUncapped 

Definition at line 1096 of file lldb-enumerations.h.

◆ ValueType

Enumerator
eValueTypeInvalid 
eValueTypeVariableGlobal 

globals variable

eValueTypeVariableStatic 

static variable

eValueTypeVariableArgument 

function argument variables

eValueTypeVariableLocal 

function local variables

eValueTypeRegister 

stack frame register value

eValueTypeRegisterSet 

A collection of stack frame register values.

eValueTypeConstResult 

constant result variables

eValueTypeVariableThreadLocal 

thread local storage variable

Definition at line 315 of file lldb-enumerations.h.

Function Documentation

◆ DumpProcessGDBRemotePacketHistory()

void lldb::DumpProcessGDBRemotePacketHistory ( void *  p,
const char *  path 
)

Definition at line 105 of file ProcessGDBRemote.cpp.

◆ FLAGS_ENUM() [1/13]

lldb::FLAGS_ENUM ( BreakpointEventType  )

< Locations added doesn't get sent when the breakpoint is created

Definition at line 401 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [2/13]

lldb::FLAGS_ENUM ( CommandFlags  )

eCommandRequiresTarget

Ensures a valid target is contained in m_exe_ctx prior to executing the command. If a target doesn't exist or is invalid, the command will fail and CommandObject::GetInvalidTargetDescription() will be returned as the error. CommandObject subclasses can override the virtual function for GetInvalidTargetDescription() to provide custom strings when needed.

eCommandRequiresProcess

Ensures a valid process is contained in m_exe_ctx prior to executing the command. If a process doesn't exist or is invalid, the command will fail and CommandObject::GetInvalidProcessDescription() will be returned as the error. CommandObject subclasses can override the virtual function for GetInvalidProcessDescription() to provide custom strings when needed.

eCommandRequiresThread

Ensures a valid thread is contained in m_exe_ctx prior to executing the command. If a thread doesn't exist or is invalid, the command will fail and CommandObject::GetInvalidThreadDescription() will be returned as the error. CommandObject subclasses can override the virtual function for GetInvalidThreadDescription() to provide custom strings when needed.

eCommandRequiresFrame

Ensures a valid frame is contained in m_exe_ctx prior to executing the command. If a frame doesn't exist or is invalid, the command will fail and CommandObject::GetInvalidFrameDescription() will be returned as the error. CommandObject subclasses can override the virtual function for GetInvalidFrameDescription() to provide custom strings when needed.

eCommandRequiresRegContext

Ensures a valid register context (from the selected frame if there is a frame in m_exe_ctx, or from the selected thread from m_exe_ctx) is available from m_exe_ctx prior to executing the command. If a target doesn't exist or is invalid, the command will fail and CommandObject::GetInvalidRegContextDescription() will be returned as the error. CommandObject subclasses can override the virtual function for GetInvalidRegContextDescription() to provide custom strings when needed.

eCommandTryTargetAPILock

Attempts to acquire the target lock if a target is selected in the command interpreter. If the command object fails to acquire the API lock, the command will fail with an appropriate error message.

eCommandProcessMustBeLaunched

Verifies that there is a launched process in m_exe_ctx, if there isn't, the command will fail with an appropriate error message.

eCommandProcessMustBePaused

Verifies that there is a paused process in m_exe_ctx, if there isn't, the command will fail with an appropriate error message.

eCommandProcessMustBeTraced

Verifies that the process is being traced by a Trace plug-in, if it isn't the command will fail with an appropriate error message.

Definition at line 1029 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [3/13]

lldb::FLAGS_ENUM ( EmulateInstructionOptions  )

Definition at line 711 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [4/13]

lldb::FLAGS_ENUM ( FilePermissions  )

File Permissions.

Designed to mimic the unix file permission bits so they can be used with functions that set 'mode_t' to certain values for permissions.

Definition at line 872 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [5/13]

lldb::FLAGS_ENUM ( FunctionNameType  )

< Automatically figure out which FunctionNameType bits to set based on the function name.

< The function name.

< For C this is the same as just the name of the function For C++ this is the mangled or demangled version of the mangled name. For ObjC this is the full function signature with the + or - and the square brackets and the class and selector

< The function name only, no namespaces or arguments and no class methods or selectors will be searched.

< Find function by method name (C++) with no namespace or arguments

< Find function by selector name (ObjC) names

< DEPRECATED: use eFunctionNameTypeAuto

Definition at line 716 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [6/13]

lldb::FLAGS_ENUM ( LaunchFlags  )

Launch Flags.

< Exec when launching and turn the calling process into a new process

< Stop as soon as the process launches to allow the process to be debugged

< Stop at the program entry point instead of auto-continuing when launching or attaching at entry point

< Disable Address Space Layout Randomization

< Disable stdio for inferior process (e.g. for a GUI app)

< Launch the process in a new TTY if supported by the host

< Launch the process inside a shell to get shell expansion

< Launch the process in a separate process group If you are going to hand the process off (e.g. to debugserver)

< set this flag so lldb & the handee don't race to set its exit status.

< If set, then the client stub should detach rather than killing the debugee if it loses connection with lldb.

< Perform shell-style argument expansion

< Close the open TTY on exit

< Don't make the inferior responsible for its own TCC permissions but instead inherit them from its parent.

Definition at line 98 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [7/13]

lldb::FLAGS_ENUM ( Permissions  )

Definition at line 380 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [8/13]

lldb::FLAGS_ENUM ( SymbolContextItem  )

These mask bits allow a common interface for queries that can limit the amount of information that gets parsed to only the information that is requested.

These bits also can indicate what actually did get resolved during query function calls.

Each definition corresponds to a one of the member variables in this class, and requests that that item be resolved, or indicates that the member did get resolved.

Set when target is requested from a query, or was located in query results

Set when module is requested from a query, or was located in query results

Set when comp_unit is requested from a query, or was located in query results

Set when function is requested from a query, or was located in query results

Set when the deepest block is requested from a query, or was located in query results

Set when line_entry is requested from a query, or was located in query results

Set when symbol is requested from a query, or was located in query results

Indicates to try and lookup everything up during a routine symbol context query.

Set when global or static variable is requested from a query, or was located in query results. eSymbolContextVariable is potentially expensive to lookup so it isn't included in eSymbolContextEverything which stops it from being used during frame PC lookups and many other potential address to symbol context lookups.

Definition at line 345 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [9/13]

lldb::FLAGS_ENUM ( TypeClass  )

Definition at line 796 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [10/13]

lldb::FLAGS_ENUM ( TypeFlags  )

Bitmask that describes details about a type.

Definition at line 1015 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [11/13]

lldb::FLAGS_ENUM ( TypeOptions  )

Options that can be set for a formatter to alter its behavior.

Not all of these are applicable to all formatter types.

Definition at line 827 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [12/13]

lldb::FLAGS_ENUM ( WatchpointEventType  )

Definition at line 418 of file lldb-enumerations.h.

◆ FLAGS_ENUM() [13/13]

lldb::FLAGS_ENUM ( WatchpointKind  )

Watchpoint Kind.

Indicates what types of events cause the watchpoint to fire. Used by Native *Protocol-related classes.

Definition at line 965 of file lldb-enumerations.h.

◆ operator==()

bool lldb::operator== ( const SBAddress lhs,
const SBAddress rhs 
)

Definition at line 63 of file SBAddress.cpp.

References lldb::SBAddress::IsValid(), and lldb::SBAddress::ref().

Variable Documentation

◆ SBAddress

◆ SBBlock

Definition at line 22 of file SBDefines.h.

Referenced by lldb::SBSymbolContext::GetBlock().

◆ SBBreakpoint

◆ SBBreakpointLocation

Definition at line 24 of file SBDefines.h.

◆ SBBreakpointName

Definition at line 25 of file SBDefines.h.

◆ SBBreakpointNameImpl

Definition at line 26 of file SBDefines.h.

◆ SBBroadcaster

Definition at line 27 of file SBDefines.h.

◆ SBCommand

Definition at line 28 of file SBDefines.h.

◆ SBCommandInterpreter

Definition at line 29 of file SBDefines.h.

◆ SBCommandInterpreterRunOptions

Definition at line 30 of file SBDefines.h.

◆ SBCommandInterpreterRunResult

Definition at line 31 of file SBDefines.h.

Referenced by lldb::SBDebugger::RunCommandInterpreter().

◆ SBCommandPluginInterface

Definition at line 32 of file SBDefines.h.

◆ SBCommandReturnObject

Definition at line 33 of file SBDefines.h.

◆ SBCommunication

Definition at line 34 of file SBDefines.h.

◆ SBCompileUnit

Definition at line 35 of file SBDefines.h.

Referenced by lldb::SBSymbolContext::GetCompileUnit().

◆ SBData

Definition at line 36 of file SBDefines.h.

◆ SBDebugger

Definition at line 37 of file SBDefines.h.

◆ SBDeclaration

Definition at line 38 of file SBDefines.h.

◆ SBEnvironment

◆ SBError

◆ SBEvent

Definition at line 41 of file SBDefines.h.

◆ SBEventList

class LLDB_API lldb::SBEventList

Definition at line 42 of file SBDefines.h.

◆ SBExecutionContext

Definition at line 43 of file SBDefines.h.

◆ SBExpressionOptions

Definition at line 44 of file SBDefines.h.

◆ SBFile

◆ SBFileSpec

◆ SBFileSpecList

Definition at line 47 of file SBDefines.h.

◆ SBFrame

Definition at line 48 of file SBDefines.h.

◆ SBFunction

Definition at line 49 of file SBDefines.h.

◆ SBHostOS

Definition at line 50 of file SBDefines.h.

◆ SBInstruction

Definition at line 51 of file SBDefines.h.

◆ SBInstructionList

Definition at line 52 of file SBDefines.h.

◆ SBLanguageRuntime

Definition at line 53 of file SBDefines.h.

◆ SBLaunchInfo

Definition at line 54 of file SBDefines.h.

◆ SBLineEntry

Definition at line 55 of file SBDefines.h.

◆ SBListener

Definition at line 56 of file SBDefines.h.

Referenced by lldb::SBLaunchInfo::GetListener(), and lldb::SBAttachInfo::GetListener().

◆ SBMemoryRegionInfo

Definition at line 57 of file SBDefines.h.

◆ SBMemoryRegionInfoList

Definition at line 58 of file SBDefines.h.

◆ SBModule

Definition at line 59 of file SBDefines.h.

◆ SBModuleSpec

Definition at line 60 of file SBDefines.h.

◆ SBModuleSpecList

Definition at line 61 of file SBDefines.h.

◆ SBProcess

Definition at line 62 of file SBDefines.h.

◆ SBProcessInfo

Definition at line 63 of file SBDefines.h.

◆ SBQueue

Definition at line 64 of file SBDefines.h.

◆ SBQueueItem

Definition at line 65 of file SBDefines.h.

◆ SBSection

Definition at line 66 of file SBDefines.h.

◆ SBSourceManager

Definition at line 67 of file SBDefines.h.

◆ SBStream

Definition at line 68 of file SBDefines.h.

◆ SBStringList

◆ SBStructuredData

Definition at line 70 of file SBDefines.h.

Referenced by lldb::SBProcess::GetStructuredDataFromEvent().

◆ SBSymbol

Definition at line 71 of file SBDefines.h.

◆ SBSymbolContext

Definition at line 72 of file SBDefines.h.

◆ SBSymbolContextList

Definition at line 73 of file SBDefines.h.

◆ SBTarget

Definition at line 74 of file SBDefines.h.

Referenced by lldb::SBFrame::GetVariables().

◆ SBThread

Definition at line 75 of file SBDefines.h.

Referenced by lldb::SBThreadPlan::GetThread().

◆ SBThreadCollection

◆ SBThreadPlan

Definition at line 77 of file SBDefines.h.

◆ SBTrace

Definition at line 78 of file SBDefines.h.

◆ SBTraceOptions

Definition at line 79 of file SBDefines.h.

◆ SBType

◆ SBTypeCategory

◆ SBTypeEnumMember

Definition at line 82 of file SBDefines.h.

Referenced by lldb::SBTypeEnumMemberList::GetTypeEnumMemberAtIndex().

◆ SBTypeEnumMemberList

Definition at line 83 of file SBDefines.h.

◆ SBTypeFilter

◆ SBTypeFormat

◆ SBTypeList

Definition at line 91 of file SBDefines.h.

◆ SBTypeMemberFunction

Definition at line 86 of file SBDefines.h.

◆ SBTypeNameSpecifier

◆ SBTypeSummary

◆ SBTypeSummaryOptions

Definition at line 89 of file SBDefines.h.

◆ SBTypeSynthetic

◆ SBUnixSignals

Definition at line 96 of file SBDefines.h.

Referenced by lldb::SBPlatform::GetUnixSignals().

◆ SBValue

◆ SBValueList

Definition at line 93 of file SBDefines.h.

◆ SBVariablesOptions

Definition at line 94 of file SBDefines.h.

◆ SBWatchpoint

Definition at line 95 of file SBDefines.h.