summaryrefslogtreecommitdiffstats
path: root/typings
diff options
context:
space:
mode:
authorSam Estep <sam@samestep.com>2025-07-23 10:00:24 -0400
committerGitHub <noreply@github.com>2025-07-23 14:00:24 +0000
commit876b21f21cb9bfdff1479364f60f2ce6b15ea0b3 (patch)
tree52ecc56939b737dfbcf82bc802642588d2995334 /typings
parented8add13e917eb50a0ab4b021b57191271313a58 (diff)
Add LLDB data formatters for Slang IR (#7828)
Diffstat (limited to 'typings')
-rw-r--r--typings/lldb.pyi193
1 files changed, 183 insertions, 10 deletions
diff --git a/typings/lldb.pyi b/typings/lldb.pyi
index 5a4eb1522..646bb46b2 100644
--- a/typings/lldb.pyi
+++ b/typings/lldb.pyi
@@ -152,6 +152,179 @@ class SBData:
class SBDebugger:
def HandleCommand(self, command: str) -> None: ...
+class SBTarget:
+ @property
+ def thisown(self): ...
+ @property
+ def eBroadcastBitBreakpointChanged(self): ...
+ @property
+ def eBroadcastBitModulesLoaded(self): ...
+ @property
+ def eBroadcastBitModulesUnloaded(self): ...
+ @property
+ def eBroadcastBitWatchpointChanged(self): ...
+ @property
+ def eBroadcastBitSymbolsLoaded(self): ...
+ @property
+ def eBroadcastBitSymbolsChanged(self): ...
+ def __init__(self, *args): ...
+ @property
+ def __swig_destroy__(self): ...
+ def __nonzero__(self): ...
+ __bool__ = __nonzero__
+ def IsValid(self): ...
+ def EventIsTargetEvent(event): ...
+ def GetTargetFromEvent(event): ...
+ def GetNumModulesFromEvent(event): ...
+ def GetModuleAtIndexFromEvent(idx, event): ...
+ def GetBroadcasterClassName(): ...
+ def GetProcess(self): ...
+ def SetCollectingStats(self, v): ...
+ def GetCollectingStats(self): ...
+ def GetStatistics(self, *args): ...
+ def GetPlatform(self): ...
+ def GetEnvironment(self): ...
+ def Install(self): ...
+ def LoadCore(self, *args): ...
+ def LaunchSimple(self, argv, envp, working_directory): ...
+ def Launch(self, *args): ...
+ def Attach(self, attach_info, error): ...
+ def AttachToProcessWithID(self, listener, pid, error): ...
+ def AttachToProcessWithName(self, listener, name, wait_for, error): ...
+ def ConnectRemote(self, listener, url, plugin_name, error): ...
+ def GetExecutable(self): ...
+ def AppendImageSearchPath(self, _from, to, error): ...
+ def AddModule(self, *args): ...
+ def GetNumModules(self): ...
+ def GetModuleAtIndex(self, idx): ...
+ def RemoveModule(self, module): ...
+ def GetDebugger(self): ...
+ def FindModule(self, file_spec): ...
+ def FindCompileUnits(self, sb_file_spec): ...
+ def GetByteOrder(self): ...
+ def GetAddressByteSize(self): ...
+ def GetTriple(self): ...
+ def GetABIName(self): ...
+ def GetLabel(self): ...
+ def SetLabel(self, label): ...
+ def GetDataByteSize(self): ...
+ def GetCodeByteSize(self): ...
+ def GetMaximumNumberOfChildrenToDisplay(self): ...
+ def SetSectionLoadAddress(self, section, section_base_addr): ...
+ def ClearSectionLoadAddress(self, section): ...
+ def SetModuleLoadAddress(self, module, sections_offset): ...
+ def ClearModuleLoadAddress(self, module): ...
+ def FindFunctions(self, *args): ...
+ def FindFirstGlobalVariable(self, name): ...
+ def FindGlobalVariables(self, *args): ...
+ def FindGlobalFunctions(self, name, max_matches, matchtype): ...
+ def Clear(self): ...
+ def ResolveFileAddress(self, file_addr): ...
+ def ResolveLoadAddress(self, vm_addr): ...
+ def ResolvePastLoadAddress(self, stop_id, vm_addr): ...
+ def ResolveSymbolContextForAddress(self, addr, resolve_scope): ...
+ def ReadMemory(self, addr, buf, error): ...
+ def BreakpointCreateByLocation(self, *args): ...
+ def BreakpointCreateByName(self, *args): ...
+ def BreakpointCreateByNames(self, *args): ...
+ def BreakpointCreateByRegex(self, *args): ...
+ def BreakpointCreateBySourceRegex(self, *args): ...
+ def BreakpointCreateForException(self, language, catch_bp, throw_bp): ...
+ def BreakpointCreateByAddress(self, address): ...
+ def BreakpointCreateBySBAddress(self, address): ...
+ def BreakpointCreateFromScript(
+ self, class_name, extra_args, module_list, file_list, request_hardware=False
+ ): ...
+ def BreakpointsCreateFromFile(self, *args): ...
+ def BreakpointsWriteToFile(self, *args): ...
+ def GetNumBreakpoints(self): ...
+ def GetBreakpointAtIndex(self, idx): ...
+ def BreakpointDelete(self, break_id): ...
+ def FindBreakpointByID(self, break_id): ...
+ def FindBreakpointsByName(self, name, bkpt_list): ...
+ def GetBreakpointNames(self, names): ...
+ def DeleteBreakpointName(self, name): ...
+ def EnableAllBreakpoints(self): ...
+ def DisableAllBreakpoints(self): ...
+ def DeleteAllBreakpoints(self): ...
+ def GetNumWatchpoints(self): ...
+ def GetWatchpointAtIndex(self, idx): ...
+ def DeleteWatchpoint(self, watch_id): ...
+ def FindWatchpointByID(self, watch_id): ...
+ def WatchAddress(self, addr, size, read, modify, error): ...
+ def WatchpointCreateByAddress(self, addr, size, options, error): ...
+ def EnableAllWatchpoints(self): ...
+ def DisableAllWatchpoints(self): ...
+ def DeleteAllWatchpoints(self): ...
+ def GetBroadcaster(self): ...
+ def FindFirstType(self, type: str) -> SBType: ...
+ def FindTypes(self, type): ...
+ def GetBasicType(self, type): ...
+ def CreateValueFromAddress(self, name, addr, type): ...
+ def CreateValueFromData(self, name, data, type): ...
+ def CreateValueFromExpression(self, name, expr): ...
+ def GetSourceManager(self): ...
+ def ReadInstructions(self, *args): ...
+ def GetInstructions(self, base_addr, buf): ...
+ def GetInstructionsWithFlavor(self, base_addr, flavor_string, buf): ...
+ def FindSymbols(self, *args): ...
+ def __eq__(self, rhs) -> bool: ...
+ def __ne__(self, rhs) -> bool: ...
+ def GetDescription(self, description, description_level): ...
+ def EvaluateExpression(self, *args): ...
+ def GetStackRedZoneSize(self): ...
+ def IsLoaded(self, module): ...
+ def GetLaunchInfo(self): ...
+ def SetLaunchInfo(self, launch_info): ...
+ def GetTrace(self): ...
+ def CreateTrace(self, error): ...
+ def __repr__(self) -> str: ...
+ def get_modules_access_object(self): ...
+ def get_modules_array(self): ...
+ def module_iter(self): ...
+ def breakpoint_iter(self): ...
+ def get_bkpts_access_object(self): ...
+ def get_target_bkpts(self): ...
+ def watchpoint_iter(self): ...
+ def get_watchpoints_access_object(self): ...
+ def get_target_watchpoints(self): ...
+ @property
+ def modules(self): ...
+ @property
+ def module(self): ...
+ @property
+ def process(self): ...
+ @property
+ def executable(self): ...
+ @property
+ def debugger(self): ...
+ @property
+ def num_breakpoints(self): ...
+ @property
+ def breakpoints(self): ...
+ @property
+ def breakpoint(self): ...
+ @property
+ def num_watchpoints(self): ...
+ @property
+ def watchpoints(self): ...
+ @property
+ def watchpoint(self): ...
+ @property
+ def broadcaster(self): ...
+ @property
+ def byte_order(self): ...
+ @property
+ def addr_size(self): ...
+ @property
+ def triple(self): ...
+ @property
+ def data_byte_size(self): ...
+ @property
+ def code_byte_size(self): ...
+ @property
+ def platform(self): ...
+
class SBType:
@property
def thisown(self): ...
@@ -293,7 +466,7 @@ class SBValue:
def GetTypeFilter(self): ...
def GetTypeSynthetic(self): ...
def CreateChildAtOffset(self, name: str, offset: int, type: SBType) -> SBValue: ...
- def Cast(self, type): ...
+ def Cast(self, type: SBType) -> SBValue: ...
def CreateValueFromExpression(self, *args): ...
def CreateValueFromAddress(self, name, address, type): ...
def CreateValueFromData(self, name, data, type): ...
@@ -307,7 +480,7 @@ class SBValue:
def GetPointeeData(self, item_idx: int = 0, item_count: int = 1) -> SBData: ...
def GetData(self): ...
def SetData(self, data, error): ...
- def Clone(self, new_name): ...
+ def Clone(self, new_name: str) -> SBValue: ...
def GetDeclaration(self): ...
def MightHaveChildren(self): ...
def IsRuntimeSupportValue(self): ...
@@ -339,9 +512,9 @@ class SBValue:
@property
def child(self): ...
@property
- def name(self): ...
+ def name(self) -> str: ...
@property
- def type(self): ...
+ def type(self) -> SBType: ...
@property
def size(self): ...
@property
@@ -349,7 +522,7 @@ class SBValue:
@property
def format(self): ...
@property
- def value(self): ...
+ def value(self) -> str: ...
@property
def value_type(self): ...
@property
@@ -361,13 +534,13 @@ class SBValue:
@property
def addr(self): ...
@property
- def deref(self): ...
+ def deref(self) -> SBValue: ...
@property
- def address_of(self): ...
+ def address_of(self) -> SBValue: ...
@property
def error(self): ...
@property
- def summary(self): ...
+ def summary(self) -> str: ...
@property
def description(self): ...
@property
@@ -375,7 +548,7 @@ class SBValue:
@property
def location(self): ...
@property
- def target(self): ...
+ def target(self) -> SBTarget: ...
@property
def process(self): ...
@property
@@ -385,7 +558,7 @@ class SBValue:
@property
def num_children(self): ...
@property
- def unsigned(self): ...
+ def unsigned(self) -> int: ...
@property
def signed(self): ...
def get_expr_path(self): ...