@@ -51986,6 +51986,33 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetProcessInfo(PyObject *self, PyObject *ar
51986
51986
}
51987
51987
51988
51988
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
+
51989
52016
SWIGINTERN PyObject *_wrap_SBProcess_AllocateMemory(PyObject *self, PyObject *args) {
51990
52017
PyObject *resultobj = 0;
51991
52018
lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ;
@@ -90781,6 +90808,7 @@ static PyMethodDef SwigMethods[] = {
90781
90808
" if process_info.IsValid():\n"
90782
90809
" process_info.GetProcessID()\n"
90783
90810
""},
90811
+ { "SBProcess_GetCoreFile", _wrap_SBProcess_GetCoreFile, METH_O, "SBProcess_GetCoreFile(SBProcess self) -> SBFileSpec"},
90784
90812
{ "SBProcess_AllocateMemory", _wrap_SBProcess_AllocateMemory, METH_VARARGS, "\n"
90785
90813
"\n"
90786
90814
"Allocates a block of memory within the process, with size and\n"
0 commit comments