Skip to content

Commit fd770ea

Browse files
committed
Update static bindings.
1 parent 97e3433 commit fd770ea

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

lldb/bindings/python/static-binding/LLDBWrapPython.cpp

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51986,6 +51986,33 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetProcessInfo(PyObject *self, PyObject *ar
5198651986
}
5198751987

5198851988

51989+
SWIGINTERN PyObject *_wrap_SBProcess_GetCoreFile(PyObject *self, PyObject *args) {
51990+
PyObject *resultobj = 0;
51991+
lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
51992+
void *argp1 = 0 ;
51993+
int res1 = 0 ;
51994+
PyObject *swig_obj[1] ;
51995+
lldb::SBFileSpec result;
51996+
51997+
if (!args) SWIG_fail;
51998+
swig_obj[0] = args;
51999+
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProcess, 0 | 0 );
52000+
if (!SWIG_IsOK(res1)) {
52001+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetCoreFile" "', argument " "1"" of type '" "lldb::SBProcess *""'");
52002+
}
52003+
arg1 = reinterpret_cast< lldb::SBProcess * >(argp1);
52004+
{
52005+
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
52006+
result = (arg1)->GetCoreFile();
52007+
SWIG_PYTHON_THREAD_END_ALLOW;
52008+
}
52009+
resultobj = SWIG_NewPointerObj((new lldb::SBFileSpec(result)), SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_OWN | 0 );
52010+
return resultobj;
52011+
fail:
52012+
return NULL;
52013+
}
52014+
52015+
5198952016
SWIGINTERN PyObject *_wrap_SBProcess_AllocateMemory(PyObject *self, PyObject *args) {
5199052017
PyObject *resultobj = 0;
5199152018
lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
@@ -90781,6 +90808,7 @@ static PyMethodDef SwigMethods[] = {
9078190808
" if process_info.IsValid():\n"
9078290809
" process_info.GetProcessID()\n"
9078390810
""},
90811+
{ "SBProcess_GetCoreFile", _wrap_SBProcess_GetCoreFile, METH_O, "SBProcess_GetCoreFile(SBProcess self) -> SBFileSpec"},
9078490812
{ "SBProcess_AllocateMemory", _wrap_SBProcess_AllocateMemory, METH_VARARGS, "\n"
9078590813
"\n"
9078690814
"Allocates a block of memory within the process, with size and\n"

lldb/bindings/python/static-binding/lldb.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8960,6 +8960,10 @@ def GetProcessInfo(self):
89608960
"""
89618961
return _lldb.SBProcess_GetProcessInfo(self)
89628962

8963+
def GetCoreFile(self):
8964+
r"""GetCoreFile(SBProcess self) -> SBFileSpec"""
8965+
return _lldb.SBProcess_GetCoreFile(self)
8966+
89638967
def AllocateMemory(self, size, permissions, error):
89648968
r"""
89658969

0 commit comments

Comments
 (0)