@@ -8325,6 +8325,14 @@ def Launch(self, launch_info):
83258325 r"""Launch(SBPlatform self, SBLaunchInfo launch_info) -> SBError"""
83268326 return _lldb.SBPlatform_Launch(self, launch_info)
83278327
8328+ def Attach(self, attach_info, debugger, target, error):
8329+ r"""Attach(SBPlatform self, SBAttachInfo attach_info, SBDebugger debugger, SBTarget target, SBError error) -> SBProcess"""
8330+ return _lldb.SBPlatform_Attach(self, attach_info, debugger, target, error)
8331+
8332+ def GetAllProcesses(self, error):
8333+ r"""GetAllProcesses(SBPlatform self, SBError error) -> SBProcessInfoList"""
8334+ return _lldb.SBPlatform_GetAllProcesses(self, error)
8335+
83288336 def Kill(self, pid):
83298337 r"""Kill(SBPlatform self, lldb::pid_t const pid) -> SBError"""
83308338 return _lldb.SBPlatform_Kill(self, pid)
@@ -9085,6 +9093,43 @@ def GetTriple(self):
90859093
90869094# Register SBProcessInfo in _lldb:
90879095_lldb.SBProcessInfo_swigregister(SBProcessInfo)
9096+ class SBProcessInfoList(object):
9097+ r"""Proxy of C++ lldb::SBProcessInfoList class."""
9098+
9099+ thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
9100+ __repr__ = _swig_repr
9101+ __swig_destroy__ = _lldb.delete_SBProcessInfoList
9102+
9103+ def __init__(self, *args):
9104+ r"""
9105+ __init__(SBProcessInfoList self) -> SBProcessInfoList
9106+ __init__(SBProcessInfoList self, SBProcessInfoList rhs) -> SBProcessInfoList
9107+ """
9108+ _lldb.SBProcessInfoList_swiginit(self, _lldb.new_SBProcessInfoList(*args))
9109+
9110+ def GetSize(self):
9111+ r"""GetSize(SBProcessInfoList self) -> uint32_t"""
9112+ return _lldb.SBProcessInfoList_GetSize(self)
9113+
9114+ def GetProcessInfoAtIndex(self, idx, info):
9115+ r"""GetProcessInfoAtIndex(SBProcessInfoList self, uint32_t idx, SBProcessInfo info) -> bool"""
9116+ return _lldb.SBProcessInfoList_GetProcessInfoAtIndex(self, idx, info)
9117+
9118+ def Clear(self):
9119+ r"""Clear(SBProcessInfoList self)"""
9120+ return _lldb.SBProcessInfoList_Clear(self)
9121+
9122+ def __len__(self):
9123+ '''Return the number of process info in a lldb.SBProcessInfoListExtensions object.'''
9124+ return self.GetSize()
9125+
9126+ def __iter__(self):
9127+ '''Iterate over all the process info in a lldb.SBProcessInfoListExtensions object.'''
9128+ return lldb_iter(self, 'GetSize', 'GetProcessInfoAtIndex')
9129+
9130+
9131+ # Register SBProcessInfoList in _lldb:
9132+ _lldb.SBProcessInfoList_swigregister(SBProcessInfoList)
90889133class SBQueue(object):
90899134 r"""Represents a libdispatch queue in the process."""
90909135
0 commit comments