Skip to content

Commit 6ddc07c

Browse files
committed
[lldb] Regenerate static bindings
1 parent 35b2dbf commit 6ddc07c

File tree

2 files changed

+72
-33
lines changed

2 files changed

+72
-33
lines changed

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

Lines changed: 60 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -30287,6 +30287,34 @@ SWIGINTERN PyObject *_wrap_SBError_GetError(PyObject *self, PyObject *args) {
3028730287
}
3028830288

3028930289

30290+
SWIGINTERN PyObject *_wrap_SBError_GetErrorData(PyObject *self, PyObject *args) {
30291+
PyObject *resultobj = 0;
30292+
lldb::SBError *arg1 = (lldb::SBError *) 0 ;
30293+
void *argp1 = 0 ;
30294+
int res1 = 0 ;
30295+
PyObject *swig_obj[1] ;
30296+
lldb::SBStructuredData result;
30297+
30298+
(void)self;
30299+
if (!args) SWIG_fail;
30300+
swig_obj[0] = args;
30301+
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBError, 0 | 0 );
30302+
if (!SWIG_IsOK(res1)) {
30303+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBError_GetErrorData" "', argument " "1"" of type '" "lldb::SBError const *""'");
30304+
}
30305+
arg1 = reinterpret_cast< lldb::SBError * >(argp1);
30306+
{
30307+
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
30308+
result = ((lldb::SBError const *)arg1)->GetErrorData();
30309+
SWIG_PYTHON_THREAD_END_ALLOW;
30310+
}
30311+
resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 );
30312+
return resultobj;
30313+
fail:
30314+
return NULL;
30315+
}
30316+
30317+
3029030318
SWIGINTERN PyObject *_wrap_SBError_GetType(PyObject *self, PyObject *args) {
3029130319
PyObject *resultobj = 0;
3029230320
lldb::SBError *arg1 = (lldb::SBError *) 0 ;
@@ -37422,34 +37450,6 @@ SWIGINTERN PyObject *_wrap_SBFrame_IsSwiftThunk(PyObject *self, PyObject *args)
3742237450
}
3742337451

3742437452

37425-
SWIGINTERN PyObject *_wrap_SBFrame_GetLanguageSpecificData(PyObject *self, PyObject *args) {
37426-
PyObject *resultobj = 0;
37427-
lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
37428-
void *argp1 = 0 ;
37429-
int res1 = 0 ;
37430-
PyObject *swig_obj[1] ;
37431-
lldb::SBStructuredData result;
37432-
37433-
(void)self;
37434-
if (!args) SWIG_fail;
37435-
swig_obj[0] = args;
37436-
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBFrame, 0 | 0 );
37437-
if (!SWIG_IsOK(res1)) {
37438-
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBFrame_GetLanguageSpecificData" "', argument " "1"" of type '" "lldb::SBFrame const *""'");
37439-
}
37440-
arg1 = reinterpret_cast< lldb::SBFrame * >(argp1);
37441-
{
37442-
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
37443-
result = ((lldb::SBFrame const *)arg1)->GetLanguageSpecificData();
37444-
SWIG_PYTHON_THREAD_END_ALLOW;
37445-
}
37446-
resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 );
37447-
return resultobj;
37448-
fail:
37449-
return NULL;
37450-
}
37451-
37452-
3745337453
SWIGINTERN PyObject *_wrap_SBFrame_IsInlined__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) {
3745437454
PyObject *resultobj = 0;
3745537455
lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
@@ -37931,6 +37931,34 @@ SWIGINTERN PyObject *_wrap_SBFrame_EvaluateExpression(PyObject *self, PyObject *
3793137931
}
3793237932

3793337933

37934+
SWIGINTERN PyObject *_wrap_SBFrame_GetLanguageSpecificData(PyObject *self, PyObject *args) {
37935+
PyObject *resultobj = 0;
37936+
lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
37937+
void *argp1 = 0 ;
37938+
int res1 = 0 ;
37939+
PyObject *swig_obj[1] ;
37940+
lldb::SBStructuredData result;
37941+
37942+
(void)self;
37943+
if (!args) SWIG_fail;
37944+
swig_obj[0] = args;
37945+
res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBFrame, 0 | 0 );
37946+
if (!SWIG_IsOK(res1)) {
37947+
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBFrame_GetLanguageSpecificData" "', argument " "1"" of type '" "lldb::SBFrame const *""'");
37948+
}
37949+
arg1 = reinterpret_cast< lldb::SBFrame * >(argp1);
37950+
{
37951+
SWIG_PYTHON_THREAD_BEGIN_ALLOW;
37952+
result = ((lldb::SBFrame const *)arg1)->GetLanguageSpecificData();
37953+
SWIG_PYTHON_THREAD_END_ALLOW;
37954+
}
37955+
resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 );
37956+
return resultobj;
37957+
fail:
37958+
return NULL;
37959+
}
37960+
37961+
3793437962
SWIGINTERN PyObject *_wrap_SBFrame_GetFrameBlock(PyObject *self, PyObject *args) {
3793537963
PyObject *resultobj = 0;
3793637964
lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ;
@@ -96340,6 +96368,7 @@ static PyMethodDef SwigMethods[] = {
9634096368
{ "SBError_Fail", _wrap_SBError_Fail, METH_O, "SBError_Fail(SBError self) -> bool"},
9634196369
{ "SBError_Success", _wrap_SBError_Success, METH_O, "SBError_Success(SBError self) -> bool"},
9634296370
{ "SBError_GetError", _wrap_SBError_GetError, METH_O, "SBError_GetError(SBError self) -> uint32_t"},
96371+
{ "SBError_GetErrorData", _wrap_SBError_GetErrorData, METH_O, "SBError_GetErrorData(SBError self) -> SBStructuredData"},
9634396372
{ "SBError_GetType", _wrap_SBError_GetType, METH_O, "SBError_GetType(SBError self) -> lldb::ErrorType"},
9634496373
{ "SBError_SetError", _wrap_SBError_SetError, METH_VARARGS, "SBError_SetError(SBError self, uint32_t err, lldb::ErrorType type)"},
9634596374
{ "SBError_SetErrorToErrno", _wrap_SBError_SetErrorToErrno, METH_O, "SBError_SetErrorToErrno(SBError self)"},
@@ -96654,7 +96683,6 @@ static PyMethodDef SwigMethods[] = {
9665496683
" .\n"
9665596684
""},
9665696685
{ "SBFrame_IsSwiftThunk", _wrap_SBFrame_IsSwiftThunk, METH_O, "SBFrame_IsSwiftThunk(SBFrame self) -> bool"},
96657-
{ "SBFrame_GetLanguageSpecificData", _wrap_SBFrame_GetLanguageSpecificData, METH_O, "SBFrame_GetLanguageSpecificData(SBFrame self) -> SBStructuredData"},
9665896686
{ "SBFrame_IsInlined", _wrap_SBFrame_IsInlined, METH_VARARGS, "\n"
9665996687
"SBFrame_IsInlined(SBFrame self) -> bool\n"
9666096688
"SBFrame_IsInlined(SBFrame self) -> bool\n"
@@ -96681,6 +96709,7 @@ static PyMethodDef SwigMethods[] = {
9668196709
" The version that doesn't supply a 'use_dynamic' value will use the\n"
9668296710
" target's default.\n"
9668396711
""},
96712+
{ "SBFrame_GetLanguageSpecificData", _wrap_SBFrame_GetLanguageSpecificData, METH_O, "SBFrame_GetLanguageSpecificData(SBFrame self) -> SBStructuredData"},
9668496713
{ "SBFrame_GetFrameBlock", _wrap_SBFrame_GetFrameBlock, METH_O, "\n"
9668596714
"SBFrame_GetFrameBlock(SBFrame self) -> SBBlock\n"
9668696715
"\n"
@@ -102332,6 +102361,8 @@ SWIG_init(void) {
102332102361
SWIG_Python_SetConstant(d, "eArgTypeRemotePath",SWIG_From_int(static_cast< int >(lldb::eArgTypeRemotePath)));
102333102362
SWIG_Python_SetConstant(d, "eArgTypeRemoteFilename",SWIG_From_int(static_cast< int >(lldb::eArgTypeRemoteFilename)));
102334102363
SWIG_Python_SetConstant(d, "eArgTypeModule",SWIG_From_int(static_cast< int >(lldb::eArgTypeModule)));
102364+
SWIG_Python_SetConstant(d, "eArgTypeCPUName",SWIG_From_int(static_cast< int >(lldb::eArgTypeCPUName)));
102365+
SWIG_Python_SetConstant(d, "eArgTypeCPUFeatures",SWIG_From_int(static_cast< int >(lldb::eArgTypeCPUFeatures)));
102335102366
SWIG_Python_SetConstant(d, "eArgTypeLastArg",SWIG_From_int(static_cast< int >(lldb::eArgTypeLastArg)));
102336102367
SWIG_Python_SetConstant(d, "eSymbolTypeAny",SWIG_From_int(static_cast< int >(lldb::eSymbolTypeAny)));
102337102368
SWIG_Python_SetConstant(d, "eSymbolTypeInvalid",SWIG_From_int(static_cast< int >(lldb::eSymbolTypeInvalid)));

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1017,6 +1017,10 @@ def lldb_iter(obj, getsize, getelem):
10171017

10181018
eArgTypeModule = _lldb.eArgTypeModule
10191019

1020+
eArgTypeCPUName = _lldb.eArgTypeCPUName
1021+
1022+
eArgTypeCPUFeatures = _lldb.eArgTypeCPUFeatures
1023+
10201024
eArgTypeLastArg = _lldb.eArgTypeLastArg
10211025

10221026
eSymbolTypeAny = _lldb.eSymbolTypeAny
@@ -5425,6 +5429,10 @@ def GetError(self):
54255429
r"""GetError(SBError self) -> uint32_t"""
54265430
return _lldb.SBError_GetError(self)
54275431

5432+
def GetErrorData(self):
5433+
r"""GetErrorData(SBError self) -> SBStructuredData"""
5434+
return _lldb.SBError_GetErrorData(self)
5435+
54285436
def GetType(self):
54295437
r"""GetType(SBError self) -> lldb::ErrorType"""
54305438
return _lldb.SBError_GetType(self)
@@ -6435,10 +6443,6 @@ def IsSwiftThunk(self):
64356443
r"""IsSwiftThunk(SBFrame self) -> bool"""
64366444
return _lldb.SBFrame_IsSwiftThunk(self)
64376445

6438-
def GetLanguageSpecificData(self):
6439-
r"""GetLanguageSpecificData(SBFrame self) -> SBStructuredData"""
6440-
return _lldb.SBFrame_GetLanguageSpecificData(self)
6441-
64426446
def IsInlined(self, *args):
64436447
r"""
64446448
IsInlined(SBFrame self) -> bool
@@ -6477,6 +6481,10 @@ def EvaluateExpression(self, *args):
64776481
"""
64786482
return _lldb.SBFrame_EvaluateExpression(self, *args)
64796483

6484+
def GetLanguageSpecificData(self):
6485+
r"""GetLanguageSpecificData(SBFrame self) -> SBStructuredData"""
6486+
return _lldb.SBFrame_GetLanguageSpecificData(self)
6487+
64806488
def GetFrameBlock(self):
64816489
r"""
64826490
GetFrameBlock(SBFrame self) -> SBBlock

0 commit comments

Comments
 (0)