[Lldb-commits] [lldb] d94ce1a - [lldb][docs] Add the missing rst anchors to the Python enum docs

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 14 07:31:48 PDT 2021


Author: Raphael Isemann
Date: 2021-06-14T16:31:28+02:00
New Revision: d94ce1a391cbc85dab13ac6b6c4afbaef7684eec

URL: https://github.com/llvm/llvm-project/commit/d94ce1a391cbc85dab13ac6b6c4afbaef7684eec
DIFF: https://github.com/llvm/llvm-project/commit/d94ce1a391cbc85dab13ac6b6c4afbaef7684eec.diff

LOG: [lldb][docs] Add the missing rst anchors to the Python enum docs

Added: 
    

Modified: 
    lldb/docs/python_api_enums.rst

Removed: 
    


################################################################################
diff  --git a/lldb/docs/python_api_enums.rst b/lldb/docs/python_api_enums.rst
index b6f27ddac447..58100b2aa9a2 100644
--- a/lldb/docs/python_api_enums.rst
+++ b/lldb/docs/python_api_enums.rst
@@ -125,6 +125,9 @@ Miscellaneous constants
 Enumerators
 ***********
 
+
+.. _State:
+
 State
 -----
 
@@ -177,6 +180,9 @@ State
    as the debugger is concerned while other processes
    or threads get the chance to run.
 
+
+.. _LaunchFlag:
+
 LaunchFlag
 ----------
 
@@ -235,6 +241,9 @@ LaunchFlag
    Don't make the inferior responsible for its own TCC
    permissions but instead inherit them from its parent.
 
+
+.. _RunMode:
+
 RunMode
 -------
 .. py:data:: eOnlyThisThread
@@ -242,6 +251,8 @@ RunMode
 .. py:data:: eOnlyDuringStepping
 
 
+.. _ByteOrder:
+
 ByteOrder
 ---------
 
@@ -250,6 +261,9 @@ ByteOrder
 .. py:data:: eByteOrderPDP
 .. py:data:: eByteOrderLittle
 
+
+.. _Encoding:
+
 Encoding
 --------
 
@@ -259,6 +273,9 @@ Encoding
 .. py:data:: eEncodingIEEE754
 .. py:data:: eEncodingVector
 
+
+.. _Format:
+
 Format
 ------
 
@@ -305,6 +322,9 @@ Format
 .. py:data:: eFormatVoid
 .. py:data:: eFormatUnicode8
 
+
+.. _DescriptionLevel:
+
 DescriptionLevel
 ----------------
 
@@ -313,6 +333,9 @@ DescriptionLevel
 .. py:data:: eDescriptionLevelVerbose
 .. py:data:: eDescriptionLevelInitial
 
+
+.. _ScriptLanguage:
+
 ScriptLanguage
 --------------
 
@@ -322,6 +345,9 @@ ScriptLanguage
 .. py:data:: eScriptLanguageUnknown
 .. py:data:: eScriptLanguageDefault
 
+
+.. _RegisterKind:
+
 RegisterKind
 ------------
 
@@ -331,6 +357,9 @@ RegisterKind
 .. py:data:: eRegisterKindProcessPlugin
 .. py:data:: eRegisterKindLLDB
 
+
+.. _StopReason:
+
 StopReason
 ----------
 
@@ -349,6 +378,9 @@ StopReason
 .. py:data:: eStopReasonThreadExiting
 .. py:data:: eStopReasonInstrumentation
 
+
+.. _ReturnStatus:
+
 ReturnStatus
 ------------
 
@@ -361,6 +393,9 @@ ReturnStatus
 .. py:data:: eReturnStatusFailed
 .. py:data:: eReturnStatusQuit
 
+
+.. _Expression:
+
 Expression
 ----------
 
@@ -377,6 +412,9 @@ The results of expression evaluation.
 .. py:data:: eExpressionStoppedForDebug
 .. py:data:: eExpressionThreadVanished
 
+
+.. _SearchDepth:
+
 SearchDepth
 -----------
 
@@ -388,6 +426,9 @@ SearchDepth
 .. py:data:: eSearchDepthBlock
 .. py:data:: eSearchDepthAddress
 
+
+.. _ConnectionStatus:
+
 ConnectionStatus
 ----------------
 
@@ -419,6 +460,9 @@ ConnectionStatus
 
    Interrupted read.
 
+
+.. _ErrorType:
+
 ErrorType
 ---------
 
@@ -444,6 +488,8 @@ ErrorType
    Standard Win32 error codes.
 
 
+.. _ValueType:
+
 ValueType
 ---------
 
@@ -480,6 +526,9 @@ ValueType
 
    Thread local storage variable.
 
+
+.. _InputReaderGranularity:
+
 InputReaderGranularity
 ----------------------
 
@@ -491,6 +540,9 @@ Token size/granularities for Input Readers.
 .. py:data:: eInputReaderGranularityLine
 .. py:data:: eInputReaderGranularityAll
 
+
+.. _SymbolContextItem:
+
 SymbolContextItem
 -----------------
 
@@ -552,12 +604,18 @@ indicates that the member did get resolved.
    from being used during frame PC lookups and many other
    potential address to symbol context lookups.
 
+
+.. _Permissions:
+
 Permissions
 -----------
 .. py:data:: ePermissionsWritable
 .. py:data:: ePermissionsReadable
 .. py:data:: ePermissionsExecutable
 
+
+.. _InputReader:
+
 InputReader
 -----------
 
@@ -593,6 +651,9 @@ InputReader
 
    Reader was just popped off the stack and is done.
 
+
+.. _BreakpointEventType:
+
 BreakpointEventType
 -------------------
 
@@ -610,6 +671,9 @@ BreakpointEventType
 .. py:data:: eBreakpointEventTypeThreadChanged
 .. py:data:: eBreakpointEventTypeAutoContinueChanged
 
+
+.. _WatchpointEventType:
+
 WatchpointEventType
 -------------------
 
@@ -624,6 +688,7 @@ WatchpointEventType
 .. py:data:: eWatchpointEventTypeThreadChanged
 .. py:data:: eWatchpointEventTypeTypeChanged
 
+
 .. _LanguageType:
 
 LanguageType
@@ -669,6 +734,9 @@ LanguageType
 .. py:data:: eLanguageTypeExtRenderScript
 .. py:data:: eNumLanguageTypes
 
+
+.. _InstrumentationRuntimeType:
+
 InstrumentationRuntimeType
 --------------------------
 
@@ -679,6 +747,9 @@ InstrumentationRuntimeType
 .. py:data:: eInstrumentationRuntimeTypeSwiftRuntimeReporting
 .. py:data:: eNumInstrumentationRuntimeTypes
 
+
+.. _DynamicValueType:
+
 DynamicValueType
 ----------------
 
@@ -686,6 +757,9 @@ DynamicValueType
 .. py:data:: eDynamicCanRunTarget
 .. py:data:: eDynamicDontRunTarget
 
+
+.. _StopShowColumn:
+
 StopShowColumn
 --------------
 
@@ -694,6 +768,9 @@ StopShowColumn
 .. py:data:: eStopShowColumnCaret
 .. py:data:: eStopShowColumnNone
 
+
+.. _AccessType:
+
 AccessType
 ----------
 
@@ -703,6 +780,9 @@ AccessType
 .. py:data:: eAccessProtected
 .. py:data:: eAccessPackage
 
+
+.. _CommandArgumentType:
+
 CommandArgumentType
 -------------------
 
@@ -796,6 +876,8 @@ CommandArgumentType
 .. py:data:: eArgTypeModuleUUID
 .. py:data:: eArgTypeLastArg
 
+.. _SymbolType:
+
 SymbolType
 ----------
 
@@ -830,6 +912,9 @@ SymbolType
 .. py:data:: eSymbolTypeObjCIVar
 .. py:data:: eSymbolTypeReExported
 
+
+.. _SectionType:
+
 SectionType
 -----------
 
@@ -894,6 +979,9 @@ SectionType
 .. py:data:: eSectionTypeDWARFDebugLocListsDwo
 .. py:data:: eSectionTypeDWARFDebugTuIndex
 
+
+.. _EmulatorInstructionOption:
+
 EmulatorInstructionOption
 -------------------------
 
@@ -901,6 +989,9 @@ EmulatorInstructionOption
 .. py:data:: eEmulateInstructionOptionAutoAdvancePC
 .. py:data:: eEmulateInstructionOptionIgnoreConditions
 
+
+.. _FunctionNameType:
+
 FunctionNameType
 ----------------
 
@@ -912,6 +1003,9 @@ FunctionNameType
 .. py:data:: eFunctionNameTypeSelector
 .. py:data:: eFunctionNameTypeAny
 
+
+.. _BasicType:
+
 BasicType
 ---------
 
@@ -949,12 +1043,18 @@ BasicType
 .. py:data:: eBasicTypeNullPtr
 .. py:data:: eBasicTypeOther
 
+
+.. _TraceType:
+
 TraceType
 ---------
 
 .. py:data:: eTraceTypeNone
 .. py:data:: eTraceTypeProcessorTrace
 
+
+.. _StructuredDataType:
+
 StructuredDataType
 ------------------
 
@@ -968,6 +1068,9 @@ StructuredDataType
 .. py:data:: eStructuredDataTypeString
 .. py:data:: eStructuredDataTypeDictionary
 
+
+.. _TypeClass:
+
 TypeClass
 ---------
 
@@ -993,6 +1096,9 @@ TypeClass
 .. py:data:: eTypeClassOther
 .. py:data:: eTypeClassAny
 
+
+.. _TemplateArgument:
+
 TemplateArgument
 ----------------
 
@@ -1007,6 +1113,9 @@ TemplateArgument
 .. py:data:: eTemplateArgumentKindNullPtr
 .. py:data:: eTemplateArgumentKindUncommonValue
 
+
+.. _TypeOption:
+
 TypeOption
 ----------
 
@@ -1025,6 +1134,10 @@ all of these are applicable to all formatter types.
 .. py:data:: eTypeOptionHideEmptyAggregates
 .. py:data:: eTypeOptionFrontEndWantsDereference
 
+
+
+.. _FrameCompare:
+
 FrameCompare
 ------------
 
@@ -1056,6 +1169,9 @@ A to frame B the following cases arise:
 .. py:data:: eFrameCompareYounger
 .. py:data:: eFrameCompareOlder
 
+
+.. _FilePermissions:
+
 FilePermissions
 ---------------
 
@@ -1086,12 +1202,18 @@ FilePermissions
 .. py:data:: eFilePermissionsFileDefault = eFilePermissionsUserRW,
 .. py:data:: eFilePermissionsDirectoryDefault
 
+
+.. _QueueItem:
+
 QueueItem
 ---------
 .. py:data:: eQueueItemKindUnknown
 .. py:data:: eQueueItemKindFunction
 .. py:data:: eQueueItemKindBlock
 
+
+.. _QueueKind:
+
 QueueKind
 ---------
 
@@ -1103,6 +1225,9 @@ multiple threads).
 .. py:data:: eQueueKindSerial
 .. py:data:: eQueueKindConcurrent
 
+
+.. _ExpressionEvaluationPhase:
+
 ExpressionEvaluationPhase
 -------------------------
 
@@ -1115,6 +1240,9 @@ expression evaluation at the various points in its lifecycle.
 .. py:data:: eExpressionEvaluationExecution
 .. py:data:: eExpressionEvaluationComplete
 
+
+.. _WatchpointKind:
+
 WatchpointKind
 --------------
 
@@ -1124,6 +1252,9 @@ Indicates what types of events cause the watchpoint to fire. Used by Native
 .. py:data:: eWatchpointKindWrite
 .. py:data:: eWatchpointKindRead
 
+
+.. _GdbSignal:
+
 GdbSignal
 ---------
 
@@ -1134,6 +1265,8 @@ GdbSignal
 .. py:data:: eGdbSignalSoftware
 .. py:data:: eGdbSignalBreakpoint
 
+.. _PathType:
+
 PathType
 --------
 
@@ -1179,6 +1312,9 @@ relative to LLDB or are in known locations.
 
    Find path to Clang builtin headers.
 
+
+.. _MemberFunctionKind:
+
 MemberFunctionKind
 ------------------
 
@@ -1199,6 +1335,9 @@ MemberFunctionKind
 
    A function that applies to a type rather than any instance,
 
+
+.. _TypeFlags:
+
 TypeFlags
 ---------
 
@@ -1215,6 +1354,9 @@ TypeFlags
 .. py:data:: eTypeIsComplex
 .. py:data:: eTypeInstanceIsPointer
 
+
+.. _CommandFlags:
+
 CommandFlags
 ---------------
 
@@ -1228,6 +1370,9 @@ CommandFlags
 .. py:data:: eCommandProcessMustBePaused
 .. py:data:: eCommandProcessMustBeTraced
 
+
+.. _TypeSummary:
+
 TypeSummary
 -----------
 
@@ -1236,6 +1381,9 @@ Whether a summary should cap how much data it returns to users or not.
 .. py:data:: eTypeSummaryCapped
 .. py:data:: eTypeSummaryUncapped
 
+
+.. _CommandInterpreterResult:
+
 CommandInterpreterResult
 ------------------------
 


        


More information about the lldb-commits mailing list