diff --git a/lldb/bindings/python/static-binding/LLDBWrapPython.cpp b/lldb/bindings/python/static-binding/LLDBWrapPython.cpp index b5168e469b51f..fbfaebeb9f2b7 100644 --- a/lldb/bindings/python/static-binding/LLDBWrapPython.cpp +++ b/lldb/bindings/python/static-binding/LLDBWrapPython.cpp @@ -1,17 +1,18 @@ /* ---------------------------------------------------------------------------- * This file was automatically generated by SWIG (https://www.swig.org). - * Version 4.2.1 + * Version 4.3.1 * * Do not make changes to this file unless you know what you are doing - modify * the SWIG interface file instead. * ----------------------------------------------------------------------------- */ -#define SWIG_VERSION 0x040201 +#define SWIG_VERSION 0x040301 #define SWIGPYTHON #define SWIG_PYTHON_THREADS #define SWIG_PYTHON_DIRECTOR_NO_VTABLE +#define SWIG_name "_lldb" /* ----------------------------------------------------------------------------- * This section contains generic SWIG labels for method/variable * declarations/attributes, and other compiler dependent labels. @@ -146,6 +147,10 @@ * swigcompat.swg * * Macros to provide support compatibility with older C and C++ standards. + * + * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard. + * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option. + * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus. * ----------------------------------------------------------------------------- */ /* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF @@ -199,11 +204,21 @@ # include #endif +#if defined(SWIGPYTHON_BUILTIN) && defined(SWIG_HEAPTYPES) +/* SWIG_HEAPTYPES is not ready for use with SWIGPYTHON_BUILTIN, but if turned on manually requires the following */ +#if PY_VERSION_HEX >= 0x03030000 && PY_VERSION_HEX < 0x030c0000 +#include +#define Py_READONLY READONLY +#define Py_T_PYSSIZET T_PYSSIZET +#endif +#endif + #if __GNUC__ >= 7 #pragma GCC diagnostic pop #endif #include +#include /* ----------------------------------------------------------------------------- * swigrun.swg @@ -822,10 +837,6 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) { #endif -#ifndef Py_TYPE -# define Py_TYPE(op) ((op)->ob_type) -#endif - /* SWIG APIs for compatibility of both Python 2 & 3 */ #if PY_VERSION_HEX >= 0x03000000 @@ -844,10 +855,11 @@ SWIG_PyUnicode_AsUTF8AndSize(PyObject *str, Py_ssize_t *psize, PyObject **pbytes *pbytes = NULL; return PyUnicode_AsUTF8AndSize(str, psize); # else - *pbytes = PyUnicode_AsUTF8String(str); - const char *chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL; - if (chars && psize) - *psize = PyBytes_Size(*pbytes); + const char *chars; + *pbytes = PyUnicode_AsUTF8String(str); + chars = *pbytes ? PyBytes_AsString(*pbytes) : NULL; + if (chars && psize) + *psize = PyBytes_Size(*pbytes); return chars; # endif #else @@ -868,10 +880,6 @@ SWIG_Python_str_FromChar(const char *c) #endif } -#ifndef PyObject_DEL -# define PyObject_DEL PyObject_Del -#endif - /* SWIGPY_USE_CAPSULE is no longer used within SWIG itself, but some user interface files check for it. */ # define SWIGPY_USE_CAPSULE #ifdef SWIGPYTHON_BUILTIN @@ -901,6 +909,19 @@ SWIG_Python_str_FromChar(const char *c) # define PySliceObject PyObject #endif +/* Increment and Decrement wrappers - for portability when using the stable abi and for performance otherwise */ +#ifdef Py_LIMITED_API +# define SWIG_Py_INCREF Py_IncRef +# define SWIG_Py_XINCREF Py_IncRef +# define SWIG_Py_DECREF Py_DecRef +# define SWIG_Py_XDECREF Py_DecRef +#else +# define SWIG_Py_INCREF Py_INCREF +# define SWIG_Py_XINCREF Py_XINCREF +# define SWIG_Py_DECREF Py_DECREF +# define SWIG_Py_XDECREF Py_XDECREF +#endif + /* ----------------------------------------------------------------------------- * error manipulation * ----------------------------------------------------------------------------- */ @@ -942,6 +963,9 @@ SWIG_Python_ErrorType(int code) { case SWIG_AttributeError: type = PyExc_AttributeError; break; + case SWIG_NullReferenceError: + type = PyExc_TypeError; + break; default: type = PyExc_RuntimeError; } @@ -963,14 +987,14 @@ SWIG_Python_AddErrorMsg(const char* mesg) PyObject *bytes = NULL; const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes); PyErr_Clear(); - Py_XINCREF(type); + SWIG_Py_XINCREF(type); if (tmp) PyErr_Format(type, "%s %s", tmp, mesg); else PyErr_Format(type, "%s", mesg); - Py_XDECREF(bytes); - Py_DECREF(old_str); - Py_DECREF(value); + SWIG_Py_XDECREF(bytes); + SWIG_Py_DECREF(old_str); + SWIG_Py_DECREF(value); } else { PyErr_SetString(PyExc_RuntimeError, mesg); } @@ -1000,7 +1024,7 @@ SWIG_Python_RaiseOrModifyTypeError(const char *message) newvalue = PyString_FromFormat("%s\nAdditional information:\n%s", PyString_AsString(value), message); #endif if (newvalue) { - Py_XDECREF(value); + SWIG_Py_XDECREF(value); PyErr_Restore(type, newvalue, traceback); } else { PyErr_Restore(type, value, traceback); @@ -1185,7 +1209,7 @@ SWIGINTERN void SWIG_Python_SetErrorObj(PyObject *errtype, PyObject *obj) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; PyErr_SetObject(errtype, obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); SWIG_PYTHON_THREAD_END_BLOCK; } @@ -1206,13 +1230,13 @@ SWIGINTERN void SwigPyBuiltin_AddPublicSymbol(PyObject *seq, const char *key) { PyObject *s = PyString_InternFromString(key); PyList_Append(seq, s); - Py_DECREF(s); + SWIG_Py_DECREF(s); } SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *name, PyObject *obj) { PyDict_SetItemString(d, name, obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); if (public_interface) SwigPyBuiltin_AddPublicSymbol(public_interface, name); } @@ -1222,7 +1246,7 @@ SWIG_Python_SetConstant(PyObject *d, PyObject *public_interface, const char *nam SWIGINTERN void SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { PyDict_SetItemString(d, name, obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } #endif @@ -1230,11 +1254,11 @@ SWIG_Python_SetConstant(PyObject *d, const char *name, PyObject *obj) { /* Append a value to the result obj */ SWIGINTERN PyObject* -SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { +SWIG_Python_AppendOutput(PyObject* result, PyObject* obj, int is_void) { if (!result) { result = obj; - } else if (result == Py_None) { - Py_DECREF(result); + } else if (result == Py_None && is_void) { + SWIG_Py_DECREF(result); result = obj; } else { if (!PyList_Check(result)) { @@ -1243,12 +1267,12 @@ SWIG_Python_AppendOutput(PyObject* result, PyObject* obj) { if (result) { PyList_SET_ITEM(result, 0, o2); } else { - Py_DECREF(obj); + SWIG_Py_DECREF(obj); return o2; } } PyList_Append(result,obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } return result; } @@ -1372,21 +1396,21 @@ swig_varlink_str(PyObject *o) { for (var = v->vars; var; var=var->next) { tail = PyUnicode_FromString(var->name); joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); + SWIG_Py_DECREF(str); + SWIG_Py_DECREF(tail); str = joined; if (var->next) { tail = PyUnicode_InternFromString(", "); joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); + SWIG_Py_DECREF(str); + SWIG_Py_DECREF(tail); str = joined; } } tail = PyUnicode_InternFromString(")"); joined = PyUnicode_Concat(str, tail); - Py_DecRef(str); - Py_DecRef(tail); + SWIG_Py_DECREF(str); + SWIG_Py_DECREF(tail); str = joined; #else PyObject *str = PyString_FromString("("); @@ -1448,10 +1472,14 @@ swig_varlink_setattr(PyObject *o, char *n, PyObject *p) { return res; } +#if !defined(SWIGPYTHON_BUILTIN) && PY_VERSION_HEX >= 0x03030000 +#define SWIG_HEAPTYPES +#endif + SWIGINTERN PyTypeObject* swig_varlink_type(void) { static char varlink__doc__[] = "Swig var link object"; -#ifndef Py_LIMITED_API +#ifndef SWIG_HEAPTYPES static PyTypeObject varlink_type; static int type_init = 0; if (!type_init) { @@ -1467,9 +1495,9 @@ swig_varlink_type(void) { 0, /* tp_itemsize */ (destructor) swig_varlink_dealloc, /* tp_dealloc */ #if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ + (printfunc)0, /* tp_print */ #else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ + (Py_ssize_t)0, /* tp_vectorcall_offset */ #endif (getattrfunc) swig_varlink_getattr, /* tp_getattr */ (setattrfunc) swig_varlink_setattr, /* tp_setattr */ @@ -1502,9 +1530,12 @@ swig_varlink_type(void) { #if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) 0, /* tp_print */ #endif -#if PY_VERSION_HEX >= 0x030C0000 +#if PY_VERSION_HEX >= 0x030c0000 0, /* tp_watched */ #endif +#if PY_VERSION_HEX >= 0x030d00a4 + 0, /* tp_versions_used */ +#endif #ifdef COUNT_ALLOCS 0, /* tp_allocs */ 0, /* tp_frees */ @@ -1605,7 +1636,7 @@ SWIGRUNTIMEINLINE PyObject * SWIG_Py_Void(void) { PyObject *none = Py_None; - Py_INCREF(none); + SWIG_Py_INCREF(none); return none; } @@ -1648,27 +1679,27 @@ SwigPyClientData_New(PyObject* obj) SwigPyClientData *data = (SwigPyClientData *)malloc(sizeof(SwigPyClientData)); /* the klass element */ data->klass = obj; - Py_INCREF(data->klass); + SWIG_Py_INCREF(data->klass); /* the newraw method and newargs arguments used to create a new raw instance */ if (PyClass_Check(obj)) { data->newraw = 0; - Py_INCREF(obj); + SWIG_Py_INCREF(obj); data->newargs = obj; } else { data->newraw = PyObject_GetAttrString(data->klass, "__new__"); if (data->newraw) { data->newargs = PyTuple_New(1); if (data->newargs) { - Py_INCREF(obj); + SWIG_Py_INCREF(obj); PyTuple_SET_ITEM(data->newargs, 0, obj); } else { - Py_DECREF(data->newraw); - Py_DECREF(data->klass); + SWIG_Py_DECREF(data->newraw); + SWIG_Py_DECREF(data->klass); free(data); return 0; } } else { - Py_INCREF(obj); + SWIG_Py_INCREF(obj); data->newargs = obj; } } @@ -1692,10 +1723,10 @@ SwigPyClientData_New(PyObject* obj) SWIGRUNTIME void SwigPyClientData_Del(SwigPyClientData *data) { - Py_XDECREF(data->klass); - Py_XDECREF(data->newraw); - Py_XDECREF(data->newargs); - Py_XDECREF(data->destroy); + SWIG_Py_XDECREF(data->klass); + SWIG_Py_XDECREF(data->newraw); + SWIG_Py_XDECREF(data->newargs); + SWIG_Py_XDECREF(data->destroy); free(data); } @@ -1723,7 +1754,7 @@ SwigPyObject_get___dict__(PyObject *v, PyObject *SWIGUNUSEDPARM(args)) if (!sobj->dict) sobj->dict = PyDict_New(); - Py_XINCREF(sobj->dict); + SWIG_Py_XINCREF(sobj->dict); return sobj->dict; } @@ -1752,10 +1783,10 @@ SwigPyObject_format(const char* fmt, SwigPyObject *v) #else res = PyString_Format(ofmt,args); #endif - Py_DECREF(ofmt); + SWIG_Py_DECREF(ofmt); } } - Py_DECREF(args); + SWIG_Py_DECREF(args); } return res; } @@ -1782,14 +1813,14 @@ SwigPyObject_repr(SwigPyObject *v) if (nrep) { # if PY_VERSION_HEX >= 0x03000000 PyObject *joined = PyUnicode_Concat(repr, nrep); - Py_DecRef(repr); - Py_DecRef(nrep); + SWIG_Py_DECREF(repr); + SWIG_Py_DECREF(nrep); repr = joined; # else PyString_ConcatAndDel(&repr,nrep); # endif } else { - Py_DecRef(repr); + SWIG_Py_DECREF(repr); repr = NULL; } } @@ -1819,7 +1850,7 @@ SwigPyObject_richcompare(SwigPyObject *v, SwigPyObject *w, int op) PyObject* res = NULL; if (!PyErr_Occurred()) { if (op != Py_EQ && op != Py_NE) { - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } res = PyBool_FromLong( (SwigPyObject_compare(v, w)==0) == (op == Py_EQ) ? 1 : 0); @@ -1858,15 +1889,18 @@ SwigPyObject_Check(PyObject *op) { return 1; return (strcmp(op_type->tp_name, "SwigPyObject") == 0); #else +# ifdef Py_LIMITED_API + int cmp; + PyObject *tp_name; +#endif if (op_type == target_tp) return 1; # ifdef Py_LIMITED_API - int cmp; - PyObject *tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__"); + tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__"); if (!tp_name) return 0; cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyObject"); - Py_DECREF(tp_name); + SWIG_Py_DECREF(tp_name); return cmp == 0; # else return (strcmp(op_type->tp_name, "SwigPyObject") == 0); @@ -1910,7 +1944,7 @@ SwigPyObject_dealloc(PyObject *v) } else { res = 0; } - Py_XDECREF(tmp); + SWIG_Py_XDECREF(tmp); } else { PyCFunction meth = PyCFunction_GET_FUNCTION(destroy); PyObject *mself = PyCFunction_GET_SELF(destroy); @@ -1921,7 +1955,7 @@ SwigPyObject_dealloc(PyObject *v) PyErr_Restore(type, value, traceback); - Py_XDECREF(res); + SWIG_Py_XDECREF(res); } #if !defined(SWIG_PYTHON_SILENT_MEMLEAK) else { @@ -1929,13 +1963,13 @@ SwigPyObject_dealloc(PyObject *v) printf("swig/python detected a memory leak of type '%s', no destructor found.\n", (name ? name : "unknown")); } #endif - Py_XDECREF(Swig_Capsule_global); + SWIG_Py_XDECREF(Swig_Capsule_global); } - Py_XDECREF(next); + SWIG_Py_XDECREF(next); #ifdef SWIGPYTHON_BUILTIN - Py_XDECREF(sobj->dict); + SWIG_Py_XDECREF(sobj->dict); #endif - PyObject_DEL(v); + PyObject_Free(v); } SWIGRUNTIME PyObject* @@ -1948,7 +1982,7 @@ SwigPyObject_append(PyObject* v, PyObject* next) } ((SwigPyObject *)next)->next = sobj->next; sobj->next = next; - Py_INCREF(next); + SWIG_Py_INCREF(next); return SWIG_Py_Void(); } @@ -1957,7 +1991,7 @@ SwigPyObject_next(PyObject* v, PyObject *SWIGUNUSEDPARM(args)) { SwigPyObject *sobj = (SwigPyObject *) v; if (sobj->next) { - Py_INCREF(sobj->next); + SWIG_Py_INCREF(sobj->next); return sobj->next; } else { return SWIG_Py_Void(); @@ -1991,9 +2025,9 @@ SwigPyObject_own(PyObject *v, PyObject *args) PyObject *obj = PyBool_FromLong(sobj->own); if (val) { if (PyObject_IsTrue(val)) { - Py_DECREF(SwigPyObject_acquire(v,args)); + SWIG_Py_DECREF(SwigPyObject_acquire(v,args)); } else { - Py_DECREF(SwigPyObject_disown(v,args)); + SWIG_Py_DECREF(SwigPyObject_disown(v,args)); } } return obj; @@ -2014,7 +2048,7 @@ swigobject_methods[] = { SWIGRUNTIME PyTypeObject* SwigPyObject_TypeOnce(void) { static char swigobject_doc[] = "Swig object carries a C/C++ instance pointer"; -#ifndef Py_LIMITED_API +#ifndef SWIG_HEAPTYPES static PyNumberMethods SwigPyObject_as_number = { (binaryfunc)0, /*nb_add*/ (binaryfunc)0, /*nb_subtract*/ @@ -2074,9 +2108,9 @@ SwigPyObject_TypeOnce(void) { 0, /* tp_itemsize */ (destructor)SwigPyObject_dealloc, /* tp_dealloc */ #if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ + (printfunc)0, /* tp_print */ #else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ + (Py_ssize_t)0, /* tp_vectorcall_offset */ #endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ @@ -2132,9 +2166,12 @@ SwigPyObject_TypeOnce(void) { #if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) 0, /* tp_print */ #endif -#if PY_VERSION_HEX >= 0x030C0000 +#if PY_VERSION_HEX >= 0x030c0000 0, /* tp_watched */ #endif +#if PY_VERSION_HEX >= 0x030d00a4 + 0, /* tp_versions_used */ +#endif #ifdef COUNT_ALLOCS 0, /* tp_allocs */ 0, /* tp_frees */ @@ -2164,7 +2201,7 @@ SwigPyObject_TypeOnce(void) { "SwigPyObject", sizeof(SwigPyObject), 0, - Py_TPFLAGS_DEFAULT, + Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, slots }; return (PyTypeObject *)PyType_FromSpec(&spec); @@ -2187,7 +2224,7 @@ SwigPyObject_New(void *ptr, swig_type_info *ty, int own) /* Obtain a reference to the Python capsule wrapping the module information, so that the * module information is correctly destroyed after all SWIG python objects have been freed * by the GC (and corresponding destructors invoked) */ - Py_XINCREF(Swig_Capsule_global); + SWIG_Py_XINCREF(Swig_Capsule_global); } } return (PyObject *)sobj; @@ -2245,16 +2282,19 @@ SwigPyPacked_type(void) { SWIGRUNTIMEINLINE int SwigPyPacked_Check(PyObject *op) { +#ifdef Py_LIMITED_API + int cmp; + PyObject *tp_name; +#endif PyTypeObject* op_type = Py_TYPE(op); if (op_type == SwigPyPacked_TypeOnce()) return 1; #ifdef Py_LIMITED_API - int cmp; - PyObject *tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__"); + tp_name = PyObject_GetAttrString((PyObject *)op_type, "__name__"); if (!tp_name) return 0; cmp = PyUnicode_CompareWithASCIIString(tp_name, "SwigPyPacked"); - Py_DECREF(tp_name); + SWIG_Py_DECREF(tp_name); return cmp == 0; #else return (strcmp(op_type->tp_name, "SwigPyPacked") == 0); @@ -2268,13 +2308,13 @@ SwigPyPacked_dealloc(PyObject *v) SwigPyPacked *sobj = (SwigPyPacked *) v; free(sobj->pack); } - PyObject_DEL(v); + PyObject_Free(v); } SWIGRUNTIME PyTypeObject* SwigPyPacked_TypeOnce(void) { static char swigpacked_doc[] = "Swig object carries a C/C++ instance pointer"; -#ifndef Py_LIMITED_API +#ifndef SWIG_HEAPTYPES static PyTypeObject swigpypacked_type; static int type_init = 0; if (!type_init) { @@ -2290,9 +2330,9 @@ SwigPyPacked_TypeOnce(void) { 0, /* tp_itemsize */ (destructor)SwigPyPacked_dealloc, /* tp_dealloc */ #if PY_VERSION_HEX < 0x030800b4 - (printfunc)0, /*tp_print*/ + (printfunc)0, /* tp_print */ #else - (Py_ssize_t)0, /*tp_vectorcall_offset*/ + (Py_ssize_t)0, /* tp_vectorcall_offset */ #endif (getattrfunc)0, /* tp_getattr */ (setattrfunc)0, /* tp_setattr */ @@ -2348,9 +2388,12 @@ SwigPyPacked_TypeOnce(void) { #if (PY_VERSION_HEX >= 0x03080000) && (PY_VERSION_HEX < 0x03090000) 0, /* tp_print */ #endif -#if PY_VERSION_HEX >= 0x030C0000 +#if PY_VERSION_HEX >= 0x030c0000 0, /* tp_watched */ #endif +#if PY_VERSION_HEX >= 0x030d00a4 + 0, /* tp_versions_used */ +#endif #ifdef COUNT_ALLOCS 0, /* tp_allocs */ 0, /* tp_frees */ @@ -2397,7 +2440,7 @@ SwigPyPacked_New(void *ptr, size_t size, swig_type_info *ty) sobj->ty = ty; sobj->size = size; } else { - PyObject_DEL((PyObject *) sobj); + PyObject_Free((PyObject *)sobj); sobj = 0; } } @@ -2450,7 +2493,12 @@ SWIG_Python_GetSwigThis(PyObject *pyobj) (void)obj; # ifdef PyWeakref_CheckProxy if (PyWeakref_CheckProxy(pyobj)) { +#if PY_VERSION_HEX >= 0x030d0000 + PyWeakref_GetRef(pyobj, &pyobj); + Py_DECREF(pyobj); +#else pyobj = PyWeakref_GET_OBJECT(pyobj); +#endif if (pyobj && SwigPyObject_Check(pyobj)) return (SwigPyObject*) pyobj; } @@ -2477,7 +2525,7 @@ SWIG_Python_GetSwigThis(PyObject *pyobj) #endif obj = PyObject_GetAttr(pyobj,SWIG_This()); if (obj) { - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } else { if (PyErr_Occurred()) PyErr_Clear(); return 0; @@ -2487,7 +2535,7 @@ SWIG_Python_GetSwigThis(PyObject *pyobj) #else obj = PyObject_GetAttr(pyobj,SWIG_This()); if (obj) { - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } else { if (PyErr_Occurred()) PyErr_Clear(); return 0; @@ -2613,7 +2661,7 @@ SWIG_Python_ConvertPtrAndOwn(PyObject *obj, void **ptr, swig_type_info *ty, int } } } - Py_DECREF(impconv); + SWIG_Py_DECREF(impconv); } } } @@ -2651,8 +2699,8 @@ SWIG_Python_ConvertFunctionPtr(PyObject *obj, void **ptr, swig_type_info *ty) { if (desc) desc = ty ? SWIG_UnpackVoidPtr(desc + 10, &vptr, ty->name) : 0; #ifdef Py_LIMITED_API - Py_XDECREF(bytes); - Py_XDECREF(pystr_doc); + SWIG_Py_XDECREF(bytes); + SWIG_Py_XDECREF(pystr_doc); #endif if (!desc) return SWIG_ERROR; @@ -2712,13 +2760,13 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) if (dict) { PyDict_SetItem(dict, SWIG_This(), swig_this); } else{ - Py_DECREF(inst); + SWIG_Py_DECREF(inst); inst = 0; } } #else if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { - Py_DECREF(inst); + SWIG_Py_DECREF(inst); inst = 0; } #endif @@ -2735,24 +2783,24 @@ SWIG_Python_NewShadowInstance(SwigPyClientData *data, PyObject *swig_this) newfunc newfn = (newfunc)PyType_GetSlot((PyTypeObject *)data->newargs, Py_tp_new); #endif inst = newfn((PyTypeObject *)data->newargs, empty_args, empty_kwargs); - Py_DECREF(empty_kwargs); + SWIG_Py_DECREF(empty_kwargs); if (inst) { if (PyObject_SetAttr(inst, SWIG_This(), swig_this) == -1) { - Py_DECREF(inst); + SWIG_Py_DECREF(inst); inst = 0; } else { PyType_Modified(Py_TYPE(inst)); } } } - Py_DECREF(empty_args); + SWIG_Py_DECREF(empty_args); } #else PyObject *dict = PyDict_New(); if (dict) { PyDict_SetItem(dict, SWIG_This(), swig_this); inst = PyInstance_NewRaw(data->newargs, dict); - Py_DECREF(dict); + SWIG_Py_DECREF(dict); } #endif } @@ -2789,7 +2837,7 @@ SWIG_Python_InitShadowInstance(PyObject *args) { } else { SwigPyObject *sthis = SWIG_Python_GetSwigThis(obj[0]); if (sthis) { - Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); + SWIG_Py_DECREF(SwigPyObject_append((PyObject*) sthis, obj[1])); } else { if (SWIG_Python_SetSwigThis(obj[0], obj[1]) != 0) return NULL; @@ -2853,7 +2901,7 @@ SWIG_Python_NewPointerObj(PyObject *self, void *ptr, swig_type_info *type, int f robj = SwigPyObject_New(ptr, type, own); if (robj && clientdata && !(flags & SWIG_POINTER_NOSHADOW)) { PyObject *inst = SWIG_Python_NewShadowInstance(clientdata, robj); - Py_DECREF(robj); + SWIG_Py_DECREF(robj); robj = inst; } return robj; @@ -2922,11 +2970,11 @@ SWIG_Python_DestroyModule(PyObject *obj) if (data) SwigPyClientData_Del(data); } } - Py_DECREF(SWIG_This()); + SWIG_Py_DECREF(SWIG_This()); Swig_This_global = NULL; - Py_DECREF(SWIG_globals()); + SWIG_Py_DECREF(SWIG_globals()); Swig_Globals_global = NULL; - Py_DECREF(SWIG_Python_TypeCache()); + SWIG_Py_DECREF(SWIG_Python_TypeCache()); Swig_TypeCache_global = NULL; Swig_Capsule_global = NULL; } @@ -2946,10 +2994,10 @@ SWIG_Python_SetModule(swig_module_info *swig_module) { ++interpreter_counter; Swig_Capsule_global = pointer; } else { - Py_DECREF(pointer); + SWIG_Py_DECREF(pointer); } } else { - Py_XDECREF(pointer); + SWIG_Py_XDECREF(pointer); } } @@ -2969,11 +3017,11 @@ SWIG_Python_TypeQuery(const char *type) obj = PyCapsule_New((void*) descriptor, NULL, NULL); if (obj) { PyDict_SetItem(cache, key, obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } } } - Py_DECREF(key); + SWIG_Py_DECREF(key); return descriptor; } @@ -2997,15 +3045,15 @@ SWIG_Python_AddErrMesg(const char* mesg, int infront) PyObject *bytes = NULL; const char *tmp = SWIG_PyUnicode_AsUTF8AndSize(old_str, NULL, &bytes); const char *errmesg = tmp ? tmp : "Invalid error message"; - Py_XINCREF(type); + SWIG_Py_XINCREF(type); PyErr_Clear(); if (infront) { PyErr_Format(type, "%s %s", mesg, errmesg); } else { PyErr_Format(type, "%s %s", errmesg, mesg); } - Py_XDECREF(bytes); - Py_DECREF(old_str); + SWIG_Py_XDECREF(bytes); + SWIG_Py_DECREF(old_str); } return 1; } else { @@ -3037,6 +3085,7 @@ SwigPyObject_GetDesc(PyObject *self) SWIGRUNTIME void SWIG_Python_TypeError(const char *type, PyObject *obj) { + (void) obj; if (type) { #if defined(SWIG_COBJECT_TYPES) if (obj && SwigPyObject_Check(obj)) { @@ -3063,8 +3112,8 @@ SWIG_Python_TypeError(const char *type, PyObject *obj) PyErr_Format(PyExc_TypeError, "a '%s' is expected, '%s' is received", type, otype); } - Py_XDECREF(bytes); - Py_XDECREF(str); + SWIG_Py_XDECREF(bytes); + SWIG_Py_XDECREF(str); return; } #endif @@ -3108,7 +3157,7 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { PyErr_Format(PyExc_TypeError, "attribute name must be string, not '%.200s'", name->ob_type->tp_name); return -1; } else { - Py_INCREF(name); + SWIG_Py_INCREF(name); } if (!tp->tp_dict) { @@ -3123,20 +3172,20 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { if (!f) { if (PyString_Check(name)) { encoded_name = name; - Py_INCREF(name); + SWIG_Py_INCREF(name); } else { encoded_name = PyUnicode_AsUTF8String(name); if (!encoded_name) goto done; } PyErr_Format(PyExc_AttributeError, "'%.100s' object has no attribute '%.200s'", tp->tp_name, PyString_AsString(encoded_name)); - Py_DECREF(encoded_name); + SWIG_Py_DECREF(encoded_name); } else { res = f(descr, obj, value); } done: - Py_DECREF(name); + SWIG_Py_DECREF(name); return res; } #endif @@ -3210,204 +3259,210 @@ SWIG_Python_NonDynamicSetAttr(PyObject *obj, PyObject *name, PyObject *value) { #define SWIGTYPE_p_lldb__SBProcess swig_types[51] #define SWIGTYPE_p_lldb__SBProcessInfo swig_types[52] #define SWIGTYPE_p_lldb__SBProcessInfoList swig_types[53] -#define SWIGTYPE_p_lldb__SBQueue swig_types[54] -#define SWIGTYPE_p_lldb__SBQueueItem swig_types[55] -#define SWIGTYPE_p_lldb__SBReproducer swig_types[56] -#define SWIGTYPE_p_lldb__SBScriptObject swig_types[57] -#define SWIGTYPE_p_lldb__SBSection swig_types[58] -#define SWIGTYPE_p_lldb__SBSourceManager swig_types[59] -#define SWIGTYPE_p_lldb__SBStatisticsOptions swig_types[60] -#define SWIGTYPE_p_lldb__SBStream swig_types[61] -#define SWIGTYPE_p_lldb__SBStringList swig_types[62] -#define SWIGTYPE_p_lldb__SBStructuredData swig_types[63] -#define SWIGTYPE_p_lldb__SBSymbol swig_types[64] -#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[65] -#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[66] -#define SWIGTYPE_p_lldb__SBTarget swig_types[67] -#define SWIGTYPE_p_lldb__SBThread swig_types[68] -#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[69] -#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[70] -#define SWIGTYPE_p_lldb__SBTrace swig_types[71] -#define SWIGTYPE_p_lldb__SBTraceCursor swig_types[72] -#define SWIGTYPE_p_lldb__SBType swig_types[73] -#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[74] -#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[75] -#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[76] -#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[77] -#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[78] -#define SWIGTYPE_p_lldb__SBTypeList swig_types[79] -#define SWIGTYPE_p_lldb__SBTypeMember swig_types[80] -#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[81] -#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[82] -#define SWIGTYPE_p_lldb__SBTypeStaticField swig_types[83] -#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[84] -#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[85] -#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[86] -#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[87] -#define SWIGTYPE_p_lldb__SBValue swig_types[88] -#define SWIGTYPE_p_lldb__SBValueList swig_types[89] -#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[90] -#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[91] -#define SWIGTYPE_p_lldb__SBWatchpointOptions swig_types[92] -#define SWIGTYPE_p_long_double swig_types[93] -#define SWIGTYPE_p_long_long swig_types[94] -#define SWIGTYPE_p_p_void swig_types[95] -#define SWIGTYPE_p_pthread_rwlock_t swig_types[96] -#define SWIGTYPE_p_pthread_t swig_types[97] -#define SWIGTYPE_p_short swig_types[98] -#define SWIGTYPE_p_signed_char swig_types[99] -#define SWIGTYPE_p_size_t swig_types[100] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[101] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[102] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[103] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[104] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[105] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[106] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[107] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[108] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[109] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[110] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[111] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[112] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[113] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[114] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[115] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[116] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[117] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[118] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[119] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[120] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[121] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[122] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[123] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t swig_types[124] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[125] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[126] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[127] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[128] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[129] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[130] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[131] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[132] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[133] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[134] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[135] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[136] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t swig_types[137] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[138] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectContainer_t swig_types[139] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[140] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[141] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t swig_types[142] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[143] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[144] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[145] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[146] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[147] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[148] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[149] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[150] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[151] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[152] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[153] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[154] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t swig_types[155] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[156] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[157] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[158] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t swig_types[159] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[160] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t swig_types[161] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[162] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[163] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[164] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[165] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[166] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[167] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[168] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[169] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[170] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[171] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[172] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SupportFile_t swig_types[173] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[174] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[175] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[176] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[177] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[178] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[179] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[180] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[181] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t swig_types[182] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[183] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t swig_types[184] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Trace_t swig_types[185] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[186] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[187] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[188] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[189] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[190] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[191] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[192] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[193] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[194] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystemClang_t swig_types[195] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[196] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[197] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[198] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[199] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[200] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[201] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[202] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[203] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[204] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[205] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[206] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WatchpointResource_t swig_types[207] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[208] -#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t swig_types[209] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__AddressRange_t swig_types[210] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[211] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[212] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[213] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[214] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[215] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[216] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t swig_types[217] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t swig_types[218] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[219] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[220] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t swig_types[221] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[222] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[223] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[224] -#define SWIGTYPE_p_std__unique_ptrT_lldb_private__TraceExporter_t swig_types[225] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[226] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[227] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[228] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[229] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[230] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[231] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[232] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[233] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[234] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[235] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[236] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[237] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[238] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[239] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ThreadPlan_t swig_types[240] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[241] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__TypeSystem_t swig_types[242] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[243] -#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[244] -#define SWIGTYPE_p_unsigned_char swig_types[245] -#define SWIGTYPE_p_unsigned_int swig_types[246] -#define SWIGTYPE_p_unsigned_long_long swig_types[247] -#define SWIGTYPE_p_unsigned_short swig_types[248] -#define SWIGTYPE_p_void swig_types[249] -static swig_type_info *swig_types[251]; -static swig_module_info swig_module = {swig_types, 250, 0, 0, 0, 0}; +#define SWIGTYPE_p_lldb__SBProgress swig_types[54] +#define SWIGTYPE_p_lldb__SBQueue swig_types[55] +#define SWIGTYPE_p_lldb__SBQueueItem swig_types[56] +#define SWIGTYPE_p_lldb__SBReproducer swig_types[57] +#define SWIGTYPE_p_lldb__SBSaveCoreOptions swig_types[58] +#define SWIGTYPE_p_lldb__SBScriptObject swig_types[59] +#define SWIGTYPE_p_lldb__SBSection swig_types[60] +#define SWIGTYPE_p_lldb__SBSourceManager swig_types[61] +#define SWIGTYPE_p_lldb__SBStatisticsOptions swig_types[62] +#define SWIGTYPE_p_lldb__SBStream swig_types[63] +#define SWIGTYPE_p_lldb__SBStringList swig_types[64] +#define SWIGTYPE_p_lldb__SBStructuredData swig_types[65] +#define SWIGTYPE_p_lldb__SBSymbol swig_types[66] +#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[67] +#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[68] +#define SWIGTYPE_p_lldb__SBTarget swig_types[69] +#define SWIGTYPE_p_lldb__SBThread swig_types[70] +#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[71] +#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[72] +#define SWIGTYPE_p_lldb__SBTrace swig_types[73] +#define SWIGTYPE_p_lldb__SBTraceCursor swig_types[74] +#define SWIGTYPE_p_lldb__SBType swig_types[75] +#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[76] +#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[77] +#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[78] +#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[79] +#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[80] +#define SWIGTYPE_p_lldb__SBTypeList swig_types[81] +#define SWIGTYPE_p_lldb__SBTypeMember swig_types[82] +#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[83] +#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[84] +#define SWIGTYPE_p_lldb__SBTypeStaticField swig_types[85] +#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[86] +#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[87] +#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[88] +#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[89] +#define SWIGTYPE_p_lldb__SBValue swig_types[90] +#define SWIGTYPE_p_lldb__SBValueList swig_types[91] +#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[92] +#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[93] +#define SWIGTYPE_p_lldb__SBWatchpointOptions swig_types[94] +#define SWIGTYPE_p_long_double swig_types[95] +#define SWIGTYPE_p_long_long swig_types[96] +#define SWIGTYPE_p_p_void swig_types[97] +#define SWIGTYPE_p_pthread_rwlock_t swig_types[98] +#define SWIGTYPE_p_pthread_t swig_types[99] +#define SWIGTYPE_p_short swig_types[100] +#define SWIGTYPE_p_signed_char swig_types[101] +#define SWIGTYPE_p_size_t swig_types[102] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[103] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[104] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[105] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[106] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[107] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[108] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[109] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[110] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[111] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[112] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[113] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[114] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Connection_t swig_types[115] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataBuffer_t swig_types[116] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__DataExtractor_t swig_types[117] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Debugger_t swig_types[118] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Disassembler_t swig_types[119] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventDataStructuredData_t swig_types[120] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__EventData_t swig_types[121] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Event_t swig_types[122] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExecutionContextRef_t swig_types[123] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ExpressionVariable_t swig_types[124] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__File_t swig_types[125] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FormatEntity__Entry_t swig_types[126] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__FuncUnwinders_t swig_types[127] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Function_t swig_types[128] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOHandler_t swig_types[129] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IOObject_t swig_types[130] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__IRExecutionUnit_t swig_types[131] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InlineFunctionInfo_t swig_types[132] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Instruction_t swig_types[133] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__InstrumentationRuntime_t swig_types[134] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__JITLoader_t swig_types[135] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__LanguageRuntime_t swig_types[136] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Listener_t swig_types[137] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__LockableStreamFile_t swig_types[138] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryHistory_t swig_types[139] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t swig_types[140] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Module_t swig_types[141] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectContainer_t swig_types[142] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[143] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ObjectFile_t swig_types[144] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OperatingSystemInterface_t swig_types[145] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValueProperties_t swig_types[146] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__OptionValue_t swig_types[147] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Platform_t swig_types[148] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessAttachInfo_t swig_types[149] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ProcessLaunchInfo_t swig_types[150] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Process_t swig_types[151] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__QueueItem_t swig_types[152] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Queue_t swig_types[153] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__REPL_t swig_types[154] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RecognizedStackFrame_t swig_types[155] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterCheckpoint_t swig_types[156] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterContext_t swig_types[157] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegisterTypeBuilder_t swig_types[158] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__RegularExpression_t swig_types[159] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t swig_types[160] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t swig_types[161] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t swig_types[162] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t swig_types[163] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t swig_types[164] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t swig_types[165] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t swig_types[166] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SearchFilter_t swig_types[167] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SectionLoadList_t swig_types[168] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Section_t swig_types[169] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameList_t swig_types[170] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrameRecognizer_t swig_types[171] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StackFrame_t swig_types[172] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StopInfo_t swig_types[173] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StreamFile_t swig_types[174] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Stream_t swig_types[175] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StringSummaryFormat_t swig_types[176] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__StructuredDataPlugin_t swig_types[177] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SupportFile_t swig_types[178] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolContextSpecifier_t swig_types[179] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SymbolFileType_t swig_types[180] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildrenFrontEnd_t swig_types[181] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__SyntheticChildren_t swig_types[182] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Target_t swig_types[183] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadCollection_t swig_types[184] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlanTracer_t swig_types[185] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPlan_t swig_types[186] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ThreadPostMortemTrace_t swig_types[187] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Thread_t swig_types[188] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TraceCursor_t swig_types[189] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Trace_t swig_types[190] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeCategoryImpl_t swig_types[191] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeEnumMemberImpl_t swig_types[192] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFilterImpl_t swig_types[193] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeFormatImpl_t swig_types[194] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeImpl_t swig_types[195] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeMemberFunctionImpl_t swig_types[196] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeNameSpecifierImpl_t swig_types[197] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryImpl_t swig_types[198] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSummaryOptions_t swig_types[199] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystemClang_t swig_types[200] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__TypeSystem_t swig_types[201] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Type_t swig_types[202] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnixSignals_t swig_types[203] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindAssembly_t swig_types[204] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UnwindPlan_t swig_types[205] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__UserExpression_t swig_types[206] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[207] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[208] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[209] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[210] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[211] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WatchpointResource_t swig_types[212] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[213] +#define SWIGTYPE_p_std__shared_ptrT_lldb_private__WritableDataBuffer_t swig_types[214] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__AddressRange_t swig_types[215] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[216] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[217] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[218] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[219] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[220] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[221] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedPlatformInterface_t swig_types[222] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptedProcessInterface_t swig_types[223] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[224] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[225] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t swig_types[226] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__Stream_t swig_types[227] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[228] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[229] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[230] +#define SWIGTYPE_p_std__unique_ptrT_lldb_private__TraceExporter_t swig_types[231] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[232] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[233] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[234] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[235] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[236] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[237] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[238] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[239] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[240] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[241] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[242] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[243] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[244] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[245] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ThreadPlan_t swig_types[246] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[247] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__TypeSystem_t swig_types[248] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[249] +#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[250] +#define SWIGTYPE_p_unsigned_char swig_types[251] +#define SWIGTYPE_p_unsigned_int swig_types[252] +#define SWIGTYPE_p_unsigned_long_long swig_types[253] +#define SWIGTYPE_p_unsigned_short swig_types[254] +#define SWIGTYPE_p_void swig_types[255] +static swig_type_info *swig_types[257]; +static swig_module_info swig_module = {swig_types, 256, 0, 0, 0, 0}; #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name) #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name) @@ -3428,7 +3483,6 @@ static swig_module_info swig_module = {swig_types, 250, 0, 0, 0, 0}; # define SWIG_init init_lldb #endif -#define SWIG_name "_lldb" #ifdef __cplusplus #include @@ -3498,7 +3552,7 @@ namespace swig { SwigPtr_PyObject(const SwigPtr_PyObject& item) : _obj(item._obj) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; - Py_XINCREF(_obj); + SWIG_Py_XINCREF(_obj); SWIG_PYTHON_THREAD_END_BLOCK; } @@ -3506,7 +3560,7 @@ namespace swig { { if (initial_ref) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; - Py_XINCREF(_obj); + SWIG_Py_XINCREF(_obj); SWIG_PYTHON_THREAD_END_BLOCK; } } @@ -3514,8 +3568,8 @@ namespace swig { SwigPtr_PyObject & operator=(const SwigPtr_PyObject& item) { SWIG_PYTHON_THREAD_BEGIN_BLOCK; - Py_XINCREF(item._obj); - Py_XDECREF(_obj); + SWIG_Py_XINCREF(item._obj); + SWIG_Py_XDECREF(_obj); _obj = item._obj; SWIG_PYTHON_THREAD_END_BLOCK; return *this; @@ -3524,7 +3578,7 @@ namespace swig { ~SwigPtr_PyObject() { SWIG_PYTHON_THREAD_BEGIN_BLOCK; - Py_XDECREF(_obj); + SWIG_Py_XDECREF(_obj); SWIG_PYTHON_THREAD_END_BLOCK; } @@ -3547,7 +3601,7 @@ namespace swig { SwigVar_PyObject & operator = (PyObject* obj) { - Py_XDECREF(_obj); + SWIG_Py_XDECREF(_obj); _obj = obj; return *this; } @@ -3611,83 +3665,7 @@ template <> bool SetNumberFromPyObject(double &number, PyObject *obj) { #include "lldb/lldb-public.h" -#include "lldb/API/SBAddress.h" -#include "lldb/API/SBAddressRange.h" -#include "lldb/API/SBAddressRangeList.h" -#include "lldb/API/SBAttachInfo.h" -#include "lldb/API/SBBlock.h" -#include "lldb/API/SBBreakpoint.h" -#include "lldb/API/SBBreakpointLocation.h" -#include "lldb/API/SBBreakpointName.h" -#include "lldb/API/SBBroadcaster.h" -#include "lldb/API/SBCommandInterpreter.h" -#include "lldb/API/SBCommandInterpreterRunOptions.h" -#include "lldb/API/SBCommandReturnObject.h" -#include "lldb/API/SBCommunication.h" -#include "lldb/API/SBCompileUnit.h" -#include "lldb/API/SBData.h" -#include "lldb/API/SBDebugger.h" -#include "lldb/API/SBDeclaration.h" -#include "lldb/API/SBEnvironment.h" -#include "lldb/API/SBError.h" -#include "lldb/API/SBEvent.h" -#include "lldb/API/SBExecutionContext.h" -#include "lldb/API/SBExpressionOptions.h" -#include "lldb/API/SBFile.h" -#include "lldb/API/SBFileSpec.h" -#include "lldb/API/SBFileSpecList.h" -#include "lldb/API/SBFormat.h" -#include "lldb/API/SBFrame.h" -#include "lldb/API/SBFunction.h" -#include "lldb/API/SBHostOS.h" -#include "lldb/API/SBInstruction.h" -#include "lldb/API/SBInstructionList.h" -#include "lldb/API/SBLanguages.h" -#include "lldb/API/SBLanguageRuntime.h" -#include "lldb/API/SBLaunchInfo.h" -#include "lldb/API/SBLineEntry.h" -#include "lldb/API/SBListener.h" -#include "lldb/API/SBMemoryRegionInfo.h" -#include "lldb/API/SBMemoryRegionInfoList.h" -#include "lldb/API/SBModule.h" -#include "lldb/API/SBModuleSpec.h" -#include "lldb/API/SBPlatform.h" -#include "lldb/API/SBProcess.h" -#include "lldb/API/SBProcessInfo.h" -#include "lldb/API/SBProcessInfoList.h" -#include "lldb/API/SBQueue.h" -#include "lldb/API/SBQueueItem.h" -#include "lldb/API/SBReproducer.h" -#include "lldb/API/SBScriptObject.h" -#include "lldb/API/SBSection.h" -#include "lldb/API/SBSourceManager.h" -#include "lldb/API/SBStatisticsOptions.h" -#include "lldb/API/SBStream.h" -#include "lldb/API/SBStringList.h" -#include "lldb/API/SBStructuredData.h" -#include "lldb/API/SBSymbol.h" -#include "lldb/API/SBSymbolContext.h" -#include "lldb/API/SBSymbolContextList.h" -#include "lldb/API/SBTarget.h" -#include "lldb/API/SBThread.h" -#include "lldb/API/SBThreadCollection.h" -#include "lldb/API/SBThreadPlan.h" -#include "lldb/API/SBTrace.h" -#include "lldb/API/SBTraceCursor.h" -#include "lldb/API/SBType.h" -#include "lldb/API/SBTypeCategory.h" -#include "lldb/API/SBTypeEnumMember.h" -#include "lldb/API/SBTypeFilter.h" -#include "lldb/API/SBTypeFormat.h" -#include "lldb/API/SBTypeNameSpecifier.h" -#include "lldb/API/SBTypeSummary.h" -#include "lldb/API/SBTypeSynthetic.h" -#include "lldb/API/SBUnixSignals.h" -#include "lldb/API/SBValue.h" -#include "lldb/API/SBValueList.h" -#include "lldb/API/SBVariablesOptions.h" -#include "lldb/API/SBWatchpoint.h" -#include "lldb/API/SBWatchpointOptions.h" +#include "lldb/API/LLDB.h" #include "../source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h" @@ -3743,11 +3721,9 @@ SWIG_From_unsigned_SS_long_SS_long (unsigned long long value) SWIGINTERN swig_type_info* SWIG_pchar_descriptor(void) { - static int init = 0; static swig_type_info* info = 0; - if (!init) { + if (!info) { info = SWIG_TypeQuery("_p_char"); - init = 1; } return info; } @@ -4042,7 +4018,7 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc) #endif if (cptr) *cptr = cstr; if (psize) *psize = len + 1; - Py_XDECREF(bytes); + SWIG_Py_XDECREF(bytes); return ret; } else { #if defined(SWIG_PYTHON_2_UNICODE) @@ -4065,10 +4041,10 @@ SWIG_AsCharPtrAndSize(PyObject *obj, char **cptr, size_t *psize, int *alloc) } if (psize) *psize = len + 1; - Py_XDECREF(obj); + SWIG_Py_XDECREF(obj); return SWIG_OK; } else { - Py_XDECREF(obj); + SWIG_Py_XDECREF(obj); } } #endif @@ -5066,133 +5042,6 @@ PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateCommandObject return pfunc(SWIGBridge::ToSWIGWrapper(std::move(debugger_sp)), dict); } -PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedThreadPlan( - const char *python_class_name, const char *session_dictionary_name, - const lldb_private::StructuredDataImpl &args_impl, - std::string &error_string, const lldb::ThreadPlanSP &thread_plan_sp) { - if (python_class_name == NULL || python_class_name[0] == '\0' || - !session_dictionary_name) - return PythonObject(); - - PyErr_Cleaner py_err_cleaner(true); - - auto dict = PythonModule::MainModule().ResolveName( - session_dictionary_name); - auto pfunc = PythonObject::ResolveNameWithDictionary( - python_class_name, dict); - - if (!pfunc.IsAllocated()) { - error_string.append("could not find script class: "); - error_string.append(python_class_name); - return PythonObject(); - } - - PythonObject tp_arg = SWIGBridge::ToSWIGWrapper(thread_plan_sp); - - llvm::Expected arg_info = pfunc.GetArgInfo(); - if (!arg_info) { - llvm::handleAllErrors( - arg_info.takeError(), - [&](PythonException &E) { error_string.append(E.ReadBacktrace()); }, - [&](const llvm::ErrorInfoBase &E) { - error_string.append(E.message()); - }); - return PythonObject(); - } - - PythonObject result = {}; - auto args_sb = std::unique_ptr(new lldb::SBStructuredData(args_impl)); - if (arg_info.get().max_positional_args == 2) { - if (args_sb->IsValid()) { - error_string.assign( - "args passed, but __init__ does not take an args dictionary"); - return PythonObject(); - } - result = pfunc(tp_arg, dict); - } else if (arg_info.get().max_positional_args >= 3) { - result = pfunc(tp_arg, SWIGBridge::ToSWIGWrapper(std::move(args_sb)), dict); - } else { - error_string.assign("wrong number of arguments in __init__, should be 2 or " - "3 (not including self)"); - return PythonObject(); - } - - // FIXME: At this point we should check that the class we found supports all - // the methods that we need. - - return result; -} - -bool lldb_private::python::SWIGBridge::LLDBSWIGPythonCallThreadPlan( - void *implementer, const char *method_name, lldb_private::Event *event, - bool &got_error) { - got_error = false; - - PyErr_Cleaner py_err_cleaner(false); - PythonObject self(PyRefType::Borrowed, static_cast(implementer)); - auto pfunc = self.ResolveName(method_name); - - if (!pfunc.IsAllocated()) - return false; - - PythonObject result; - if (event != nullptr) { - ScopedPythonObject event_arg = SWIGBridge::ToSWIGWrapper(event); - result = pfunc(event_arg.obj()); - } else - result = pfunc(); - - if (PyErr_Occurred()) { - got_error = true; - printf("Return value was neither false nor true for call to %s.\n", - method_name); - PyErr_Print(); - return false; - } - - if (result.get() == Py_True) - return true; - else if (result.get() == Py_False) - return false; - - // Somebody returned the wrong thing... - got_error = true; - printf("Wrong return value type for call to %s.\n", method_name); - return false; -} - -bool lldb_private::python::SWIGBridge::LLDBSWIGPythonCallThreadPlan( - void *implementer, const char *method_name, lldb_private::Stream *stream, - bool &got_error) { - got_error = false; - - PyErr_Cleaner py_err_cleaner(false); - PythonObject self(PyRefType::Borrowed, static_cast(implementer)); - auto pfunc = self.ResolveName(method_name); - - if (!pfunc.IsAllocated()) - return false; - - auto *sb_stream = new lldb::SBStream(); - PythonObject sb_stream_arg = - SWIGBridge::ToSWIGWrapper(std::unique_ptr(sb_stream)); - - PythonObject result; - result = pfunc(sb_stream_arg); - - if (PyErr_Occurred()) { - printf("Error occured for call to %s.\n", - method_name); - PyErr_Print(); - got_error = true; - return false; - } - if (stream) - stream->PutCString(sb_stream->GetData()); - return true; - -} - PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedBreakpointResolver( const char *python_class_name, const char *session_dictionary_name, const StructuredDataImpl &args_impl, @@ -5265,102 +5114,6 @@ unsigned int lldb_private::python::SWIGBridge::LLDBSwigPythonCallBreakpointResol return ret_val; } -PythonObject lldb_private::python::SWIGBridge::LLDBSwigPythonCreateScriptedStopHook( - lldb::TargetSP target_sp, const char *python_class_name, - const char *session_dictionary_name, const StructuredDataImpl &args_impl, - Status &error) { - if (python_class_name == NULL || python_class_name[0] == '\0') { - error.SetErrorString("Empty class name."); - return PythonObject(); - } - if (!session_dictionary_name) { - error.SetErrorString("No session dictionary"); - return PythonObject(); - } - - PyErr_Cleaner py_err_cleaner(true); - - auto dict = PythonModule::MainModule().ResolveName( - session_dictionary_name); - auto pfunc = PythonObject::ResolveNameWithDictionary( - python_class_name, dict); - - if (!pfunc.IsAllocated()) { - error.SetErrorStringWithFormat("Could not find class: %s.", - python_class_name); - return PythonObject(); - } - - PythonObject result = - pfunc(SWIGBridge::ToSWIGWrapper(target_sp), SWIGBridge::ToSWIGWrapper(args_impl), dict); - - if (result.IsAllocated()) { - // Check that the handle_stop callback is defined: - auto callback_func = result.ResolveName("handle_stop"); - if (callback_func.IsAllocated()) { - if (auto args_info = callback_func.GetArgInfo()) { - size_t num_args = (*args_info).max_positional_args; - if (num_args != 2) { - error.SetErrorStringWithFormat( - "Wrong number of args for " - "handle_stop callback, should be 2 (excluding self), got: %zu", - num_args); - return PythonObject(); - } else - return result; - } else { - error.SetErrorString("Couldn't get num arguments for handle_stop " - "callback."); - return PythonObject(); - } - return result; - } else { - error.SetErrorStringWithFormat("Class \"%s\" is missing the required " - "handle_stop callback.", - python_class_name); - } - } - return PythonObject(); -} - -bool lldb_private::python::SWIGBridge::LLDBSwigPythonStopHookCallHandleStop( - void *implementor, lldb::ExecutionContextRefSP exc_ctx_sp, - lldb::StreamSP stream) { - // handle_stop will return a bool with the meaning "should_stop"... - // If you return nothing we'll assume we are going to stop. - // Also any errors should return true, since we should stop on error. - - PyErr_Cleaner py_err_cleaner(false); - PythonObject self(PyRefType::Borrowed, static_cast(implementor)); - auto pfunc = self.ResolveName("handle_stop"); - - if (!pfunc.IsAllocated()) - return true; - - auto *sb_stream = new lldb::SBStream(); - PythonObject sb_stream_arg = - SWIGBridge::ToSWIGWrapper(std::unique_ptr(sb_stream)); - PythonObject result = - pfunc(SWIGBridge::ToSWIGWrapper(std::move(exc_ctx_sp)), sb_stream_arg); - - if (PyErr_Occurred()) { - stream->PutCString("Python error occurred handling stop-hook."); - PyErr_Print(); - PyErr_Clear(); - return true; - } - - // Now add the result to the output stream. SBStream only - // makes an internally help StreamString which I can't interpose, so I - // have to copy it over here. - stream->PutCString(sb_stream->GetData()); - - if (result.get() == Py_False) - return false; - else - return true; -} - // wrapper that calls an optional instance member of an object taking no // arguments static PyObject *LLDBSwigPython_CallOptionalMember( @@ -5590,6 +5343,30 @@ void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBError(PyObject * data return sb_ptr; } +void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBEvent(PyObject * data) { + lldb::SBEvent *sb_ptr = nullptr; + + int valid_cast = + SWIG_ConvertPtr(data, (void **)&sb_ptr, SWIGTYPE_p_lldb__SBEvent, 0); + + if (valid_cast == -1) + return NULL; + + return sb_ptr; +} + +void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBStream(PyObject * data) { + lldb::SBStream *sb_ptr = nullptr; + + int valid_cast = + SWIG_ConvertPtr(data, (void **)&sb_ptr, SWIGTYPE_p_lldb__SBStream, 0); + + if (valid_cast == -1) + return NULL; + + return sb_ptr; +} + void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBValue(PyObject * data) { lldb::SBValue *sb_ptr = NULL; @@ -5615,6 +5392,19 @@ void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBMemoryRegionInfo(PyOb return sb_ptr; } +void *lldb_private::python::LLDBSWIGPython_CastPyObjectToSBExecutionContext(PyObject * + data) { + lldb::SBExecutionContext *sb_ptr = NULL; + + int valid_cast = SWIG_ConvertPtr(data, (void **)&sb_ptr, + SWIGTYPE_p_lldb__SBExecutionContext, 0); + + if (valid_cast == -1) + return NULL; + + return sb_ptr; +} + bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallCommand( const char *python_function_name, const char *session_dictionary_name, lldb::DebuggerSP debugger, const char *args, @@ -5750,7 +5540,7 @@ lldb_private::python::SWIGBridge::LLDBSwigPythonHandleOptionArgumentCompletionFo dict_sp->AddBooleanItem("no-completion", true); return dict_sp; } - + // Convert the return dictionary to a DictionarySP. StructuredData::ObjectSP result_obj_sp = result.CreateStructuredObject(); @@ -5776,7 +5566,7 @@ bool lldb_private::python::SWIGBridge::LLDBSwigPythonCallParsedCommandObject( auto pfunc = self.ResolveName("__call__"); if (!pfunc.IsAllocated()) { - cmd_retobj.AppendError("Could not find '__call__' method in implementation class"); + cmd_retobj.AppendError("Could not find '__call__' method in implementation class"); return false; } @@ -5826,7 +5616,7 @@ PythonObject lldb_private::python::SWIGBridge::LLDBSWIGPython_CreateFrameRecogni } PyObject *lldb_private::python::SWIGBridge::LLDBSwigPython_GetRecognizedArguments( - PyObject * implementor, const lldb::StackFrameSP &frame_sp) { + PyObject *implementor, const lldb::StackFrameSP &frame_sp) { static char callee_name[] = "get_recognized_arguments"; PythonObject arg = SWIGBridge::ToSWIGWrapper(frame_sp); @@ -5837,6 +5627,22 @@ PyObject *lldb_private::python::SWIGBridge::LLDBSwigPython_GetRecognizedArgument return result; } +bool lldb_private::python::SWIGBridge::LLDBSwigPython_ShouldHide( + PyObject *implementor, const lldb::StackFrameSP &frame_sp) { + static char callee_name[] = "should_hide"; + + PythonObject arg = SWIGBridge::ToSWIGWrapper(frame_sp); + + PythonString str(callee_name); + + PyObject *result = + PyObject_CallMethodObjArgs(implementor, str.get(), arg.get(), NULL); + bool ret_val = result ? PyObject_IsTrue(result) : false; + Py_XDECREF(result); + + return ret_val; +} + void *lldb_private::python::SWIGBridge::LLDBSWIGPython_GetDynamicSetting( void *module, const char *setting, const lldb::TargetSP &target_sp) { if (!module || !setting) @@ -6019,6 +5825,26 @@ static void LLDBSwigPythonCallPythonLogOutputCallback(const char *str, } } +// For CommandPrintCallback functions +static CommandReturnObjectCallbackResult LLDBSwigPythonCallPythonCommandPrintCallback(SBCommandReturnObject& result, void *callback_baton) { + SWIG_Python_Thread_Block swig_thread_block; + + PyErr_Cleaner py_err_cleaner(true); + + PythonObject result_arg = SWIGBridge::ToSWIGWrapper( + std::make_unique(result)); + PythonCallable callable = + Retain(reinterpret_cast(callback_baton)); + + if (!callable.IsValid()) + return eCommandReturnObjectPrintCallbackSkipped; + + PythonObject callback_result = callable(result_arg); + + long long ret_val = unwrapOrSetPythonException(As(callback_result)); + return (CommandReturnObjectCallbackResult)ret_val; +} + // For DebuggerTerminateCallback functions static void LLDBSwigPythonCallPythonSBDebuggerTerminateCallback(lldb::user_id_t debugger_id, void *baton) { @@ -6031,6 +5857,28 @@ static void LLDBSwigPythonCallPythonSBDebuggerTerminateCallback(lldb::user_id_t } } +static bool LLDBSwigPythonCallPythonSBCommandInterpreterSetCommandOverrideCallback(void *baton, const char **argv) { + bool ret_val = false; + if (baton != Py_None) { + SWIG_PYTHON_THREAD_BEGIN_BLOCK; + // Create a PyList of items since we're going to pass it to the callback as a tuple + // of arguments. + PyObject *py_argv = PyList_New(0); + for (const char **arg = argv; arg && *arg; arg++) { + std::string arg_string = *arg; + PyObject *py_string = PyUnicode_FromStringAndSize(arg_string.c_str(), arg_string.size()); + PyList_Append(py_argv, py_string); + } + + PyObject *result = PyObject_CallObject( + reinterpret_cast(baton), PyList_AsTuple(py_argv)); + ret_val = result ? PyObject_IsTrue(result) : false; + Py_XDECREF(result); + SWIG_PYTHON_THREAD_END_BLOCK; + } + return ret_val; +} + static SBError LLDBSwigPythonCallLocateModuleCallback( void *callback_baton, const SBModuleSpec &module_spec_sb, SBFileSpec &module_file_spec_sb, SBFileSpec &symbol_file_spec_sb) { @@ -6116,7 +5964,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddress__SWIG_1(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBAddress const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBAddress const &""'"); } arg1 = reinterpret_cast< lldb::SBAddress * >(argp1); { @@ -6149,7 +5997,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddress__SWIG_2(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBSection""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBSection""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "1"" of type '" "lldb::SBSection""'"); } else { lldb::SBSection * temp = reinterpret_cast< lldb::SBSection * >(argp1); arg1 = *temp; @@ -6163,7 +6011,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddress__SWIG_2(PyObject *self, Py_ssize_t nobj arg2 = static_cast< lldb::addr_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBAddress *)new lldb::SBAddress(arg1,arg2); + result = (lldb::SBAddress *)new lldb::SBAddress(SWIG_STD_MOVE(arg1),arg2); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NEW | 0 ); @@ -6195,7 +6043,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddress__SWIG_3(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SBAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -6348,7 +6196,7 @@ SWIGINTERN PyObject *_wrap_SBAddress___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddress___ne__" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddress___ne__" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddress___ne__" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); { @@ -6363,7 +6211,7 @@ SWIGINTERN PyObject *_wrap_SBAddress___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -6474,7 +6322,7 @@ SWIGINTERN PyObject *_wrap_SBAddress_GetLoadAddress(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddress_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddress_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddress_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -6515,7 +6363,7 @@ SWIGINTERN PyObject *_wrap_SBAddress_SetAddress(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddress_SetAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddress_SetAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddress_SetAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } else { lldb::SBSection * temp = reinterpret_cast< lldb::SBSection * >(argp2); arg2 = *temp; @@ -6529,7 +6377,7 @@ SWIGINTERN PyObject *_wrap_SBAddress_SetAddress(PyObject *self, PyObject *args) arg3 = static_cast< lldb::addr_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetAddress(arg2,arg3); + (arg1)->SetAddress(SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -6569,7 +6417,7 @@ SWIGINTERN PyObject *_wrap_SBAddress_SetLoadAddress(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBAddress_SetLoadAddress" "', argument " "3"" of type '" "lldb::SBTarget &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddress_SetLoadAddress" "', argument " "3"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddress_SetLoadAddress" "', argument " "3"" of type '" "lldb::SBTarget &""'"); } arg3 = reinterpret_cast< lldb::SBTarget * >(argp3); { @@ -6642,7 +6490,7 @@ SWIGINTERN PyObject *_wrap_SBAddress_GetDescription(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddress_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddress_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddress_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -6945,7 +6793,7 @@ SWIGINTERN PyObject *_wrap_SBAddress___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBAddress_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBAddress, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -6987,7 +6835,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddressRange__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddressRange const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddressRange const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddressRange const &""'"); } arg1 = reinterpret_cast< lldb::SBAddressRange * >(argp1); { @@ -7020,7 +6868,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddressRange__SWIG_2(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddress""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddressRange" "', argument " "1"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp1); arg1 = *temp; @@ -7034,7 +6882,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddressRange__SWIG_2(PyObject *self, Py_ssize_t arg2 = static_cast< lldb::addr_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBAddressRange *)new lldb::SBAddressRange(arg1,arg2); + result = (lldb::SBAddressRange *)new lldb::SBAddressRange(SWIG_STD_MOVE(arg1),arg2); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBAddressRange, SWIG_POINTER_NEW | 0 ); @@ -7249,7 +7097,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRange___eq__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRange___eq__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRange___eq__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } arg2 = reinterpret_cast< lldb::SBAddressRange * >(argp2); { @@ -7264,7 +7112,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -7292,7 +7140,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRange___ne__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRange___ne__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRange___ne__" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } arg2 = reinterpret_cast< lldb::SBAddressRange * >(argp2); { @@ -7307,7 +7155,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -7338,7 +7186,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange_GetDescription(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRange_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRange_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRange_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -7347,7 +7195,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange_GetDescription(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBAddressRange_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRange_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRange_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp3); arg3 = *temp; @@ -7356,7 +7204,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange_GetDescription(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->GetDescription(*arg2,arg3); + result = (bool)(arg1)->GetDescription(*arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -7367,7 +7215,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRange_GetDescription(PyObject *self, PyObjec SWIGINTERN PyObject *SBAddressRange_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBAddressRange, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -7409,7 +7257,7 @@ SWIGINTERN PyObject *_wrap_new_SBAddressRangeList__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAddressRangeList" "', argument " "1"" of type '" "lldb::SBAddressRangeList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAddressRangeList" "', argument " "1"" of type '" "lldb::SBAddressRangeList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAddressRangeList" "', argument " "1"" of type '" "lldb::SBAddressRangeList const &""'"); } arg1 = reinterpret_cast< lldb::SBAddressRangeList * >(argp1); { @@ -7591,7 +7439,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRangeList_Append__SWIG_0(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRange const &""'"); } arg2 = reinterpret_cast< lldb::SBAddressRange * >(argp2); { @@ -7627,7 +7475,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRangeList_Append__SWIG_1(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRangeList const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRangeList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRangeList_Append" "', argument " "2"" of type '" "lldb::SBAddressRangeList const &""'"); } arg2 = reinterpret_cast< lldb::SBAddressRangeList * >(argp2); { @@ -7712,7 +7560,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRangeList_GetDescription(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAddressRangeList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRangeList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRangeList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBTarget, 0 | 0); @@ -7720,7 +7568,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRangeList_GetDescription(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBAddressRangeList_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAddressRangeList_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAddressRangeList_GetDescription" "', argument " "3"" of type '" "lldb::SBTarget const &""'"); } arg3 = reinterpret_cast< lldb::SBTarget * >(argp3); { @@ -7736,7 +7584,7 @@ SWIGINTERN PyObject *_wrap_SBAddressRangeList_GetDescription(PyObject *self, PyO SWIGINTERN PyObject *SBAddressRangeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBAddressRangeList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -7886,7 +7734,7 @@ SWIGINTERN PyObject *_wrap_new_SBAttachInfo__SWIG_4(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBAttachInfo" "', argument " "1"" of type '" "lldb::SBAttachInfo const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBAttachInfo" "', argument " "1"" of type '" "lldb::SBAttachInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBAttachInfo" "', argument " "1"" of type '" "lldb::SBAttachInfo const &""'"); } arg1 = reinterpret_cast< lldb::SBAttachInfo * >(argp1); { @@ -8124,7 +7972,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetExecutable__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAttachInfo_SetExecutable" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAttachInfo_SetExecutable" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAttachInfo_SetExecutable" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } else { lldb::SBFileSpec * temp = reinterpret_cast< lldb::SBFileSpec * >(argp2); arg2 = *temp; @@ -8133,7 +7981,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetExecutable__SWIG_1(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetExecutable(arg2); + (arg1)->SetExecutable(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -9032,7 +8880,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetListener(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAttachInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAttachInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAttachInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -9097,7 +8945,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetShadowListener(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAttachInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAttachInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAttachInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -9228,7 +9076,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetScriptedProcessDictionary(PyObject *s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBAttachInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBAttachInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBAttachInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); } else { lldb::SBStructuredData * temp = reinterpret_cast< lldb::SBStructuredData * >(argp2); arg2 = *temp; @@ -9237,7 +9085,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetScriptedProcessDictionary(PyObject *s } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetScriptedProcessDictionary(arg2); + (arg1)->SetScriptedProcessDictionary(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -9248,7 +9096,7 @@ SWIGINTERN PyObject *_wrap_SBAttachInfo_SetScriptedProcessDictionary(PyObject *s SWIGINTERN PyObject *SBAttachInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBAttachInfo, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -9290,7 +9138,7 @@ SWIGINTERN PyObject *_wrap_new_SBBlock__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBlock" "', argument " "1"" of type '" "lldb::SBBlock const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBlock" "', argument " "1"" of type '" "lldb::SBBlock const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBlock" "', argument " "1"" of type '" "lldb::SBBlock const &""'"); } arg1 = reinterpret_cast< lldb::SBBlock * >(argp1); { @@ -9791,7 +9639,7 @@ SWIGINTERN PyObject *_wrap_SBBlock_GetRangeIndexForBlockAddress(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBlock_GetRangeIndexForBlockAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBlock_GetRangeIndexForBlockAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBlock_GetRangeIndexForBlockAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -9800,7 +9648,7 @@ SWIGINTERN PyObject *_wrap_SBBlock_GetRangeIndexForBlockAddress(PyObject *self, } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(arg2); + result = (uint32_t)(arg1)->GetRangeIndexForBlockAddress(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); @@ -9844,7 +9692,7 @@ SWIGINTERN PyObject *_wrap_SBBlock_GetVariables__SWIG_0(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -9910,7 +9758,7 @@ SWIGINTERN PyObject *_wrap_SBBlock_GetVariables__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBlock_GetVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -10079,7 +9927,7 @@ SWIGINTERN PyObject *_wrap_SBBlock_GetDescription(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBlock_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBlock_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBlock_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -10123,7 +9971,7 @@ SWIGINTERN PyObject *_wrap_SBBlock___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBBlock_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBlock, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -10165,7 +10013,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpoint__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpoint" "', argument " "1"" of type '" "lldb::SBBreakpoint const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpoint" "', argument " "1"" of type '" "lldb::SBBreakpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpoint" "', argument " "1"" of type '" "lldb::SBBreakpoint const &""'"); } arg1 = reinterpret_cast< lldb::SBBreakpoint * >(argp1); { @@ -10259,7 +10107,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint___eq__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint___eq__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint___eq__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpoint * >(argp2); { @@ -10274,7 +10122,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -10302,7 +10150,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint___ne__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint___ne__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint___ne__" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpoint * >(argp2); { @@ -10317,7 +10165,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -11291,7 +11139,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_SetScriptCallbackFunction__SWIG_1(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBBreakpoint_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); { @@ -11379,7 +11227,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_SetCommandLineCommands(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -11417,7 +11265,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetCommandLineCommands(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -11643,7 +11491,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetNames(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_GetNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -11736,7 +11584,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetDescription__SWIG_0(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -11776,7 +11624,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetDescription__SWIG_1(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -11864,7 +11712,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_EventIsBreakpointEvent(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBBreakpoint_EventIsBreakpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_EventIsBreakpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_EventIsBreakpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -11895,7 +11743,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetBreakpointEventTypeFromEvent(PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBBreakpoint_GetBreakpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -11926,7 +11774,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetBreakpointFromEvent(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBBreakpoint_GetBreakpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -11959,7 +11807,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetBreakpointLocationAtIndexFromEvent(Py SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBBreakpoint_GetBreakpointLocationAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointLocationAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetBreakpointLocationAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); @@ -11995,7 +11843,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_GetNumBreakpointLocationsFromEvent(PyObj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBBreakpoint_GetNumBreakpointLocationsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_GetNumBreakpointLocationsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_GetNumBreakpointLocationsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -12061,7 +11909,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint_AddLocation(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpoint_AddLocation" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpoint_AddLocation" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpoint_AddLocation" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); { @@ -12133,7 +11981,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpoint___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBBreakpoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBreakpoint, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -12159,7 +12007,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpointList(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpointList" "', argument " "1"" of type '" "lldb::SBTarget &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpointList" "', argument " "1"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpointList" "', argument " "1"" of type '" "lldb::SBTarget &""'"); } arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); { @@ -12254,7 +12102,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointList_GetBreakpointAtIndex(PyObject *self, arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetBreakpointAtIndex(arg2); + result = (arg1)->GetBreakpointAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBBreakpoint(result)), SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_OWN | 0 ); @@ -12321,7 +12169,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointList_Append(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointList_Append" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointList_Append" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointList_Append" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpoint * >(argp2); { @@ -12359,7 +12207,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointList_AppendIfUnique(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBBreakpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpoint * >(argp2); { @@ -12436,7 +12284,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointList_Clear(PyObject *self, PyObject *args SWIGINTERN PyObject *SBBreakpointList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBreakpointList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -12478,7 +12326,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpointLocation__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpointLocation" "', argument " "1"" of type '" "lldb::SBBreakpointLocation const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpointLocation" "', argument " "1"" of type '" "lldb::SBBreakpointLocation const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpointLocation" "', argument " "1"" of type '" "lldb::SBBreakpointLocation const &""'"); } arg1 = reinterpret_cast< lldb::SBBreakpointLocation * >(argp1); { @@ -13035,7 +12883,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointLocation_SetScriptCallbackFunction__SWIG_ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBBreakpointLocation_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointLocation_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointLocation_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); { @@ -13161,7 +13009,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointLocation_SetCommandLineCommands(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointLocation_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointLocation_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointLocation_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -13199,7 +13047,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointLocation_GetCommandLineCommands(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointLocation_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointLocation_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointLocation_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -13522,7 +13370,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointLocation_GetDescription(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointLocation_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointLocation_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointLocation_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -13599,7 +13447,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointLocation___repr__(PyObject *self, PyObjec SWIGINTERN PyObject *SBBreakpointLocation_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -13645,7 +13493,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpointName__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBTarget &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBTarget &""'"); } arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); @@ -13685,7 +13533,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpointName__SWIG_2(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpoint &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpoint &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpoint &""'"); } arg1 = reinterpret_cast< lldb::SBBreakpoint * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); @@ -13721,7 +13569,7 @@ SWIGINTERN PyObject *_wrap_new_SBBreakpointName__SWIG_3(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpointName const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpointName const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBreakpointName" "', argument " "1"" of type '" "lldb::SBBreakpointName const &""'"); } arg1 = reinterpret_cast< lldb::SBBreakpointName * >(argp1); { @@ -13843,7 +13691,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName___eq__(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointName___eq__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName___eq__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName___eq__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpointName * >(argp2); { @@ -13858,7 +13706,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName___eq__(PyObject *self, PyObject *arg return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -13886,7 +13734,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName___ne__(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointName___ne__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName___ne__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName___ne__" "', argument " "2"" of type '" "lldb::SBBreakpointName const &""'"); } arg2 = reinterpret_cast< lldb::SBBreakpointName * >(argp2); { @@ -13901,7 +13749,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName___ne__(PyObject *self, PyObject *arg return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -14624,7 +14472,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName_SetScriptCallbackFunction__SWIG_1(Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBBreakpointName_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName_SetScriptCallbackFunction" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); { @@ -14712,7 +14560,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName_SetCommandLineCommands(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointName_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName_SetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -14750,7 +14598,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName_GetCommandLineCommands(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointName_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName_GetCommandLineCommands" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -15077,7 +14925,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName_GetDescription(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBreakpointName_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBreakpointName_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBreakpointName_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -15121,7 +14969,7 @@ SWIGINTERN PyObject *_wrap_SBBreakpointName___repr__(PyObject *self, PyObject *a SWIGINTERN PyObject *SBBreakpointName_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBreakpointName, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -15192,7 +15040,7 @@ SWIGINTERN PyObject *_wrap_new_SBBroadcaster__SWIG_2(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBBroadcaster" "', argument " "1"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBBroadcaster" "', argument " "1"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBBroadcaster" "', argument " "1"" of type '" "lldb::SBBroadcaster const &""'"); } arg1 = reinterpret_cast< lldb::SBBroadcaster * >(argp1); { @@ -15507,7 +15355,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_BroadcastEvent__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -15548,7 +15396,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_BroadcastEvent__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_BroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -15638,7 +15486,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_AddInitialEventsToListener(PyObject *se SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_AddInitialEventsToListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_AddInitialEventsToListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_AddInitialEventsToListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -15684,7 +15532,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_AddListener(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_AddListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_AddListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_AddListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -15792,7 +15640,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_RemoveListener__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -15834,7 +15682,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster_RemoveListener__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster_RemoveListener" "', argument " "2"" of type '" "lldb::SBListener const &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -15922,7 +15770,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster___eq__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster___eq__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster___eq__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); { @@ -15937,7 +15785,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -15965,7 +15813,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster___ne__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster___ne__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster___ne__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); { @@ -15980,7 +15828,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -16008,7 +15856,7 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___lt__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBBroadcaster___lt__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBBroadcaster___lt__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBBroadcaster___lt__" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); { @@ -16023,13 +15871,13 @@ SWIGINTERN PyObject *_wrap_SBBroadcaster___lt__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } SWIGINTERN PyObject *SBBroadcaster_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBBroadcaster, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -16071,7 +15919,7 @@ SWIGINTERN PyObject *_wrap_new_SBCommandInterpreter__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBCommandInterpreter" "', argument " "1"" of type '" "lldb::SBCommandInterpreter const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBCommandInterpreter" "', argument " "1"" of type '" "lldb::SBCommandInterpreter const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBCommandInterpreter" "', argument " "1"" of type '" "lldb::SBCommandInterpreter const &""'"); } arg1 = reinterpret_cast< lldb::SBCommandInterpreter * >(argp1); { @@ -16214,7 +16062,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_EventIsCommandInterpreterEvent(P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreter_EventIsCommandInterpreterEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_EventIsCommandInterpreterEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_EventIsCommandInterpreterEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -16634,7 +16482,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__S SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } arg2 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp2); { @@ -16673,7 +16521,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_SourceInitFileInHomeDirectory__S SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInHomeDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } arg2 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -16767,7 +16615,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_SourceInitFileInCurrentWorkingDi SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_SourceInitFileInCurrentWorkingDirectory" "', argument " "2"" of type '" "lldb::SBCommandReturnObject &""'"); } arg2 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp2); { @@ -16816,7 +16664,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_0(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } arg3 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -16869,7 +16717,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_1(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } arg3 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp3); { @@ -16923,7 +16771,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_2(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } arg3 = reinterpret_cast< lldb::SBExecutionContext * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBCommandReturnObject, 0 ); @@ -16931,7 +16779,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_2(PyObject * SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); } arg4 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp4); ecode5 = SWIG_AsVal_bool(swig_obj[4], &val5); @@ -16987,7 +16835,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_3(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } arg3 = reinterpret_cast< lldb::SBExecutionContext * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBCommandReturnObject, 0 ); @@ -16995,7 +16843,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommand__SWIG_3(PyObject * SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommand" "', argument " "4"" of type '" "lldb::SBCommandReturnObject &""'"); } arg4 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp4); { @@ -17157,7 +17005,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommandsFromFile(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBExecutionContext, 0 ); @@ -17165,7 +17013,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommandsFromFile(PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "3"" of type '" "lldb::SBExecutionContext &""'"); } arg3 = reinterpret_cast< lldb::SBExecutionContext * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions, 0 ); @@ -17173,7 +17021,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommandsFromFile(PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); } arg4 = reinterpret_cast< lldb::SBCommandInterpreterRunOptions * >(argp4); { @@ -17182,7 +17030,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommandsFromFile(PyObject SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "5"" of type '" "lldb::SBCommandReturnObject""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "5"" of type '" "lldb::SBCommandReturnObject""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCommandsFromFile" "', argument " "5"" of type '" "lldb::SBCommandReturnObject""'"); } else { lldb::SBCommandReturnObject * temp = reinterpret_cast< lldb::SBCommandReturnObject * >(argp5); arg5 = *temp; @@ -17191,7 +17039,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCommandsFromFile(PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,arg5); + (arg1)->HandleCommandsFromFile(*arg2,*arg3,*arg4,SWIG_STD_MOVE(arg5)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -17257,7 +17105,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCompletion(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBCommandInterpreter_HandleCompletion" "', argument " "6"" of type '" "lldb::SBStringList &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletion" "', argument " "6"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletion" "', argument " "6"" of type '" "lldb::SBStringList &""'"); } arg6 = reinterpret_cast< lldb::SBStringList * >(argp6); { @@ -17333,7 +17181,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCompletionWithDescriptions SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "6"" of type '" "lldb::SBStringList &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "6"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "6"" of type '" "lldb::SBStringList &""'"); } arg6 = reinterpret_cast< lldb::SBStringList * >(argp6); res7 = SWIG_ConvertPtr(swig_obj[6], &argp7, SWIGTYPE_p_lldb__SBStringList, 0 ); @@ -17341,7 +17189,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_HandleCompletionWithDescriptions SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "7"" of type '" "lldb::SBStringList &""'"); } if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "7"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_HandleCompletionWithDescriptions" "', argument " "7"" of type '" "lldb::SBStringList &""'"); } arg7 = reinterpret_cast< lldb::SBStringList * >(argp7); { @@ -17414,6 +17262,58 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_InterruptCommand(PyObject *self, } +SWIGINTERN PyObject *_wrap_SBCommandInterpreter_SetCommandOverrideCallback(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + char *arg2 = (char *) 0 ; + lldb::CommandOverrideCallback arg3 = (lldb::CommandOverrideCallback) 0 ; + void *arg4 = (void *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + PyObject *swig_obj[3] ; + bool result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBCommandInterpreter_SetCommandOverrideCallback", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreter_SetCommandOverrideCallback" "', argument " "1"" of type '" "lldb::SBCommandInterpreter *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandInterpreter * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandInterpreter_SetCommandOverrideCallback" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + { + if (!(swig_obj[2] == Py_None || + PyCallable_Check(reinterpret_cast(swig_obj[2])))) { + PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); + SWIG_fail; + } + + // Don't lose the callback reference. + Py_INCREF(swig_obj[2]); + arg3 = LLDBSwigPythonCallPythonSBCommandInterpreterSetCommandOverrideCallback; + arg4 = swig_obj[2]; + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)(arg1)->SetCommandOverrideCallback((char const *)arg2,arg3,arg4); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBCommandInterpreter_IsActive(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; @@ -17660,7 +17560,7 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_ResolveCommand(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCommandInterpreter_ResolveCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandInterpreter_ResolveCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandInterpreter_ResolveCommand" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } arg3 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp3); { @@ -17733,8 +17633,48 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreter_GetTranscript(PyObject *self, Py } +SWIGINTERN PyObject *_wrap_SBCommandInterpreter_SetPrintCallback(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandInterpreter *arg1 = (lldb::SBCommandInterpreter *) 0 ; + lldb::SBCommandPrintCallback arg2 = (lldb::SBCommandPrintCallback) 0 ; + void *arg3 = (void *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBCommandInterpreter_SetPrintCallback", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreter, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreter_SetPrintCallback" "', argument " "1"" of type '" "lldb::SBCommandInterpreter *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandInterpreter * >(argp1); + { + if (!(swig_obj[1] == Py_None || + PyCallable_Check(reinterpret_cast(swig_obj[1])))) { + PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); + SWIG_fail; + } + + // Don't lose the callback reference. + Py_INCREF(swig_obj[1]); + arg2 = LLDBSwigPythonCallPythonCommandPrintCallback; + arg3 = swig_obj[1]; + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetPrintCallback(arg2,arg3); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *SBCommandInterpreter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBCommandInterpreter, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -17776,7 +17716,7 @@ SWIGINTERN PyObject *_wrap_new_SBCommandInterpreterRunOptions__SWIG_1(PyObject * SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBCommandInterpreterRunOptions" "', argument " "1"" of type '" "lldb::SBCommandInterpreterRunOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBCommandInterpreterRunOptions" "', argument " "1"" of type '" "lldb::SBCommandInterpreterRunOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBCommandInterpreterRunOptions" "', argument " "1"" of type '" "lldb::SBCommandInterpreterRunOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBCommandInterpreterRunOptions * >(argp1); { @@ -18467,8 +18407,70 @@ SWIGINTERN PyObject *_wrap_SBCommandInterpreterRunOptions_SetSpawnThread(PyObjec } +SWIGINTERN PyObject *_wrap_SBCommandInterpreterRunOptions_GetAllowRepeats(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreterRunOptions_GetAllowRepeats" "', argument " "1"" of type '" "lldb::SBCommandInterpreterRunOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandInterpreterRunOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetAllowRepeats(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandInterpreterRunOptions_SetAllowRepeats(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBCommandInterpreterRunOptions_SetAllowRepeats", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandInterpreterRunOptions_SetAllowRepeats" "', argument " "1"" of type '" "lldb::SBCommandInterpreterRunOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandInterpreterRunOptions * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBCommandInterpreterRunOptions_SetAllowRepeats" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetAllowRepeats(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *SBCommandInterpreterRunOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -18510,7 +18512,7 @@ SWIGINTERN PyObject *_wrap_new_SBCommandReturnObject__SWIG_1(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBCommandReturnObject" "', argument " "1"" of type '" "lldb::SBCommandReturnObject const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBCommandReturnObject" "', argument " "1"" of type '" "lldb::SBCommandReturnObject const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBCommandReturnObject" "', argument " "1"" of type '" "lldb::SBCommandReturnObject const &""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { @@ -18637,23 +18639,25 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_IsValid(PyObject *self, PyObjec } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetOutput__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetCommand(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; + PyObject *swig_obj[1] ; char *result = 0 ; (void)self; - if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetCommand" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetOutput(); + result = (char *)(arg1)->GetCommand(); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -18663,7 +18667,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetOutput__SWIG_0(PyObject *sel } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetError__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetOutput__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; void *argp1 = 0 ; @@ -18674,12 +18678,12 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetError__SWIG_0(PyObject *self if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetError(); + result = (char *)(arg1)->GetOutput(); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -18689,194 +18693,61 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetError__SWIG_0(PyObject *self } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - lldb::SBFile arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - void *argp2 ; - int res2 = 0 ; - size_t result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); - } - arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); - { - res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBFile, 0 | 0); - if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "2"" of type '" "lldb::SBFile""'"); - } - if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_PutOutput" "', argument " "2"" of type '" "lldb::SBFile""'"); - } else { - lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); - arg2 = *temp; - if (SWIG_IsNewObj(res2)) delete temp; - } - } - { - SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->PutOutput(arg2); - SWIG_PYTHON_THREAD_END_ALLOW; - } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { - PyObject *resultobj = 0; - lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - void *argp1 = 0 ; - int res1 = 0 ; - size_t result; - - (void)self; - if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); - } - arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); - { - PythonFile py_file(PyRefType::Borrowed, swig_obj[1]); - if (!py_file) { - PyErr_SetString(PyExc_TypeError, "not a file"); - SWIG_fail; - } - auto sp = - unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true)); - if (!sp) - SWIG_fail; - arg2 = sp; - } - { - SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->PutOutput(arg2); - SWIG_PYTHON_THREAD_END_ALLOW; - } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); - return resultobj; -fail: - return NULL; -} - - -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[3] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_PutOutput", 0, 2, argv))) SWIG_fail; - --argc; - if (argc == 2) { - int _v = 0; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SBCommandReturnObject_PutOutput__SWIG_0(self, argc, argv); - } - } - } - if (argc == 2) { - int _v = 0; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - if (PythonFile::Check(argv[1])) { - _v = 1; - } else { - PyErr_Clear(); - _v = 0; - } - } - if (_v) { - return _wrap_SBCommandReturnObject_PutOutput__SWIG_1(self, argc, argv); - } - } - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBCommandReturnObject_PutOutput'.\n" - " Possible C/C++ prototypes are:\n" - " lldb::SBCommandReturnObject::PutOutput(lldb::SBFile)\n" - " lldb::SBCommandReturnObject::PutOutput(lldb::FileSP)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetOutputSize(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetError__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - size_t result; + char *result = 0 ; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetOutputSize" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetOutputSize(); + result = (char *)(arg1)->GetError(); SWIG_PYTHON_THREAD_END_ALLOW; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_FromCharPtr((const char *)result); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetErrorSize(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetErrorData(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; void *argp1 = 0 ; int res1 = 0 ; PyObject *swig_obj[1] ; - size_t result; + lldb::SBStructuredData result; (void)self; if (!args) SWIG_fail; swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetErrorSize" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetErrorData" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetErrorSize(); + result = (arg1)->GetErrorData(); SWIG_PYTHON_THREAD_END_ALLOW; } - resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; lldb::SBFile arg2 ; @@ -18890,16 +18761,16 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_0(PyObject *self if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBFile, 0 | 0); if (!SWIG_IsOK(res2)) { - SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_PutError" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_PutError" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_PutOutput" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -18908,7 +18779,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_0(PyObject *self } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->PutError(arg2); + result = (arg1)->PutOutput(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -18918,7 +18789,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_0(PyObject *self } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; @@ -18930,7 +18801,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_1(PyObject *self if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutOutput" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { @@ -18947,7 +18818,194 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_1(PyObject *self } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->PutError(arg2); + result = (arg1)->PutOutput(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutOutput(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[3] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_PutOutput", 0, 2, argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); + _v = SWIG_CheckState(res); + if (_v) { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_SBCommandReturnObject_PutOutput__SWIG_0(self, argc, argv); + } + } + } + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + if (PythonFile::Check(argv[1])) { + _v = 1; + } else { + PyErr_Clear(); + _v = 0; + } + } + if (_v) { + return _wrap_SBCommandReturnObject_PutOutput__SWIG_1(self, argc, argv); + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBCommandReturnObject_PutOutput'.\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBCommandReturnObject::PutOutput(lldb::SBFile)\n" + " lldb::SBCommandReturnObject::PutOutput(lldb::FileSP)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetOutputSize(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetOutputSize" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->GetOutputSize(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetErrorSize(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + size_t result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetErrorSize" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->GetErrorSize(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::SBFile arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + size_t result; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBFile, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_PutError" "', argument " "2"" of type '" "lldb::SBFile""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_PutError" "', argument " "2"" of type '" "lldb::SBFile""'"); + } else { + lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->PutError(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_size_t(static_cast< size_t >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_PutError__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + size_t result; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_PutError" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + { + PythonFile py_file(PyRefType::Borrowed, swig_obj[1]); + if (!py_file) { + PyErr_SetString(PyExc_TypeError, "not a file"); + SWIG_fail; + } + auto sp = + unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true)); + if (!sp) + SWIG_fail; + arg2 = sp; + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->PutError(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -19249,7 +19307,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetDescription(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -19286,7 +19344,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0( SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -19295,7 +19353,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0( } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetImmediateOutputFile(arg2); + (arg1)->SetImmediateOutputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -19327,7 +19385,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -19336,7 +19394,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(P } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetImmediateErrorFile(arg2); + (arg1)->SetImmediateErrorFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -19374,7 +19432,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1( } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetImmediateOutputFile(arg2); + (arg1)->SetImmediateOutputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -19412,7 +19470,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(P } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetImmediateErrorFile(arg2); + (arg1)->SetImmediateErrorFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -19738,7 +19796,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetError__SWIG_0(PyObject *self SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -19781,7 +19839,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetError__SWIG_1(PyObject *self SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommandReturnObject_SetError" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -19896,157 +19954,70 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetError(PyObject *self, PyObje } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject___repr__(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_GetValues(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + lldb::DynamicValueType arg2 ; void *argp1 = 0 ; int res1 = 0 ; - PyObject *swig_obj[1] ; - std::string result; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBValueList result; (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; + if (!SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_GetValues", 2, 2, swig_obj)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject___repr__" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_GetValues" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBCommandReturnObject_GetValues" "', argument " "2"" of type '" "lldb::DynamicValueType""'"); + } + arg2 = static_cast< lldb::DynamicValueType >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = lldb_SBCommandReturnObject___repr__(arg1); + result = (arg1)->GetValues(arg2); SWIG_PYTHON_THREAD_END_ALLOW; } - resultobj = SWIG_From_std_string(static_cast< std::string >(result)); + resultobj = SWIG_NewPointerObj((new lldb::SBValueList(result)), SWIGTYPE_p_lldb__SBValueList, SWIG_POINTER_OWN | 0 ); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject___repr__(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; - SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; - bool arg3 ; void *argp1 = 0 ; int res1 = 0 ; - bool val3 ; - int ecode3 = 0 ; + PyObject *swig_obj[1] ; + std::string result; (void)self; - if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + if (!args) SWIG_fail; + swig_obj[0] = args; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject___repr__" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); - { - PythonFile py_file(PyRefType::Borrowed, swig_obj[1]); - if (!py_file) { - PyErr_SetString(PyExc_TypeError, "not a file"); - SWIG_fail; - } - auto sp = - unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true)); - if (!sp) - SWIG_fail; - arg2 = sp; - } - ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); - if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "3"" of type '" "bool""'"); - } - arg3 = static_cast< bool >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); + result = lldb_SBCommandReturnObject___repr__(arg1); SWIG_PYTHON_THREAD_END_ALLOW; } - resultobj = SWIG_Py_Void(); + resultobj = SWIG_From_std_string(static_cast< std::string >(result)); return resultobj; fail: return NULL; } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile(PyObject *self, PyObject *args) { - Py_ssize_t argc; - PyObject *argv[4] = { - 0 - }; - - if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_SetImmediateOutputFile", 0, 3, argv))) SWIG_fail; - --argc; - if (argc == 2) { - int _v = 0; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); - _v = SWIG_CheckState(res); - if (_v) { - int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL | 0); - _v = SWIG_CheckState(res); - if (_v) { - return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(self, argc, argv); - } - } - } - if (argc == 2) { - int _v = 0; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - if (PythonFile::Check(argv[1])) { - _v = 1; - } else { - PyErr_Clear(); - _v = 0; - } - } - if (_v) { - return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(self, argc, argv); - } - } - } - if (argc == 3) { - int _v = 0; - void *vptr = 0; - int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); - _v = SWIG_CheckState(res); - if (_v) { - { - if (PythonFile::Check(argv[1])) { - _v = 1; - } else { - PyErr_Clear(); - _v = 0; - } - } - if (_v) { - { - int res = SWIG_AsVal_bool(argv[2], NULL); - _v = SWIG_CheckState(res); - } - if (_v) { - return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(self, argc, argv); - } - } - } - } - -fail: - SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBCommandReturnObject_SetImmediateOutputFile'.\n" - " Possible C/C++ prototypes are:\n" - " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::SBFile)\n" - " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP)\n" - " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP,bool)\n"); - return 0; -} - - -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; @@ -20060,7 +20031,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(P if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); } arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); { @@ -20077,12 +20048,12 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(P } ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); if (!SWIG_IsOK(ecode3)) { - SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "3"" of type '" "bool""'"); + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBCommandReturnObject_SetImmediateOutputFile" "', argument " "3"" of type '" "bool""'"); } arg3 = static_cast< bool >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); + lldb_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -20092,13 +20063,13 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(P } -SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile(PyObject *self, PyObject *args) { +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateOutputFile(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[4] = { 0 }; - if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_SetImmediateErrorFile", 0, 3, argv))) SWIG_fail; + if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_SetImmediateOutputFile", 0, 3, argv))) SWIG_fail; --argc; if (argc == 2) { int _v = 0; @@ -20109,7 +20080,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile(PyObject int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL | 0); _v = SWIG_CheckState(res); if (_v) { - return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(self, argc, argv); + return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_0(self, argc, argv); } } } @@ -20128,7 +20099,129 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile(PyObject } } if (_v) { - return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(self, argc, argv); + return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_1(self, argc, argv); + } + } + } + if (argc == 3) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + if (PythonFile::Check(argv[1])) { + _v = 1; + } else { + PyErr_Clear(); + _v = 0; + } + } + if (_v) { + { + int res = SWIG_AsVal_bool(argv[2], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_SBCommandReturnObject_SetImmediateOutputFile__SWIG_2(self, argc, argv); + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBCommandReturnObject_SetImmediateOutputFile'.\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::SBFile)\n" + " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP)\n" + " lldb::SBCommandReturnObject::SetImmediateOutputFile(lldb::FileSP,bool)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBCommandReturnObject *arg1 = (lldb::SBCommandReturnObject *) 0 ; + SwigValueWrapper< std::shared_ptr< lldb_private::File > > arg2 ; + bool arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val3 ; + int ecode3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBCommandReturnObject, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "1"" of type '" "lldb::SBCommandReturnObject *""'"); + } + arg1 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp1); + { + PythonFile py_file(PyRefType::Borrowed, swig_obj[1]); + if (!py_file) { + PyErr_SetString(PyExc_TypeError, "not a file"); + SWIG_fail; + } + auto sp = + unwrapOrSetPythonException(py_file.ConvertToFile(/*borrowed=*/true)); + if (!sp) + SWIG_fail; + arg2 = sp; + } + ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBCommandReturnObject_SetImmediateErrorFile" "', argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + lldb_SBCommandReturnObject_SetImmediateErrorFile__SWIG_2(arg1,SWIG_STD_MOVE(arg2),arg3); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBCommandReturnObject_SetImmediateErrorFile(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SBCommandReturnObject_SetImmediateErrorFile", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); + _v = SWIG_CheckState(res); + if (_v) { + int res = SWIG_ConvertPtr(argv[1], 0, SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_0(self, argc, argv); + } + } + } + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBCommandReturnObject, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + if (PythonFile::Check(argv[1])) { + _v = 1; + } else { + PyErr_Clear(); + _v = 0; + } + } + if (_v) { + return _wrap_SBCommandReturnObject_SetImmediateErrorFile__SWIG_1(self, argc, argv); } } } @@ -20270,7 +20363,7 @@ SWIGINTERN PyObject *_wrap_SBCommandReturnObject_flush(PyObject *self, PyObject SWIGINTERN PyObject *SBCommandReturnObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBCommandReturnObject, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -20729,12 +20822,12 @@ SWIGINTERN PyObject *_wrap_SBCommunication_Read(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBCommunication_Read" "', argument " "5"" of type '" "lldb::ConnectionStatus &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommunication_Read" "', argument " "5"" of type '" "lldb::ConnectionStatus &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommunication_Read" "', argument " "5"" of type '" "lldb::ConnectionStatus &""'"); } arg5 = reinterpret_cast< lldb::ConnectionStatus * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->Read(arg2,arg3,arg4,*arg5); + result = (arg1)->Read(arg2,SWIG_STD_MOVE(arg3),arg4,*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -20781,12 +20874,12 @@ SWIGINTERN PyObject *_wrap_SBCommunication_Write(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBCommunication_Write" "', argument " "4"" of type '" "lldb::ConnectionStatus &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCommunication_Write" "', argument " "4"" of type '" "lldb::ConnectionStatus &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCommunication_Write" "', argument " "4"" of type '" "lldb::ConnectionStatus &""'"); } arg4 = reinterpret_cast< lldb::ConnectionStatus * >(argp4); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->Write((void const *)arg2,arg3,*arg4); + result = (arg1)->Write((void const *)arg2,SWIG_STD_MOVE(arg3),*arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -20921,7 +21014,7 @@ SWIGINTERN PyObject *_wrap_SBCommunication_SetReadThreadBytesReceivedCallback(Py SWIGINTERN PyObject *SBCommunication_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBCommunication, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -20963,7 +21056,7 @@ SWIGINTERN PyObject *_wrap_new_SBCompileUnit__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBCompileUnit" "', argument " "1"" of type '" "lldb::SBCompileUnit const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBCompileUnit" "', argument " "1"" of type '" "lldb::SBCompileUnit const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBCompileUnit" "', argument " "1"" of type '" "lldb::SBCompileUnit const &""'"); } arg1 = reinterpret_cast< lldb::SBCompileUnit * >(argp1); { @@ -21206,7 +21299,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_0(PyObject *se SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); } arg2 = reinterpret_cast< lldb::SBLineEntry * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -21248,7 +21341,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit_FindLineEntryIndex__SWIG_1(PyObject *se SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit_FindLineEntryIndex" "', argument " "2"" of type '" "lldb::SBLineEntry &""'"); } arg2 = reinterpret_cast< lldb::SBLineEntry * >(argp2); { @@ -21580,7 +21673,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit_FindSupportFileIndex(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBCompileUnit_FindSupportFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit_FindSupportFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit_FindSupportFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -21753,7 +21846,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCompileUnit___eq__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit___eq__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit___eq__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); } arg2 = reinterpret_cast< lldb::SBCompileUnit * >(argp2); { @@ -21768,7 +21861,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -21796,7 +21889,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCompileUnit___ne__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit___ne__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit___ne__" "', argument " "2"" of type '" "lldb::SBCompileUnit const &""'"); } arg2 = reinterpret_cast< lldb::SBCompileUnit * >(argp2); { @@ -21811,7 +21904,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -21839,7 +21932,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBCompileUnit_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBCompileUnit_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBCompileUnit_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -21883,7 +21976,7 @@ SWIGINTERN PyObject *_wrap_SBCompileUnit___repr__(PyObject *self, PyObject *args SWIGINTERN PyObject *SBCompileUnit_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBCompileUnit, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -21893,6 +21986,540 @@ SWIGINTERN PyObject *SBCompileUnit_swiginit(PyObject *SWIGUNUSEDPARM(self), PyOb return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_SBSaveCoreOptions__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *result = 0 ; + + (void)self; + if ((nobjs < 0) || (nobjs > 0)) SWIG_fail; + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::SBSaveCoreOptions *)new lldb::SBSaveCoreOptions(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_SBSaveCoreOptions__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + lldb::SBSaveCoreOptions *result = 0 ; + + (void)self; + if ((nobjs < 1) || (nobjs > 1)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1, SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSaveCoreOptions" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const &""'"); + } + if (!argp1) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSaveCoreOptions" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const &""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::SBSaveCoreOptions *)new lldb::SBSaveCoreOptions((lldb::SBSaveCoreOptions const &)*arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_POINTER_NEW | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_SBSaveCoreOptions(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[2] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SBSaveCoreOptions", 0, 1, argv))) SWIG_fail; + --argc; + if (argc == 0) { + return _wrap_new_SBSaveCoreOptions__SWIG_0(self, argc, argv); + } + if (argc == 1) { + int _v = 0; + int res = SWIG_ConvertPtr(argv[0], 0, SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_POINTER_NO_NULL | 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_SBSaveCoreOptions__SWIG_1(self, argc, argv); + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SBSaveCoreOptions'.\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBSaveCoreOptions::SBSaveCoreOptions()\n" + " lldb::SBSaveCoreOptions::SBSaveCoreOptions(lldb::SBSaveCoreOptions const &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_delete_SBSaveCoreOptions(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SBSaveCoreOptions" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + delete arg1; + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_SetPluginName(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + char *arg2 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBError result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_SetPluginName", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_SetPluginName" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_SetPluginName" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->SetPluginName((char const *)arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_GetPluginName(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_GetPluginName" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (char *)((lldb::SBSaveCoreOptions const *)arg1)->GetPluginName(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_FromCharPtr((const char *)result); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_SetStyle(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SaveCoreStyle arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_SetStyle", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_SetStyle" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBSaveCoreOptions_SetStyle" "', argument " "2"" of type '" "lldb::SaveCoreStyle""'"); + } + arg2 = static_cast< lldb::SaveCoreStyle >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetStyle(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_GetStyle(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SaveCoreStyle result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_GetStyle" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::SaveCoreStyle)((lldb::SBSaveCoreOptions const *)arg1)->GetStyle(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_int(static_cast< int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_SetOutputFile(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SBFileSpec arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_SetOutputFile", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_SetOutputFile" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_SetOutputFile" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSaveCoreOptions_SetOutputFile" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + } else { + lldb::SBFileSpec * temp = reinterpret_cast< lldb::SBFileSpec * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetOutputFile(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_GetOutputFile(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SBFileSpec result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_GetOutputFile" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = ((lldb::SBSaveCoreOptions const *)arg1)->GetOutputFile(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBFileSpec(result)), SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_SetProcess(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SBProcess arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBError result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_SetProcess", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_SetProcess" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBProcess, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_SetProcess" "', argument " "2"" of type '" "lldb::SBProcess""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSaveCoreOptions_SetProcess" "', argument " "2"" of type '" "lldb::SBProcess""'"); + } else { + lldb::SBProcess * temp = reinterpret_cast< lldb::SBProcess * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->SetProcess(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_AddThread(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SBThread arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBError result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_AddThread", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_AddThread" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBThread, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_AddThread" "', argument " "2"" of type '" "lldb::SBThread""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSaveCoreOptions_AddThread" "', argument " "2"" of type '" "lldb::SBThread""'"); + } else { + lldb::SBThread * temp = reinterpret_cast< lldb::SBThread * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->AddThread(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_RemoveThread(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SBThread arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + bool result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_RemoveThread", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_RemoveThread" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBThread, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_RemoveThread" "', argument " "2"" of type '" "lldb::SBThread""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSaveCoreOptions_RemoveThread" "', argument " "2"" of type '" "lldb::SBThread""'"); + } else { + lldb::SBThread * temp = reinterpret_cast< lldb::SBThread * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)(arg1)->RemoveThread(SWIG_STD_MOVE(arg2)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_AddMemoryRegionToSave(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + lldb::SBMemoryRegionInfo *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBError result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBSaveCoreOptions_AddMemoryRegionToSave", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_AddMemoryRegionToSave" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBMemoryRegionInfo, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSaveCoreOptions_AddMemoryRegionToSave" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSaveCoreOptions_AddMemoryRegionToSave" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); + } + arg2 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->AddMemoryRegionToSave((lldb::SBMemoryRegionInfo const &)*arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_GetThreadsToSave(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SBThreadCollection result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_GetThreadsToSave" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = ((lldb::SBSaveCoreOptions const *)arg1)->GetThreadsToSave(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBThreadCollection(result)), SWIGTYPE_p_lldb__SBThreadCollection, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBSaveCoreOptions_Clear(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBSaveCoreOptions *arg1 = (lldb::SBSaveCoreOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBSaveCoreOptions_Clear" "', argument " "1"" of type '" "lldb::SBSaveCoreOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->Clear(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *SBSaveCoreOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj = NULL; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *SBSaveCoreOptions_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN PyObject *_wrap_new_SBData__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; lldb::SBData *result = 0 ; @@ -21925,7 +22552,7 @@ SWIGINTERN PyObject *_wrap_new_SBData__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBData" "', argument " "1"" of type '" "lldb::SBData const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBData" "', argument " "1"" of type '" "lldb::SBData const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBData" "', argument " "1"" of type '" "lldb::SBData const &""'"); } arg1 = reinterpret_cast< lldb::SBData * >(argp1); { @@ -22257,7 +22884,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetFloat(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetFloat" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetFloat" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetFloat" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22303,7 +22930,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetDouble(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22349,7 +22976,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetLongDouble(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetLongDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetLongDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetLongDouble" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22395,7 +23022,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetAddress(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetAddress" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetAddress" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetAddress" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22441,7 +23068,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetUnsignedInt8(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetUnsignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetUnsignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetUnsignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22487,7 +23114,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetUnsignedInt16(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetUnsignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetUnsignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetUnsignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22533,7 +23160,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetUnsignedInt32(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetUnsignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetUnsignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetUnsignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22579,7 +23206,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetUnsignedInt64(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetUnsignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetUnsignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetUnsignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22625,7 +23252,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetSignedInt8(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetSignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetSignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetSignedInt8" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22671,7 +23298,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetSignedInt16(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetSignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetSignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetSignedInt16" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22717,7 +23344,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetSignedInt32(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetSignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetSignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetSignedInt32" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22763,7 +23390,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetSignedInt64(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetSignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetSignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetSignedInt64" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22809,7 +23436,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetString(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetString" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetString" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetString" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22857,7 +23484,7 @@ SWIGINTERN PyObject *_wrap_SBData_ReadRawData(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_ReadRawData" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_ReadRawData" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_ReadRawData" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22880,7 +23507,7 @@ SWIGINTERN PyObject *_wrap_SBData_ReadRawData(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadRawData(*arg2,arg3,arg4,arg5); + result = (arg1)->ReadRawData(*arg2,arg3,arg4,SWIG_STD_MOVE(arg5)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -22926,7 +23553,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetDescription__SWIG_0(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -22968,7 +23595,7 @@ SWIGINTERN PyObject *_wrap_SBData_GetDescription__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -23065,7 +23692,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetData(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_SetData" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_SetData" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_SetData" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -23098,7 +23725,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetData(PyObject *self, PyObject *args) { arg6 = static_cast< uint8_t >(val6); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetData(*arg2,(void const *)arg3,arg4,arg5,arg6); + (arg1)->SetData(*arg2,(void const *)arg3,SWIG_STD_MOVE(arg4),arg5,arg6); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -23138,7 +23765,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataWithOwnership(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_SetDataWithOwnership" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_SetDataWithOwnership" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_SetDataWithOwnership" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -23171,7 +23798,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataWithOwnership(PyObject *self, PyObject arg6 = static_cast< uint8_t >(val6); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetDataWithOwnership(*arg2,(void const *)arg3,arg4,arg5,arg6); + (arg1)->SetDataWithOwnership(*arg2,(void const *)arg3,SWIG_STD_MOVE(arg4),arg5,arg6); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -23204,7 +23831,7 @@ SWIGINTERN PyObject *_wrap_SBData_Append(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBData_Append" "', argument " "2"" of type '" "lldb::SBData const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBData_Append" "', argument " "2"" of type '" "lldb::SBData const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBData_Append" "', argument " "2"" of type '" "lldb::SBData const &""'"); } arg2 = reinterpret_cast< lldb::SBData * >(argp2); { @@ -23693,7 +24320,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataFromUInt64Array(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetDataFromUInt64Array(arg2,arg3); + result = (bool)(arg1)->SetDataFromUInt64Array(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -23754,7 +24381,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataFromUInt32Array(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetDataFromUInt32Array(arg2,arg3); + result = (bool)(arg1)->SetDataFromUInt32Array(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -23815,7 +24442,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataFromSInt64Array(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetDataFromSInt64Array(arg2,arg3); + result = (bool)(arg1)->SetDataFromSInt64Array(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -23876,7 +24503,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataFromSInt32Array(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetDataFromSInt32Array(arg2,arg3); + result = (bool)(arg1)->SetDataFromSInt32Array(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -23937,7 +24564,7 @@ SWIGINTERN PyObject *_wrap_SBData_SetDataFromDoubleArray(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetDataFromDoubleArray(arg2,arg3); + result = (bool)(arg1)->SetDataFromDoubleArray(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -23982,7 +24609,7 @@ SWIGINTERN PyObject *_wrap_SBData___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBData, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -24024,7 +24651,7 @@ SWIGINTERN PyObject *_wrap_new_SBDebugger__SWIG_1(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBDebugger" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBDebugger" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBDebugger" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); } arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); { @@ -24113,6 +24740,34 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetBroadcasterClass(PyObject *self, PyObje } +SWIGINTERN PyObject *_wrap_SBDebugger_SupportsLanguage(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBDebugger_SupportsLanguage" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBDebugger::SupportsLanguage(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBDebugger_GetBroadcaster(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; @@ -24173,7 +24828,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetProgressFromEvent(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_GetProgressFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetProgressFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetProgressFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -24183,28 +24838,28 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetProgressFromEvent(PyObject *self, PyObj } resultobj = SWIG_FromCharPtr((const char *)result); if (SWIG_IsTmpObj(res2)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg2))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg2)), 0); } else { int new_flags = SWIG_IsNewObj(res2) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_long_long, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg2), SWIGTYPE_p_unsigned_long_long, new_flags), 0); } if (SWIG_IsTmpObj(res3)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg3))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg3)), 0); } else { int new_flags = SWIG_IsNewObj(res3) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_long_long, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg3), SWIGTYPE_p_unsigned_long_long, new_flags), 0); } if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg4))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((*arg4)), 0); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_long_long, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_unsigned_long_long, new_flags), 0); } if (SWIG_IsTmpObj(res5)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg5))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg5)), 0); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_bool, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_bool, new_flags), 0); } return resultobj; fail: @@ -24228,7 +24883,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetProgressDataFromEvent(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_GetProgressDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetProgressDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetProgressDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -24259,7 +24914,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetDiagnosticFromEvent(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_GetDiagnosticFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetDiagnosticFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetDiagnosticFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -24515,7 +25170,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_Destroy(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_Destroy" "', argument " "1"" of type '" "lldb::SBDebugger &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_Destroy" "', argument " "1"" of type '" "lldb::SBDebugger &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_Destroy" "', argument " "1"" of type '" "lldb::SBDebugger &""'"); } arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); { @@ -24924,7 +25579,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetInputFile__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_SetInputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_SetInputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_SetInputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -24933,7 +25588,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetInputFile__SWIG_0(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetInputFile(arg2); + result = (arg1)->SetInputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -24966,7 +25621,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetOutputFile__SWIG_0(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_SetOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_SetOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_SetOutputFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -24975,7 +25630,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetOutputFile__SWIG_0(PyObject *self, Py_s } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetOutputFile(arg2); + result = (arg1)->SetOutputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -25008,7 +25663,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetErrorFile__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_SetErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_SetErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_SetErrorFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -25017,7 +25672,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetErrorFile__SWIG_0(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetErrorFile(arg2); + result = (arg1)->SetErrorFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -25055,7 +25710,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetInputFile__SWIG_1(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetInputFile(arg2); + result = (arg1)->SetInputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -25143,7 +25798,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetOutputFile__SWIG_1(PyObject *self, Py_s } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetOutputFile(arg2); + result = (arg1)->SetOutputFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -25231,7 +25886,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetErrorFile__SWIG_1(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetErrorFile(arg2); + result = (arg1)->SetErrorFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -25634,7 +26289,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); } arg2 = reinterpret_cast< lldb::SBProcess * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBEvent, 0 | 0); @@ -25642,7 +26297,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); } arg3 = reinterpret_cast< lldb::SBEvent * >(argp3); { @@ -25651,7 +26306,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "4"" of type '" "lldb::SBFile""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "4"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "4"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp4); arg4 = *temp; @@ -25664,7 +26319,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "5"" of type '" "lldb::SBFile""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "5"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "5"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp5); arg5 = *temp; @@ -25673,7 +26328,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_0(PyObject *self, } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); + (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,SWIG_STD_MOVE(arg4),SWIG_STD_MOVE(arg5)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -25709,7 +26364,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "2"" of type '" "lldb::SBProcess const &""'"); } arg2 = reinterpret_cast< lldb::SBProcess * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBEvent, 0 | 0); @@ -25717,7 +26372,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_HandleProcessEvent" "', argument " "3"" of type '" "lldb::SBEvent const &""'"); } arg3 = reinterpret_cast< lldb::SBEvent * >(argp3); { @@ -25746,7 +26401,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_HandleProcessEvent__SWIG_1(PyObject *self, } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,arg4,arg5); + (arg1)->HandleProcessEvent((lldb::SBProcess const &)*arg2,(lldb::SBEvent const &)*arg3,SWIG_STD_MOVE(arg4),SWIG_STD_MOVE(arg5)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -25893,7 +26548,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_CreateTarget__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBDebugger_CreateTarget" "', argument " "6"" of type '" "lldb::SBError &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_CreateTarget" "', argument " "6"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_CreateTarget" "', argument " "6"" of type '" "lldb::SBError &""'"); } arg6 = reinterpret_cast< lldb::SBError * >(argp6); { @@ -26163,7 +26818,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_DeleteTarget(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_DeleteTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_DeleteTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_DeleteTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -26237,7 +26892,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetIndexOfTarget(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetIndexOfTarget" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetIndexOfTarget" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetIndexOfTarget" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -26246,7 +26901,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetIndexOfTarget(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (uint32_t)(arg1)->GetIndexOfTarget(arg2); + result = (uint32_t)(arg1)->GetIndexOfTarget(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); @@ -26418,7 +27073,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetSelectedTarget(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_SetSelectedTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_SetSelectedTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_SetSelectedTarget" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -26483,7 +27138,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetSelectedPlatform(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_SetSelectedPlatform" "', argument " "2"" of type '" "lldb::SBPlatform &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_SetSelectedPlatform" "', argument " "2"" of type '" "lldb::SBPlatform &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_SetSelectedPlatform" "', argument " "2"" of type '" "lldb::SBPlatform &""'"); } arg2 = reinterpret_cast< lldb::SBPlatform * >(argp2); { @@ -26854,6 +27509,41 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetUseColor(PyObject *self, PyObject *args } +SWIGINTERN PyObject *_wrap_SBDebugger_SetShowInlineDiagnostics(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + bool result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBDebugger_SetShowInlineDiagnostics", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_SetShowInlineDiagnostics" "', argument " "1"" of type '" "lldb::SBDebugger *""'"); + } + arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBDebugger_SetShowInlineDiagnostics" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)(arg1)->SetShowInlineDiagnostics(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBDebugger_SetUseSourceCache(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; @@ -27470,7 +28160,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_DispatchInput(PyObject *self, PyObject *ar } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->DispatchInput((void const *)arg2,arg3); + (arg1)->DispatchInput((void const *)arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -27706,7 +28396,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetDescription(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -27783,6 +28473,68 @@ SWIGINTERN PyObject *_wrap_SBDebugger_SetTerminalWidth(PyObject *self, PyObject } +SWIGINTERN PyObject *_wrap_SBDebugger_GetTerminalHeight(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + uint32_t result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_GetTerminalHeight" "', argument " "1"" of type '" "lldb::SBDebugger const *""'"); + } + arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (uint32_t)((lldb::SBDebugger const *)arg1)->GetTerminalHeight(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBDebugger_SetTerminalHeight(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + uint32_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBDebugger_SetTerminalHeight", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_SetTerminalHeight" "', argument " "1"" of type '" "lldb::SBDebugger *""'"); + } + arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBDebugger_SetTerminalHeight" "', argument " "2"" of type '" "uint32_t""'"); + } + arg2 = static_cast< uint32_t >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetTerminalHeight(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBDebugger_GetID(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; @@ -28398,7 +29150,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetFormatForType(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -28407,7 +29159,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetFormatForType(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetFormatForType(arg2); + result = (arg1)->GetFormatForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeFormat(result)), SWIGTYPE_p_lldb__SBTypeFormat, SWIG_POINTER_OWN | 0 ); @@ -28441,7 +29193,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetSummaryForType(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -28450,7 +29202,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetSummaryForType(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSummaryForType(arg2); + result = (arg1)->GetSummaryForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeSummary(result)), SWIGTYPE_p_lldb__SBTypeSummary, SWIG_POINTER_OWN | 0 ); @@ -28484,7 +29236,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetFilterForType(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -28493,7 +29245,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetFilterForType(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetFilterForType(arg2); + result = (arg1)->GetFilterForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeFilter(result)), SWIGTYPE_p_lldb__SBTypeFilter, SWIG_POINTER_OWN | 0 ); @@ -28527,7 +29279,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetSyntheticForType(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -28536,7 +29288,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetSyntheticForType(PyObject *self, PyObje } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSyntheticForType(arg2); + result = (arg1)->GetSyntheticForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeSynthetic(result)), SWIGTYPE_p_lldb__SBTypeSynthetic, SWIG_POINTER_OWN | 0 ); @@ -28546,6 +29298,33 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetSyntheticForType(PyObject *self, PyObje } +SWIGINTERN PyObject *_wrap_SBDebugger_ResetStatistics(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBDebugger, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBDebugger_ResetStatistics" "', argument " "1"" of type '" "lldb::SBDebugger *""'"); + } + arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->ResetStatistics(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBDebugger_RunCommandInterpreter(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBDebugger *arg1 = (lldb::SBDebugger *) 0 ; @@ -28593,7 +29372,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_RunCommandInterpreter(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBDebugger_RunCommandInterpreter" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_RunCommandInterpreter" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_RunCommandInterpreter" "', argument " "4"" of type '" "lldb::SBCommandInterpreterRunOptions &""'"); } arg4 = reinterpret_cast< lldb::SBCommandInterpreterRunOptions * >(argp4); if (!(SWIG_IsOK((res5 = SWIG_ConvertPtr(swig_obj[4],SWIG_as_voidptrptr(&arg5),SWIGTYPE_p_int,0))))) { @@ -28633,22 +29412,22 @@ SWIGINTERN PyObject *_wrap_SBDebugger_RunCommandInterpreter(PyObject *self, PyOb } resultobj = SWIG_Py_Void(); if (SWIG_IsTmpObj(res5)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*arg5)), 1); } else { int new_flags = SWIG_IsNewObj(res5) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg5), SWIGTYPE_p_int, new_flags), 1); } if (SWIG_IsTmpObj(res6)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg6))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg6)), 1); } else { int new_flags = SWIG_IsNewObj(res6) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_bool, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg6), SWIGTYPE_p_bool, new_flags), 1); } if (SWIG_IsTmpObj(res7)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg7))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_bool((*arg7)), 1); } else { int new_flags = SWIG_IsNewObj(res7) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_bool, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg7), SWIGTYPE_p_bool, new_flags), 1); } return resultobj; fail: @@ -28728,7 +29507,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_LoadTraceFromFile(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); @@ -28736,7 +29515,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_LoadTraceFromFile(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDebugger_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -28903,7 +29682,7 @@ SWIGINTERN PyObject *_wrap_SBDebugger_GetErrorFileHandle(PyObject *self, PyObjec SWIGINTERN PyObject *SBDebugger_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBDebugger, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -28945,7 +29724,7 @@ SWIGINTERN PyObject *_wrap_new_SBDeclaration__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBDeclaration" "', argument " "1"" of type '" "lldb::SBDeclaration const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBDeclaration" "', argument " "1"" of type '" "lldb::SBDeclaration const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBDeclaration" "', argument " "1"" of type '" "lldb::SBDeclaration const &""'"); } arg1 = reinterpret_cast< lldb::SBDeclaration * >(argp1); { @@ -29179,7 +29958,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration_SetFileSpec(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDeclaration_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDeclaration_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDeclaration_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } else { lldb::SBFileSpec * temp = reinterpret_cast< lldb::SBFileSpec * >(argp2); arg2 = *temp; @@ -29188,7 +29967,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration_SetFileSpec(PyObject *self, PyObject *a } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetFileSpec(arg2); + (arg1)->SetFileSpec(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -29289,7 +30068,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDeclaration___eq__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDeclaration___eq__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDeclaration___eq__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); } arg2 = reinterpret_cast< lldb::SBDeclaration * >(argp2); { @@ -29304,7 +30083,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -29332,7 +30111,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDeclaration___ne__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDeclaration___ne__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDeclaration___ne__" "', argument " "2"" of type '" "lldb::SBDeclaration const &""'"); } arg2 = reinterpret_cast< lldb::SBDeclaration * >(argp2); { @@ -29347,7 +30126,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -29375,7 +30154,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBDeclaration_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBDeclaration_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBDeclaration_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -29419,7 +30198,7 @@ SWIGINTERN PyObject *_wrap_SBDeclaration___repr__(PyObject *self, PyObject *args SWIGINTERN PyObject *SBDeclaration_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBDeclaration, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -29461,7 +30240,7 @@ SWIGINTERN PyObject *_wrap_new_SBError__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBError" "', argument " "1"" of type '" "lldb::SBError const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBError" "', argument " "1"" of type '" "lldb::SBError const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBError" "', argument " "1"" of type '" "lldb::SBError const &""'"); } arg1 = reinterpret_cast< lldb::SBError * >(argp1); { @@ -29709,6 +30488,34 @@ SWIGINTERN PyObject *_wrap_SBError_GetError(PyObject *self, PyObject *args) { } +SWIGINTERN PyObject *_wrap_SBError_GetErrorData(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBError *arg1 = (lldb::SBError *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SBStructuredData result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBError, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBError_GetErrorData" "', argument " "1"" of type '" "lldb::SBError const *""'"); + } + arg1 = reinterpret_cast< lldb::SBError * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = ((lldb::SBError const *)arg1)->GetErrorData(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBError_GetType(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBError *arg1 = (lldb::SBError *) 0 ; @@ -30259,7 +31066,7 @@ SWIGINTERN PyObject *_wrap_SBError_GetDescription(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBError_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBError_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBError_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -30303,7 +31110,7 @@ SWIGINTERN PyObject *_wrap_SBError___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBError_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBError, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -30345,7 +31152,7 @@ SWIGINTERN PyObject *_wrap_new_SBEnvironment__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBEnvironment" "', argument " "1"" of type '" "lldb::SBEnvironment const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBEnvironment" "', argument " "1"" of type '" "lldb::SBEnvironment const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBEnvironment" "', argument " "1"" of type '" "lldb::SBEnvironment const &""'"); } arg1 = reinterpret_cast< lldb::SBEnvironment * >(argp1); { @@ -30507,7 +31314,7 @@ SWIGINTERN PyObject *_wrap_SBEnvironment_GetNameAtIndex(PyObject *self, PyObject arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetNameAtIndex(arg2); + result = (char *)(arg1)->GetNameAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -30542,7 +31349,7 @@ SWIGINTERN PyObject *_wrap_SBEnvironment_GetValueAtIndex(PyObject *self, PyObjec arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetValueAtIndex(arg2); + result = (char *)(arg1)->GetValueAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -30642,7 +31449,7 @@ SWIGINTERN PyObject *_wrap_SBEnvironment_SetEntries(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBEnvironment_SetEntries" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBEnvironment_SetEntries" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBEnvironment_SetEntries" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -30785,7 +31592,7 @@ SWIGINTERN PyObject *_wrap_SBEnvironment_Clear(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBEnvironment_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBEnvironment, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -30827,7 +31634,7 @@ SWIGINTERN PyObject *_wrap_new_SBEvent__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -31159,7 +31966,7 @@ SWIGINTERN PyObject *_wrap_SBEvent_BroadcasterMatchesRef(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBEvent_BroadcasterMatchesRef" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBEvent_BroadcasterMatchesRef" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBEvent_BroadcasterMatchesRef" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); { @@ -31217,7 +32024,7 @@ SWIGINTERN PyObject *_wrap_SBEvent_GetCStringFromEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBEvent_GetCStringFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBEvent_GetCStringFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBEvent_GetCStringFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -31254,7 +32061,7 @@ SWIGINTERN PyObject *_wrap_SBEvent_GetDescription__SWIG_0(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -31291,7 +32098,7 @@ SWIGINTERN PyObject *_wrap_SBEvent_GetDescription__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBEvent_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -31353,7 +32160,7 @@ SWIGINTERN PyObject *_wrap_SBEvent_GetDescription(PyObject *self, PyObject *args SWIGINTERN PyObject *SBEvent_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBEvent, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -31395,7 +32202,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBExecutionContext const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBExecutionContext const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBExecutionContext const &""'"); } arg1 = reinterpret_cast< lldb::SBExecutionContext * >(argp1); { @@ -31424,7 +32231,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_2(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); { @@ -31453,7 +32260,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_3(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); } arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); { @@ -31483,7 +32290,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_4(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBThread""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBThread""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBThread""'"); } else { lldb::SBThread * temp = reinterpret_cast< lldb::SBThread * >(argp1); arg1 = *temp; @@ -31492,7 +32299,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_4(PyObject *self, Py_ssi } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(arg1); + result = (lldb::SBExecutionContext *)new lldb::SBExecutionContext(SWIG_STD_MOVE(arg1)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBExecutionContext, SWIG_POINTER_NEW | 0 ); @@ -31516,7 +32323,7 @@ SWIGINTERN PyObject *_wrap_new_SBExecutionContext__SWIG_5(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExecutionContext" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); } arg1 = reinterpret_cast< lldb::SBFrame * >(argp1); { @@ -31736,7 +32543,7 @@ SWIGINTERN PyObject *_wrap_SBExecutionContext_GetFrame(PyObject *self, PyObject SWIGINTERN PyObject *SBExecutionContext_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBExecutionContext, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -31778,7 +32585,7 @@ SWIGINTERN PyObject *_wrap_new_SBExpressionOptions__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBExpressionOptions" "', argument " "1"" of type '" "lldb::SBExpressionOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBExpressionOptions" "', argument " "1"" of type '" "lldb::SBExpressionOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBExpressionOptions" "', argument " "1"" of type '" "lldb::SBExpressionOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBExpressionOptions * >(argp1); { @@ -34215,7 +35022,7 @@ SWIGINTERN PyObject *_wrap_SBExpressionOptions_SetAllowJIT(PyObject *self, PyObj SWIGINTERN PyObject *SBExpressionOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBExpressionOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -34263,7 +35070,7 @@ SWIGINTERN PyObject *_wrap_new_SBFile__SWIG_1(PyObject *self, Py_ssize_t nobjs, } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBFile *)new lldb::SBFile(arg1); + result = (lldb::SBFile *)new lldb::SBFile(SWIG_STD_MOVE(arg1)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBFile, SWIG_POINTER_NEW | 0 ); @@ -34439,15 +35246,15 @@ SWIGINTERN PyObject *_wrap_SBFile_Read(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->Read(arg2,arg3,arg4); + result = (arg1)->Read(arg2,SWIG_STD_MOVE(arg3),arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_size_t((*arg4))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_size_t((*arg4)), 0); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags), 0); } return resultobj; fail: @@ -34493,15 +35300,15 @@ SWIGINTERN PyObject *_wrap_SBFile_Write(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->Write((uint8_t const *)arg2,arg3,arg4); + result = (arg1)->Write((uint8_t const *)arg2,SWIG_STD_MOVE(arg3),arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); if (SWIG_IsTmpObj(res4)) { - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_size_t((*arg4))); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_From_size_t((*arg4)), 0); } else { int new_flags = SWIG_IsNewObj(res4) ? (SWIG_POINTER_OWN | 0 ) : 0 ; - resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags)); + resultobj = SWIG_Python_AppendOutput(resultobj, SWIG_NewPointerObj((void*)(arg4), SWIGTYPE_p_size_t, new_flags), 0); } return resultobj; fail: @@ -34762,7 +35569,7 @@ SWIGINTERN PyObject *_wrap_SBFile_MakeBorrowedForcingIOMethods(PyObject *self, P SWIGINTERN PyObject *SBFile_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFile, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -34804,7 +35611,7 @@ SWIGINTERN PyObject *_wrap_new_SBFileSpec__SWIG_1(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBFileSpec" "', argument " "1"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFileSpec" "', argument " "1"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFileSpec" "', argument " "1"" of type '" "lldb::SBFileSpec const &""'"); } arg1 = reinterpret_cast< lldb::SBFileSpec * >(argp1); { @@ -35016,7 +35823,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpec___eq__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpec___eq__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpec___eq__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -35031,7 +35838,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -35059,7 +35866,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpec___ne__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpec___ne__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpec___ne__" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -35074,7 +35881,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -35327,7 +36134,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec_GetPath(PyObject *self, PyObject *args) { arg3 = static_cast< size_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,arg3); + result = (uint32_t)((lldb::SBFileSpec const *)arg1)->GetPath(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_unsigned_SS_int(static_cast< unsigned int >(result)); @@ -35411,7 +36218,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec_GetDescription(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -35492,7 +36299,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpec___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBFileSpec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFileSpec, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -35534,7 +36341,7 @@ SWIGINTERN PyObject *_wrap_new_SBFileSpecList__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBFileSpecList" "', argument " "1"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFileSpecList" "', argument " "1"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFileSpecList" "', argument " "1"" of type '" "lldb::SBFileSpecList const &""'"); } arg1 = reinterpret_cast< lldb::SBFileSpecList * >(argp1); { @@ -35656,7 +36463,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpecList_GetDescription(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -35693,7 +36500,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpecList_Append(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpecList_Append" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpecList_Append" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpecList_Append" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -35731,7 +36538,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpecList_AppendIfUnique(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFileSpecList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpecList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpecList_AppendIfUnique" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -35807,7 +36614,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpecList_FindFileIndex(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBFileSpecList_FindFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFileSpecList_FindFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFileSpecList_FindFileIndex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -35891,7 +36698,7 @@ SWIGINTERN PyObject *_wrap_SBFileSpecList___repr__(PyObject *self, PyObject *arg SWIGINTERN PyObject *SBFileSpecList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFileSpecList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -35942,7 +36749,7 @@ SWIGINTERN PyObject *_wrap_new_SBFormat__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SBFormat" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFormat" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFormat" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -35973,7 +36780,7 @@ SWIGINTERN PyObject *_wrap_new_SBFormat__SWIG_2(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBFormat" "', argument " "1"" of type '" "lldb::SBFormat const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFormat" "', argument " "1"" of type '" "lldb::SBFormat const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFormat" "', argument " "1"" of type '" "lldb::SBFormat const &""'"); } arg1 = reinterpret_cast< lldb::SBFormat * >(argp1); { @@ -36087,7 +36894,7 @@ SWIGINTERN PyObject *_wrap_SBFormat___nonzero__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBFormat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFormat, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -36129,7 +36936,7 @@ SWIGINTERN PyObject *_wrap_new_SBFrame__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBFrame" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFrame" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFrame" "', argument " "1"" of type '" "lldb::SBFrame const &""'"); } arg1 = reinterpret_cast< lldb::SBFrame * >(argp1); { @@ -36223,7 +37030,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_IsEqual(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame_IsEqual" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_IsEqual" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_IsEqual" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); { @@ -36844,34 +37651,6 @@ SWIGINTERN PyObject *_wrap_SBFrame_IsSwiftThunk(PyObject *self, PyObject *args) } -SWIGINTERN PyObject *_wrap_SBFrame_GetLanguageSpecificData(PyObject *self, PyObject *args) { - PyObject *resultobj = 0; - lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; - void *argp1 = 0 ; - int res1 = 0 ; - PyObject *swig_obj[1] ; - lldb::SBStructuredData result; - - (void)self; - if (!args) SWIG_fail; - swig_obj[0] = args; - res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBFrame, 0 | 0 ); - if (!SWIG_IsOK(res1)) { - SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBFrame_GetLanguageSpecificData" "', argument " "1"" of type '" "lldb::SBFrame const *""'"); - } - arg1 = reinterpret_cast< lldb::SBFrame * >(argp1); - { - SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBFrame const *)arg1)->GetLanguageSpecificData(); - SWIG_PYTHON_THREAD_END_ALLOW; - } - resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); - return resultobj; -fail: - return NULL; -} - - SWIGINTERN PyObject *_wrap_SBFrame_IsInlined__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; @@ -37048,6 +37827,34 @@ SWIGINTERN PyObject *_wrap_SBFrame_IsArtificial(PyObject *self, PyObject *args) } +SWIGINTERN PyObject *_wrap_SBFrame_IsHidden(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBFrame, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBFrame_IsHidden" "', argument " "1"" of type '" "lldb::SBFrame const *""'"); + } + arg1 = reinterpret_cast< lldb::SBFrame * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)((lldb::SBFrame const *)arg1)->IsHidden(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBFrame_EvaluateExpression__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { PyObject *resultobj = 0; lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; @@ -37214,7 +38021,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_EvaluateExpression__SWIG_3(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBFrame_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } arg3 = reinterpret_cast< lldb::SBExpressionOptions * >(argp3); { @@ -37325,6 +38132,34 @@ SWIGINTERN PyObject *_wrap_SBFrame_EvaluateExpression(PyObject *self, PyObject * } +SWIGINTERN PyObject *_wrap_SBFrame_GetLanguageSpecificData(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SBStructuredData result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBFrame, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBFrame_GetLanguageSpecificData" "', argument " "1"" of type '" "lldb::SBFrame const *""'"); + } + arg1 = reinterpret_cast< lldb::SBFrame * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = ((lldb::SBFrame const *)arg1)->GetLanguageSpecificData(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBFrame_GetFrameBlock(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBFrame *arg1 = (lldb::SBFrame *) 0 ; @@ -37487,7 +38322,7 @@ SWIGINTERN PyObject *_wrap_SBFrame___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame___eq__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame___eq__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame___eq__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); { @@ -37502,7 +38337,7 @@ SWIGINTERN PyObject *_wrap_SBFrame___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -37530,7 +38365,7 @@ SWIGINTERN PyObject *_wrap_SBFrame___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame___ne__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame___ne__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame___ne__" "', argument " "2"" of type '" "lldb::SBFrame const &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); { @@ -37545,7 +38380,7 @@ SWIGINTERN PyObject *_wrap_SBFrame___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -37696,7 +38531,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_GetVariables__SWIG_2(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame_GetVariables" "', argument " "2"" of type '" "lldb::SBVariablesOptions const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_GetVariables" "', argument " "2"" of type '" "lldb::SBVariablesOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_GetVariables" "', argument " "2"" of type '" "lldb::SBVariablesOptions const &""'"); } arg2 = reinterpret_cast< lldb::SBVariablesOptions * >(argp2); { @@ -38328,7 +39163,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_GetDescription(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -38369,7 +39204,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_GetDescriptionWithFormat(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); } arg2 = reinterpret_cast< lldb::SBFormat * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBStream, 0 ); @@ -38377,7 +39212,7 @@ SWIGINTERN PyObject *_wrap_SBFrame_GetDescriptionWithFormat(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFrame_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); } arg3 = reinterpret_cast< lldb::SBStream * >(argp3); { @@ -38421,7 +39256,7 @@ SWIGINTERN PyObject *_wrap_SBFrame___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBFrame_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFrame, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -38463,7 +39298,7 @@ SWIGINTERN PyObject *_wrap_new_SBFunction__SWIG_1(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBFunction" "', argument " "1"" of type '" "lldb::SBFunction const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBFunction" "', argument " "1"" of type '" "lldb::SBFunction const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBFunction" "', argument " "1"" of type '" "lldb::SBFunction const &""'"); } arg1 = reinterpret_cast< lldb::SBFunction * >(argp1); { @@ -38697,7 +39532,7 @@ SWIGINTERN PyObject *_wrap_SBFunction_GetInstructions__SWIG_0(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -38706,7 +39541,7 @@ SWIGINTERN PyObject *_wrap_SBFunction_GetInstructions__SWIG_0(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructions(arg2); + result = (arg1)->GetInstructions(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -38743,7 +39578,7 @@ SWIGINTERN PyObject *_wrap_SBFunction_GetInstructions__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFunction_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -38757,7 +39592,7 @@ SWIGINTERN PyObject *_wrap_SBFunction_GetInstructions__SWIG_1(PyObject *self, Py arg3 = reinterpret_cast< char * >(buf3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructions(arg2,(char const *)arg3); + result = (arg1)->GetInstructions(SWIG_STD_MOVE(arg2),(char const *)arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -39127,7 +39962,7 @@ SWIGINTERN PyObject *_wrap_SBFunction___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFunction___eq__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFunction___eq__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFunction___eq__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); } arg2 = reinterpret_cast< lldb::SBFunction * >(argp2); { @@ -39142,7 +39977,7 @@ SWIGINTERN PyObject *_wrap_SBFunction___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -39170,7 +40005,7 @@ SWIGINTERN PyObject *_wrap_SBFunction___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFunction___ne__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFunction___ne__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFunction___ne__" "', argument " "2"" of type '" "lldb::SBFunction const &""'"); } arg2 = reinterpret_cast< lldb::SBFunction * >(argp2); { @@ -39185,7 +40020,7 @@ SWIGINTERN PyObject *_wrap_SBFunction___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -39213,7 +40048,7 @@ SWIGINTERN PyObject *_wrap_SBFunction_GetDescription(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -39257,7 +40092,7 @@ SWIGINTERN PyObject *_wrap_SBFunction___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBFunction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBFunction, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -39449,7 +40284,7 @@ SWIGINTERN PyObject *_wrap_SBHostOS_ThreadCancel(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBHostOS_ThreadCancel" "', argument " "1"" of type '" "lldb::thread_t""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBHostOS_ThreadCancel" "', argument " "1"" of type '" "lldb::thread_t""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBHostOS_ThreadCancel" "', argument " "1"" of type '" "lldb::thread_t""'"); } else { lldb::thread_t * temp = reinterpret_cast< lldb::thread_t * >(argp1); arg1 = *temp; @@ -39492,7 +40327,7 @@ SWIGINTERN PyObject *_wrap_SBHostOS_ThreadDetach(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBHostOS_ThreadDetach" "', argument " "1"" of type '" "lldb::thread_t""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBHostOS_ThreadDetach" "', argument " "1"" of type '" "lldb::thread_t""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBHostOS_ThreadDetach" "', argument " "1"" of type '" "lldb::thread_t""'"); } else { lldb::thread_t * temp = reinterpret_cast< lldb::thread_t * >(argp1); arg1 = *temp; @@ -39538,7 +40373,7 @@ SWIGINTERN PyObject *_wrap_SBHostOS_ThreadJoin(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBHostOS_ThreadJoin" "', argument " "1"" of type '" "lldb::thread_t""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBHostOS_ThreadJoin" "', argument " "1"" of type '" "lldb::thread_t""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBHostOS_ThreadJoin" "', argument " "1"" of type '" "lldb::thread_t""'"); } else { lldb::thread_t * temp = reinterpret_cast< lldb::thread_t * >(argp1); arg1 = *temp; @@ -39613,7 +40448,7 @@ SWIGINTERN PyObject *_wrap_delete_SBHostOS(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBHostOS_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBHostOS, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -39655,7 +40490,7 @@ SWIGINTERN PyObject *_wrap_new_SBInstruction__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBInstruction" "', argument " "1"" of type '" "lldb::SBInstruction const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBInstruction" "', argument " "1"" of type '" "lldb::SBInstruction const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBInstruction" "', argument " "1"" of type '" "lldb::SBInstruction const &""'"); } arg1 = reinterpret_cast< lldb::SBInstruction * >(argp1); { @@ -39834,7 +40669,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetMnemonic(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetMnemonic" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetMnemonic" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetMnemonic" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -39843,7 +40678,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetMnemonic(PyObject *self, PyObject *a } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetMnemonic(arg2); + result = (char *)(arg1)->GetMnemonic(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -39877,7 +40712,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetOperands(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetOperands" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetOperands" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetOperands" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -39886,7 +40721,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetOperands(PyObject *self, PyObject *a } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetOperands(arg2); + result = (char *)(arg1)->GetOperands(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -39920,7 +40755,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetComment(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetComment" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetComment" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetComment" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -39929,7 +40764,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetComment(PyObject *self, PyObject *ar } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetComment(arg2); + result = (char *)(arg1)->GetComment(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -39963,7 +40798,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetControlFlowKind(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetControlFlowKind" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetControlFlowKind" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetControlFlowKind" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -39972,7 +40807,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetControlFlowKind(PyObject *self, PyOb } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::InstructionControlFlowKind)(arg1)->GetControlFlowKind(arg2); + result = (lldb::InstructionControlFlowKind)(arg1)->GetControlFlowKind(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_int(static_cast< int >(result)); @@ -40006,7 +40841,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetData(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetData" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetData" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetData" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -40015,7 +40850,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetData(PyObject *self, PyObject *args) } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetData(arg2); + result = (arg1)->GetData(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBData(result)), SWIGTYPE_p_lldb__SBData, SWIG_POINTER_OWN | 0 ); @@ -40159,7 +40994,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_Print__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -40168,7 +41003,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_Print__SWIG_0(PyObject *self, Py_ssize_ } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Print(arg2); + (arg1)->Print(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -40206,7 +41041,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_Print__SWIG_1(PyObject *self, Py_ssize_ } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Print(arg2); + (arg1)->Print(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -40289,7 +41124,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -40330,7 +41165,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_EmulateWithFrame(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_EmulateWithFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_EmulateWithFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_EmulateWithFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -40415,7 +41250,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction_TestEmulation(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstruction_TestEmulation" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstruction_TestEmulation" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstruction_TestEmulation" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -40466,7 +41301,7 @@ SWIGINTERN PyObject *_wrap_SBInstruction___repr__(PyObject *self, PyObject *args SWIGINTERN PyObject *SBInstruction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBInstruction, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -40508,7 +41343,7 @@ SWIGINTERN PyObject *_wrap_new_SBInstructionList__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBInstructionList" "', argument " "1"" of type '" "lldb::SBInstructionList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBInstructionList" "', argument " "1"" of type '" "lldb::SBInstructionList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBInstructionList" "', argument " "1"" of type '" "lldb::SBInstructionList const &""'"); } arg1 = reinterpret_cast< lldb::SBInstructionList * >(argp1); { @@ -40726,7 +41561,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_GetInstructionsCount__SWIG_0(PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBAddress, 0 | 0); @@ -40734,7 +41569,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_GetInstructionsCount__SWIG_0(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); } arg3 = reinterpret_cast< lldb::SBAddress * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -40779,7 +41614,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_GetInstructionsCount__SWIG_1(PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBAddress, 0 | 0); @@ -40787,7 +41622,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_GetInstructionsCount__SWIG_1(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_GetInstructionsCount" "', argument " "3"" of type '" "lldb::SBAddress const &""'"); } arg3 = reinterpret_cast< lldb::SBAddress * >(argp3); { @@ -40910,7 +41745,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_AppendInstruction(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstructionList_AppendInstruction" "', argument " "2"" of type '" "lldb::SBInstruction""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_AppendInstruction" "', argument " "2"" of type '" "lldb::SBInstruction""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_AppendInstruction" "', argument " "2"" of type '" "lldb::SBInstruction""'"); } else { lldb::SBInstruction * temp = reinterpret_cast< lldb::SBInstruction * >(argp2); arg2 = *temp; @@ -40919,7 +41754,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_AppendInstruction(PyObject *self, P } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->AppendInstruction(arg2); + (arg1)->AppendInstruction(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -40951,7 +41786,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_Print__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstructionList_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_Print" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -40960,7 +41795,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_Print__SWIG_0(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Print(arg2); + (arg1)->Print(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -40998,7 +41833,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_Print__SWIG_1(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Print(arg2); + (arg1)->Print(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -41081,7 +41916,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList_GetDescription(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBInstructionList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBInstructionList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBInstructionList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -41163,7 +41998,7 @@ SWIGINTERN PyObject *_wrap_SBInstructionList___repr__(PyObject *self, PyObject * SWIGINTERN PyObject *SBInstructionList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBInstructionList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -41232,6 +42067,202 @@ SWIGINTERN PyObject *_wrap_SBLanguageRuntime_GetNameForLanguageType(PyObject *se } +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_LanguageIsCPlusPlus(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_LanguageIsCPlusPlus" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBLanguageRuntime::LanguageIsCPlusPlus(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_LanguageIsObjC(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_LanguageIsObjC" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBLanguageRuntime::LanguageIsObjC(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_LanguageIsCFamily(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_LanguageIsCFamily" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBLanguageRuntime::LanguageIsCFamily(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBLanguageRuntime::SupportsExceptionBreakpointsOnThrow(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)lldb::SBLanguageRuntime::SupportsExceptionBreakpointsOnCatch(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_GetThrowKeywordForLanguage(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_GetThrowKeywordForLanguage" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (char *)lldb::SBLanguageRuntime::GetThrowKeywordForLanguage(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_FromCharPtr((const char *)result); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBLanguageRuntime_GetCatchKeywordForLanguage(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::LanguageType arg1 ; + int val1 ; + int ecode1 = 0 ; + PyObject *swig_obj[1] ; + char *result = 0 ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + ecode1 = SWIG_AsVal_int(swig_obj[0], &val1); + if (!SWIG_IsOK(ecode1)) { + SWIG_exception_fail(SWIG_ArgError(ecode1), "in method '" "SBLanguageRuntime_GetCatchKeywordForLanguage" "', argument " "1"" of type '" "lldb::LanguageType""'"); + } + arg1 = static_cast< lldb::LanguageType >(val1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (char *)lldb::SBLanguageRuntime::GetCatchKeywordForLanguage(arg1); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_FromCharPtr((const char *)result); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_new_SBLanguageRuntime(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBLanguageRuntime *result = 0 ; @@ -41278,7 +42309,7 @@ SWIGINTERN PyObject *_wrap_delete_SBLanguageRuntime(PyObject *self, PyObject *ar SWIGINTERN PyObject *SBLanguageRuntime_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBLanguageRuntime, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -41628,7 +42659,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetExecutableFile(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLaunchInfo_SetExecutableFile" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLaunchInfo_SetExecutableFile" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLaunchInfo_SetExecutableFile" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } else { lldb::SBFileSpec * temp = reinterpret_cast< lldb::SBFileSpec * >(argp2); arg2 = *temp; @@ -41642,7 +42673,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetExecutableFile(PyObject *self, PyObje arg3 = static_cast< bool >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetExecutableFile(arg2,arg3); + (arg1)->SetExecutableFile(SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -41702,7 +42733,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetListener(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLaunchInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLaunchInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLaunchInfo_SetListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -41767,7 +42798,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetShadowListener(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLaunchInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLaunchInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLaunchInfo_SetShadowListener" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -42063,7 +43094,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetEnvironment(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLaunchInfo_SetEnvironment" "', argument " "2"" of type '" "lldb::SBEnvironment const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLaunchInfo_SetEnvironment" "', argument " "2"" of type '" "lldb::SBEnvironment const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLaunchInfo_SetEnvironment" "', argument " "2"" of type '" "lldb::SBEnvironment const &""'"); } arg2 = reinterpret_cast< lldb::SBEnvironment * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -42953,7 +43984,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetScriptedProcessDictionary(PyObject *s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLaunchInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLaunchInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLaunchInfo_SetScriptedProcessDictionary" "', argument " "2"" of type '" "lldb::SBStructuredData""'"); } else { lldb::SBStructuredData * temp = reinterpret_cast< lldb::SBStructuredData * >(argp2); arg2 = *temp; @@ -42962,7 +43993,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetScriptedProcessDictionary(PyObject *s } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetScriptedProcessDictionary(arg2); + (arg1)->SetScriptedProcessDictionary(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -42973,7 +44004,7 @@ SWIGINTERN PyObject *_wrap_SBLaunchInfo_SetScriptedProcessDictionary(PyObject *s SWIGINTERN PyObject *SBLaunchInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBLaunchInfo, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -43015,7 +44046,7 @@ SWIGINTERN PyObject *_wrap_new_SBLineEntry__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBLineEntry" "', argument " "1"" of type '" "lldb::SBLineEntry const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBLineEntry" "', argument " "1"" of type '" "lldb::SBLineEntry const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBLineEntry" "', argument " "1"" of type '" "lldb::SBLineEntry const &""'"); } arg1 = reinterpret_cast< lldb::SBLineEntry * >(argp1); { @@ -43340,7 +44371,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry_SetFileSpec(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLineEntry_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLineEntry_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLineEntry_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec""'"); } else { lldb::SBFileSpec * temp = reinterpret_cast< lldb::SBFileSpec * >(argp2); arg2 = *temp; @@ -43349,7 +44380,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry_SetFileSpec(PyObject *self, PyObject *arg } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetFileSpec(arg2); + (arg1)->SetFileSpec(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -43450,7 +44481,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLineEntry___eq__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLineEntry___eq__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLineEntry___eq__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); } arg2 = reinterpret_cast< lldb::SBLineEntry * >(argp2); { @@ -43465,7 +44496,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -43493,7 +44524,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLineEntry___ne__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLineEntry___ne__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLineEntry___ne__" "', argument " "2"" of type '" "lldb::SBLineEntry const &""'"); } arg2 = reinterpret_cast< lldb::SBLineEntry * >(argp2); { @@ -43508,7 +44539,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -43536,7 +44567,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry_GetDescription(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBLineEntry_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBLineEntry_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBLineEntry_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -43580,7 +44611,7 @@ SWIGINTERN PyObject *_wrap_SBLineEntry___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBLineEntry_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBLineEntry, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -43651,7 +44682,7 @@ SWIGINTERN PyObject *_wrap_new_SBListener__SWIG_2(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBListener" "', argument " "1"" of type '" "lldb::SBListener const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBListener" "', argument " "1"" of type '" "lldb::SBListener const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBListener" "', argument " "1"" of type '" "lldb::SBListener const &""'"); } arg1 = reinterpret_cast< lldb::SBListener * >(argp1); { @@ -43753,7 +44784,7 @@ SWIGINTERN PyObject *_wrap_SBListener_AddEvent(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_AddEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_AddEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_AddEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -43881,7 +44912,7 @@ SWIGINTERN PyObject *_wrap_SBListener_StartListeningForEventClass(PyObject *self SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_StartListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_StartListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_StartListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } arg2 = reinterpret_cast< lldb::SBDebugger * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -43938,7 +44969,7 @@ SWIGINTERN PyObject *_wrap_SBListener_StopListeningForEventClass(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_StopListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_StopListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_StopListeningForEventClass" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } arg2 = reinterpret_cast< lldb::SBDebugger * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -43991,7 +45022,7 @@ SWIGINTERN PyObject *_wrap_SBListener_StartListeningForEvents(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_StartListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_StartListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_StartListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -44037,7 +45068,7 @@ SWIGINTERN PyObject *_wrap_SBListener_StopListeningForEvents(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_StopListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_StopListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_StopListeningForEvents" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -44088,7 +45119,7 @@ SWIGINTERN PyObject *_wrap_SBListener_WaitForEvent(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBListener_WaitForEvent" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_WaitForEvent" "', argument " "3"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_WaitForEvent" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } arg3 = reinterpret_cast< lldb::SBEvent * >(argp3); { @@ -44137,7 +45168,7 @@ SWIGINTERN PyObject *_wrap_SBListener_WaitForEventForBroadcaster(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); } arg3 = reinterpret_cast< lldb::SBBroadcaster * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBEvent, 0 ); @@ -44145,7 +45176,7 @@ SWIGINTERN PyObject *_wrap_SBListener_WaitForEventForBroadcaster(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "4"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcaster" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } arg4 = reinterpret_cast< lldb::SBEvent * >(argp4); { @@ -44197,7 +45228,7 @@ SWIGINTERN PyObject *_wrap_SBListener_WaitForEventForBroadcasterWithType(PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "3"" of type '" "lldb::SBBroadcaster const &""'"); } arg3 = reinterpret_cast< lldb::SBBroadcaster * >(argp3); ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); @@ -44210,7 +45241,7 @@ SWIGINTERN PyObject *_wrap_SBListener_WaitForEventForBroadcasterWithType(PyObjec SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "5"" of type '" "lldb::SBEvent &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "5"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_WaitForEventForBroadcasterWithType" "', argument " "5"" of type '" "lldb::SBEvent &""'"); } arg5 = reinterpret_cast< lldb::SBEvent * >(argp5); { @@ -44248,7 +45279,7 @@ SWIGINTERN PyObject *_wrap_SBListener_PeekAtNextEvent(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_PeekAtNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_PeekAtNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_PeekAtNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -44289,7 +45320,7 @@ SWIGINTERN PyObject *_wrap_SBListener_PeekAtNextEventForBroadcaster(PyObject *se SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBEvent, 0 ); @@ -44297,7 +45328,7 @@ SWIGINTERN PyObject *_wrap_SBListener_PeekAtNextEventForBroadcaster(PyObject *se SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } arg3 = reinterpret_cast< lldb::SBEvent * >(argp3); { @@ -44341,7 +45372,7 @@ SWIGINTERN PyObject *_wrap_SBListener_PeekAtNextEventForBroadcasterWithType(PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -44354,7 +45385,7 @@ SWIGINTERN PyObject *_wrap_SBListener_PeekAtNextEventForBroadcasterWithType(PyOb SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_PeekAtNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } arg4 = reinterpret_cast< lldb::SBEvent * >(argp4); { @@ -44392,7 +45423,7 @@ SWIGINTERN PyObject *_wrap_SBListener_GetNextEvent(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_GetNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_GetNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_GetNextEvent" "', argument " "2"" of type '" "lldb::SBEvent &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -44433,7 +45464,7 @@ SWIGINTERN PyObject *_wrap_SBListener_GetNextEventForBroadcaster(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBEvent, 0 ); @@ -44441,7 +45472,7 @@ SWIGINTERN PyObject *_wrap_SBListener_GetNextEventForBroadcaster(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcaster" "', argument " "3"" of type '" "lldb::SBEvent &""'"); } arg3 = reinterpret_cast< lldb::SBEvent * >(argp3); { @@ -44485,7 +45516,7 @@ SWIGINTERN PyObject *_wrap_SBListener_GetNextEventForBroadcasterWithType(PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "2"" of type '" "lldb::SBBroadcaster const &""'"); } arg2 = reinterpret_cast< lldb::SBBroadcaster * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -44498,7 +45529,7 @@ SWIGINTERN PyObject *_wrap_SBListener_GetNextEventForBroadcasterWithType(PyObjec SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_GetNextEventForBroadcasterWithType" "', argument " "4"" of type '" "lldb::SBEvent &""'"); } arg4 = reinterpret_cast< lldb::SBEvent * >(argp4); { @@ -44536,7 +45567,7 @@ SWIGINTERN PyObject *_wrap_SBListener_HandleBroadcastEvent(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBListener_HandleBroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBListener_HandleBroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBListener_HandleBroadcastEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -44552,7 +45583,7 @@ SWIGINTERN PyObject *_wrap_SBListener_HandleBroadcastEvent(PyObject *self, PyObj SWIGINTERN PyObject *SBListener_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBListener, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -44594,7 +45625,7 @@ SWIGINTERN PyObject *_wrap_new_SBMemoryRegionInfo__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBMemoryRegionInfo" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBMemoryRegionInfo" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBMemoryRegionInfo" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } arg1 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp1); { @@ -45232,7 +46263,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo___eq__(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBMemoryRegionInfo___eq__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfo___eq__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfo___eq__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } arg2 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp2); { @@ -45247,7 +46278,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo___eq__(PyObject *self, PyObject *a return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -45275,7 +46306,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo___ne__(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBMemoryRegionInfo___ne__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfo___ne__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfo___ne__" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo const &""'"); } arg2 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp2); { @@ -45290,7 +46321,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo___ne__(PyObject *self, PyObject *a return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -45318,7 +46349,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo_GetDescription(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBMemoryRegionInfo_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfo_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfo_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -45362,7 +46393,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfo___repr__(PyObject *self, PyObject SWIGINTERN PyObject *SBMemoryRegionInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBMemoryRegionInfo, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -45404,7 +46435,7 @@ SWIGINTERN PyObject *_wrap_new_SBMemoryRegionInfoList__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBMemoryRegionInfoList" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfoList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBMemoryRegionInfoList" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfoList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBMemoryRegionInfoList" "', argument " "1"" of type '" "lldb::SBMemoryRegionInfoList const &""'"); } arg1 = reinterpret_cast< lldb::SBMemoryRegionInfoList * >(argp1); { @@ -45534,7 +46565,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfoList_GetMemoryRegionContainingAddre SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBMemoryRegionInfoList_GetMemoryRegionContainingAddress" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_GetMemoryRegionContainingAddress" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_GetMemoryRegionContainingAddress" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } arg3 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp3); { @@ -45580,7 +46611,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfoList_GetMemoryRegionAtIndex(PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBMemoryRegionInfoList_GetMemoryRegionAtIndex" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_GetMemoryRegionAtIndex" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_GetMemoryRegionAtIndex" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } arg3 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp3); { @@ -45616,7 +46647,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfoList_Append__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfo &""'"); } arg2 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp2); { @@ -45652,7 +46683,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfoList_Append__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfoList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfoList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBMemoryRegionInfoList_Append" "', argument " "2"" of type '" "lldb::SBMemoryRegionInfoList &""'"); } arg2 = reinterpret_cast< lldb::SBMemoryRegionInfoList * >(argp2); { @@ -45741,7 +46772,7 @@ SWIGINTERN PyObject *_wrap_SBMemoryRegionInfoList_Clear(PyObject *self, PyObject SWIGINTERN PyObject *SBMemoryRegionInfoList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBMemoryRegionInfoList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -45783,7 +46814,7 @@ SWIGINTERN PyObject *_wrap_new_SBModule__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModule const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModule const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModule const &""'"); } arg1 = reinterpret_cast< lldb::SBModule * >(argp1); { @@ -45812,7 +46843,7 @@ SWIGINTERN PyObject *_wrap_new_SBModule__SWIG_2(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); } arg1 = reinterpret_cast< lldb::SBModuleSpec * >(argp1); { @@ -45844,7 +46875,7 @@ SWIGINTERN PyObject *_wrap_new_SBModule__SWIG_3(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBProcess &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBProcess &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBModule" "', argument " "1"" of type '" "lldb::SBProcess &""'"); } arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); @@ -46135,7 +47166,7 @@ SWIGINTERN PyObject *_wrap_SBModule_SetPlatformFileSpec(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -46201,7 +47232,7 @@ SWIGINTERN PyObject *_wrap_SBModule_SetRemoteInstallFileSpec(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_SetRemoteInstallFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_SetRemoteInstallFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_SetRemoteInstallFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -46379,7 +47410,7 @@ SWIGINTERN PyObject *_wrap_SBModule___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule___eq__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule___eq__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule___eq__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } arg2 = reinterpret_cast< lldb::SBModule * >(argp2); { @@ -46394,7 +47425,7 @@ SWIGINTERN PyObject *_wrap_SBModule___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -46422,7 +47453,7 @@ SWIGINTERN PyObject *_wrap_SBModule___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule___ne__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule___ne__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule___ne__" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } arg2 = reinterpret_cast< lldb::SBModule * >(argp2); { @@ -46437,7 +47468,7 @@ SWIGINTERN PyObject *_wrap_SBModule___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -46541,7 +47572,7 @@ SWIGINTERN PyObject *_wrap_SBModule_ResolveSymbolContextForAddress(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -46584,7 +47615,7 @@ SWIGINTERN PyObject *_wrap_SBModule_GetDescription(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -46685,7 +47716,7 @@ SWIGINTERN PyObject *_wrap_SBModule_FindCompileUnits(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -46753,7 +47784,7 @@ SWIGINTERN PyObject *_wrap_SBModule_GetSymbolAtIndex(PyObject *self, PyObject *a arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSymbolAtIndex(arg2); + result = (arg1)->GetSymbolAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBSymbol(result)), SWIGTYPE_p_lldb__SBSymbol, SWIG_POINTER_OWN | 0 ); @@ -47080,7 +48111,7 @@ SWIGINTERN PyObject *_wrap_SBModule_GetSectionAtIndex(PyObject *self, PyObject * arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSectionAtIndex(arg2); + result = (arg1)->GetSectionAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBSection(result)), SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_OWN | 0 ); @@ -47252,7 +48283,7 @@ SWIGINTERN PyObject *_wrap_SBModule_FindGlobalVariables(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_FindGlobalVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_FindGlobalVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_FindGlobalVariables" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -47306,7 +48337,7 @@ SWIGINTERN PyObject *_wrap_SBModule_FindFirstGlobalVariable(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModule_FindFirstGlobalVariable" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModule_FindFirstGlobalVariable" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModule_FindFirstGlobalVariable" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -47816,7 +48847,7 @@ SWIGINTERN PyObject *_wrap_SBModule___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBModule_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBModule, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -47858,7 +48889,7 @@ SWIGINTERN PyObject *_wrap_new_SBModuleSpec__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBModuleSpec" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBModuleSpec" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBModuleSpec" "', argument " "1"" of type '" "lldb::SBModuleSpec const &""'"); } arg1 = reinterpret_cast< lldb::SBModuleSpec * >(argp1); { @@ -48062,7 +49093,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec_SetFileSpec(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpec_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpec_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpec_SetFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -48127,7 +49158,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec_SetPlatformFileSpec(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpec_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpec_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpec_SetPlatformFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -48192,7 +49223,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec_SetSymbolFileSpec(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpec_SetSymbolFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpec_SetSymbolFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpec_SetSymbolFileSpec" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -48426,7 +49457,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec_SetUUIDBytes(PyObject *self, PyObject *a arg3 = static_cast< size_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->SetUUIDBytes((uint8_t const *)arg2,arg3); + result = (bool)(arg1)->SetUUIDBytes((uint8_t const *)arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -48583,7 +49614,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpec_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -48627,7 +49658,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpec___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBModuleSpec_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBModuleSpec, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -48669,7 +49700,7 @@ SWIGINTERN PyObject *_wrap_new_SBModuleSpecList__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBModuleSpecList" "', argument " "1"" of type '" "lldb::SBModuleSpecList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBModuleSpecList" "', argument " "1"" of type '" "lldb::SBModuleSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBModuleSpecList" "', argument " "1"" of type '" "lldb::SBModuleSpecList const &""'"); } arg1 = reinterpret_cast< lldb::SBModuleSpecList * >(argp1); { @@ -48792,7 +49823,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_Append__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBModuleSpec * >(argp2); { @@ -48828,7 +49859,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_Append__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpecList const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpecList_Append" "', argument " "2"" of type '" "lldb::SBModuleSpecList const &""'"); } arg2 = reinterpret_cast< lldb::SBModuleSpecList * >(argp2); { @@ -48910,7 +49941,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_FindFirstMatchingSpec(PyObject *self SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpecList_FindFirstMatchingSpec" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpecList_FindFirstMatchingSpec" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpecList_FindFirstMatchingSpec" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBModuleSpec * >(argp2); { @@ -48948,7 +49979,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_FindMatchingSpecs(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpecList_FindMatchingSpecs" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpecList_FindMatchingSpecs" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpecList_FindMatchingSpecs" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBModuleSpec * >(argp2); { @@ -49016,7 +50047,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_GetSpecAtIndex(PyObject *self, PyObj arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSpecAtIndex(arg2); + result = (arg1)->GetSpecAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBModuleSpec(result)), SWIGTYPE_p_lldb__SBModuleSpec, SWIG_POINTER_OWN | 0 ); @@ -49049,7 +50080,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList_GetDescription(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBModuleSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBModuleSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBModuleSpecList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -49093,7 +50124,7 @@ SWIGINTERN PyObject *_wrap_SBModuleSpecList___repr__(PyObject *self, PyObject *a SWIGINTERN PyObject *SBModuleSpecList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBModuleSpecList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -49146,7 +50177,7 @@ SWIGINTERN PyObject *_wrap_new_SBPlatformConnectOptions__SWIG_1(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBPlatformConnectOptions" "', argument " "1"" of type '" "lldb::SBPlatformConnectOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBPlatformConnectOptions" "', argument " "1"" of type '" "lldb::SBPlatformConnectOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBPlatformConnectOptions" "', argument " "1"" of type '" "lldb::SBPlatformConnectOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBPlatformConnectOptions * >(argp1); { @@ -49464,7 +50495,7 @@ SWIGINTERN PyObject *_wrap_SBPlatformConnectOptions_SetLocalCacheDirectory(PyObj SWIGINTERN PyObject *SBPlatformConnectOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBPlatformConnectOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -49557,7 +50588,7 @@ SWIGINTERN PyObject *_wrap_new_SBPlatformShellCommand__SWIG_2(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBPlatformShellCommand" "', argument " "1"" of type '" "lldb::SBPlatformShellCommand const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBPlatformShellCommand" "', argument " "1"" of type '" "lldb::SBPlatformShellCommand const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBPlatformShellCommand" "', argument " "1"" of type '" "lldb::SBPlatformShellCommand const &""'"); } arg1 = reinterpret_cast< lldb::SBPlatformShellCommand * >(argp1); { @@ -50015,7 +51046,7 @@ SWIGINTERN PyObject *_wrap_SBPlatformShellCommand_GetOutput(PyObject *self, PyOb SWIGINTERN PyObject *SBPlatformShellCommand_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBPlatformShellCommand, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -50086,7 +51117,7 @@ SWIGINTERN PyObject *_wrap_new_SBPlatform__SWIG_2(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBPlatform" "', argument " "1"" of type '" "lldb::SBPlatform const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBPlatform" "', argument " "1"" of type '" "lldb::SBPlatform const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBPlatform" "', argument " "1"" of type '" "lldb::SBPlatform const &""'"); } arg1 = reinterpret_cast< lldb::SBPlatform * >(argp1); { @@ -50384,7 +51415,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_ConnectRemote(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_ConnectRemote" "', argument " "2"" of type '" "lldb::SBPlatformConnectOptions &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_ConnectRemote" "', argument " "2"" of type '" "lldb::SBPlatformConnectOptions &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_ConnectRemote" "', argument " "2"" of type '" "lldb::SBPlatformConnectOptions &""'"); } arg2 = reinterpret_cast< lldb::SBPlatformConnectOptions * >(argp2); { @@ -50713,7 +51744,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Put(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Put" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Put" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Put" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 ); @@ -50721,7 +51752,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Put(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBPlatform_Put" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Put" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Put" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -50762,7 +51793,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Get(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Get" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Get" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Get" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 ); @@ -50770,7 +51801,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Get(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBPlatform_Get" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Get" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Get" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -50811,7 +51842,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Install(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Install" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Install" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Install" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 ); @@ -50819,7 +51850,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Install(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBPlatform_Install" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Install" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Install" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -50857,7 +51888,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Run(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Run" "', argument " "2"" of type '" "lldb::SBPlatformShellCommand &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Run" "', argument " "2"" of type '" "lldb::SBPlatformShellCommand &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Run" "', argument " "2"" of type '" "lldb::SBPlatformShellCommand &""'"); } arg2 = reinterpret_cast< lldb::SBPlatformShellCommand * >(argp2); { @@ -50895,7 +51926,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Launch(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); } arg2 = reinterpret_cast< lldb::SBLaunchInfo * >(argp2); { @@ -50942,7 +51973,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); } arg2 = reinterpret_cast< lldb::SBAttachInfo * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBDebugger, 0 | 0); @@ -50950,7 +51981,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBPlatform_Attach" "', argument " "3"" of type '" "lldb::SBDebugger const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "3"" of type '" "lldb::SBDebugger const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "3"" of type '" "lldb::SBDebugger const &""'"); } arg3 = reinterpret_cast< lldb::SBDebugger * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBTarget, 0 ); @@ -50958,7 +51989,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBPlatform_Attach" "', argument " "4"" of type '" "lldb::SBTarget &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "4"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "4"" of type '" "lldb::SBTarget &""'"); } arg4 = reinterpret_cast< lldb::SBTarget * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBError, 0 ); @@ -50966,7 +51997,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBPlatform_Attach" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_Attach" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -51004,7 +52035,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_GetAllProcesses(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBPlatform_GetAllProcesses" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBPlatform_GetAllProcesses" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBPlatform_GetAllProcesses" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -51398,7 +52429,7 @@ SWIGINTERN PyObject *_wrap_SBPlatform_SetLocateModuleCallback(PyObject *self, Py SWIGINTERN PyObject *SBPlatform_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBPlatform, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -51440,7 +52471,7 @@ SWIGINTERN PyObject *_wrap_new_SBProcess__SWIG_1(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBProcess" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBProcess" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBProcess" "', argument " "1"" of type '" "lldb::SBProcess const &""'"); } arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); { @@ -51761,7 +52792,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_PutSTDIN(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->PutSTDIN((char const *)arg2,arg3); + result = (arg1)->PutSTDIN((char const *)arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -51802,7 +52833,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetSTDOUT(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBProcess const *)arg1)->GetSTDOUT(arg2,arg3); + result = ((lldb::SBProcess const *)arg1)->GetSTDOUT(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -51856,7 +52887,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetSTDERR(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBProcess const *)arg1)->GetSTDERR(arg2,arg3); + result = ((lldb::SBProcess const *)arg1)->GetSTDERR(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -51910,7 +52941,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetAsyncProfileData(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBProcess const *)arg1)->GetAsyncProfileData(arg2,arg3); + result = ((lldb::SBProcess const *)arg1)->GetAsyncProfileData(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -51957,7 +52988,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReportEventState__SWIG_0(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -51966,7 +52997,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReportEventState__SWIG_0(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_ReportEventState" "', argument " "3"" of type '" "lldb::SBFile""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "3"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "3"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp3); arg3 = *temp; @@ -51975,7 +53006,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReportEventState__SWIG_0(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); + ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -52007,7 +53038,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReportEventState__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReportEventState" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -52024,7 +53055,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReportEventState__SWIG_1(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,arg3); + ((lldb::SBProcess const *)arg1)->ReportEventState((lldb::SBEvent const &)*arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -52117,7 +53148,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_AppendEventStateReport(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_AppendEventStateReport" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_AppendEventStateReport" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_AppendEventStateReport" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBCommandReturnObject, 0 ); @@ -52125,7 +53156,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_AppendEventStateReport(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_AppendEventStateReport" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_AppendEventStateReport" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_AppendEventStateReport" "', argument " "3"" of type '" "lldb::SBCommandReturnObject &""'"); } arg3 = reinterpret_cast< lldb::SBCommandReturnObject * >(argp3); { @@ -52171,7 +53202,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_RemoteAttachToProcessWithID(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_RemoteAttachToProcessWithID" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_RemoteAttachToProcessWithID" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_RemoteAttachToProcessWithID" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -52311,7 +53342,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_RemoteLaunch(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res10), "in method '" "SBProcess_RemoteLaunch" "', argument " "10"" of type '" "lldb::SBError &""'"); } if (!argp10) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_RemoteLaunch" "', argument " "10"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_RemoteLaunch" "', argument " "10"" of type '" "lldb::SBError &""'"); } arg10 = reinterpret_cast< lldb::SBError * >(argp10); { @@ -52399,7 +53430,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetThreadAtIndex(PyObject *self, PyObject * arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetThreadAtIndex(arg2); + result = (arg1)->GetThreadAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBThread(result)), SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_OWN | 0 ); @@ -52573,7 +53604,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_SetSelectedThread(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_SetSelectedThread" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_SetSelectedThread" "', argument " "2"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_SetSelectedThread" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } arg2 = reinterpret_cast< lldb::SBThread * >(argp2); { @@ -52711,7 +53742,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetQueueAtIndex(PyObject *self, PyObject *a arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetQueueAtIndex(arg2); + result = (arg1)->GetQueueAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBQueue(result)), SWIGTYPE_p_lldb__SBQueue, SWIG_POINTER_OWN | 0 ); @@ -52945,6 +53976,41 @@ SWIGINTERN PyObject *_wrap_SBProcess_Continue(PyObject *self, PyObject *args) { } +SWIGINTERN PyObject *_wrap_SBProcess_ContinueInDirection(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::RunDirection arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + int val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + lldb::SBError result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBProcess_ContinueInDirection", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProcess, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_ContinueInDirection" "', argument " "1"" of type '" "lldb::SBProcess *""'"); + } + arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); + ecode2 = SWIG_AsVal_int(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBProcess_ContinueInDirection" "', argument " "2"" of type '" "lldb::RunDirection""'"); + } + arg2 = static_cast< lldb::RunDirection >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->ContinueInDirection(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBProcess_Stop(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; @@ -53415,12 +54481,12 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReadMemory(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBProcess_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); + result = (arg1)->ReadMemory(arg2,arg3,SWIG_STD_MOVE(arg4),*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -53492,12 +54558,12 @@ SWIGINTERN PyObject *_wrap_SBProcess_WriteMemory(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBProcess_WriteMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_WriteMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_WriteMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->WriteMemory(arg2,(void const *)arg3,arg4,*arg5); + result = (arg1)->WriteMemory(arg2,(void const *)arg3,SWIG_STD_MOVE(arg4),*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -53552,12 +54618,12 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReadCStringFromMemory(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBProcess_ReadCStringFromMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReadCStringFromMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReadCStringFromMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadCStringFromMemory(arg2,arg3,arg4,*arg5); + result = (arg1)->ReadCStringFromMemory(arg2,arg3,SWIG_STD_MOVE(arg4),*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -53619,7 +54685,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReadUnsignedFromMemory(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_ReadUnsignedFromMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReadUnsignedFromMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReadUnsignedFromMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -53665,7 +54731,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReadPointerFromMemory(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_ReadPointerFromMemory" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_ReadPointerFromMemory" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_ReadPointerFromMemory" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -53680,6 +54746,168 @@ SWIGINTERN PyObject *_wrap_SBProcess_ReadPointerFromMemory(PyObject *self, PyObj } +SWIGINTERN PyObject *_wrap_SBProcess_FindRangesInMemory(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + void *arg2 = (void *) 0 ; + uint64_t arg3 ; + lldb::SBAddressRangeList *arg4 = 0 ; + uint32_t arg5 ; + uint32_t arg6 ; + lldb::SBError *arg7 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + unsigned int val6 ; + int ecode6 = 0 ; + void *argp7 = 0 ; + int res7 = 0 ; + PyObject *swig_obj[6] ; + lldb::SBAddressRangeList result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBProcess_FindRangesInMemory", 6, 6, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProcess, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_FindRangesInMemory" "', argument " "1"" of type '" "lldb::SBProcess *""'"); + } + arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); + { + if (PythonString::Check(swig_obj[1])) { + PythonString str(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)str.GetString().data(); + arg3 = str.GetSize(); + } else if (PythonByteArray::Check(swig_obj[1])) { + PythonByteArray bytearray(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)bytearray.GetBytes().data(); + arg3 = bytearray.GetSize(); + } else if (PythonBytes::Check(swig_obj[1])) { + PythonBytes bytes(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)bytes.GetBytes().data(); + arg3 = bytes.GetSize(); + } else { + PyErr_SetString(PyExc_ValueError, "Expecting a buffer"); + SWIG_fail; + } + } + res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_lldb__SBAddressRangeList, 0 | 0); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_FindRangesInMemory" "', argument " "4"" of type '" "lldb::SBAddressRangeList const &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_FindRangesInMemory" "', argument " "4"" of type '" "lldb::SBAddressRangeList const &""'"); + } + arg4 = reinterpret_cast< lldb::SBAddressRangeList * >(argp4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SBProcess_FindRangesInMemory" "', argument " "5"" of type '" "uint32_t""'"); + } + arg5 = static_cast< uint32_t >(val5); + ecode6 = SWIG_AsVal_unsigned_SS_int(swig_obj[4], &val6); + if (!SWIG_IsOK(ecode6)) { + SWIG_exception_fail(SWIG_ArgError(ecode6), "in method '" "SBProcess_FindRangesInMemory" "', argument " "6"" of type '" "uint32_t""'"); + } + arg6 = static_cast< uint32_t >(val6); + res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_lldb__SBError, 0 ); + if (!SWIG_IsOK(res7)) { + SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SBProcess_FindRangesInMemory" "', argument " "7"" of type '" "lldb::SBError &""'"); + } + if (!argp7) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_FindRangesInMemory" "', argument " "7"" of type '" "lldb::SBError &""'"); + } + arg7 = reinterpret_cast< lldb::SBError * >(argp7); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->FindRangesInMemory((void const *)arg2,arg3,(lldb::SBAddressRangeList const &)*arg4,arg5,arg6,*arg7); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBAddressRangeList(result)), SWIGTYPE_p_lldb__SBAddressRangeList, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBProcess_FindInMemory(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + void *arg2 = (void *) 0 ; + uint64_t arg3 ; + lldb::SBAddressRange *arg4 = 0 ; + uint32_t arg5 ; + lldb::SBError *arg6 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + unsigned int val5 ; + int ecode5 = 0 ; + void *argp6 = 0 ; + int res6 = 0 ; + PyObject *swig_obj[5] ; + lldb::addr_t result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBProcess_FindInMemory", 5, 5, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProcess, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_FindInMemory" "', argument " "1"" of type '" "lldb::SBProcess *""'"); + } + arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); + { + if (PythonString::Check(swig_obj[1])) { + PythonString str(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)str.GetString().data(); + arg3 = str.GetSize(); + } else if (PythonByteArray::Check(swig_obj[1])) { + PythonByteArray bytearray(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)bytearray.GetBytes().data(); + arg3 = bytearray.GetSize(); + } else if (PythonBytes::Check(swig_obj[1])) { + PythonBytes bytes(PyRefType::Borrowed, swig_obj[1]); + arg2 = (void *)bytes.GetBytes().data(); + arg3 = bytes.GetSize(); + } else { + PyErr_SetString(PyExc_ValueError, "Expecting a buffer"); + SWIG_fail; + } + } + res4 = SWIG_ConvertPtr(swig_obj[2], &argp4, SWIGTYPE_p_lldb__SBAddressRange, 0 | 0); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_FindInMemory" "', argument " "4"" of type '" "lldb::SBAddressRange const &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_FindInMemory" "', argument " "4"" of type '" "lldb::SBAddressRange const &""'"); + } + arg4 = reinterpret_cast< lldb::SBAddressRange * >(argp4); + ecode5 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val5); + if (!SWIG_IsOK(ecode5)) { + SWIG_exception_fail(SWIG_ArgError(ecode5), "in method '" "SBProcess_FindInMemory" "', argument " "5"" of type '" "uint32_t""'"); + } + arg5 = static_cast< uint32_t >(val5); + res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_lldb__SBError, 0 ); + if (!SWIG_IsOK(res6)) { + SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBProcess_FindInMemory" "', argument " "6"" of type '" "lldb::SBError &""'"); + } + if (!argp6) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_FindInMemory" "', argument " "6"" of type '" "lldb::SBError &""'"); + } + arg6 = reinterpret_cast< lldb::SBError * >(argp6); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::addr_t)(arg1)->FindInMemory((void const *)arg2,arg3,(lldb::SBAddressRange const &)*arg4,arg5,*arg6); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBProcess_GetStateFromEvent(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBEvent *arg1 = 0 ; @@ -53696,7 +54924,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetStateFromEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetStateFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetStateFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetStateFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53727,7 +54955,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetRestartedFromEvent(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetRestartedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetRestartedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetRestartedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53758,7 +54986,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetNumRestartedReasonsFromEvent(PyObject *s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetNumRestartedReasonsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetNumRestartedReasonsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetNumRestartedReasonsFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53791,7 +55019,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetRestartedReasonAtIndexFromEvent(PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetRestartedReasonAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetRestartedReasonAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetRestartedReasonAtIndexFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); ecode2 = SWIG_AsVal_size_t(swig_obj[1], &val2); @@ -53827,7 +55055,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetProcessFromEvent(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetProcessFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetProcessFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetProcessFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53858,7 +55086,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetInterruptedFromEvent(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetInterruptedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetInterruptedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetInterruptedFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53889,7 +55117,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetStructuredDataFromEvent(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_GetStructuredDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetStructuredDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetStructuredDataFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53920,7 +55148,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_EventIsProcessEvent(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_EventIsProcessEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_EventIsProcessEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_EventIsProcessEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -53951,7 +55179,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_EventIsStructuredDataEvent(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_EventIsStructuredDataEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_EventIsStructuredDataEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_EventIsStructuredDataEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -54035,7 +55263,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetDescription(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -54101,7 +55329,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetNumSupportedHardwareWatchpoints(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_GetNumSupportedHardwareWatchpoints" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetNumSupportedHardwareWatchpoints" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetNumSupportedHardwareWatchpoints" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -54141,7 +55369,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImage__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBError, 0 ); @@ -54149,7 +55377,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImage__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -54192,7 +55420,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImage__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); @@ -54200,7 +55428,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImage__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBError, 0 ); @@ -54208,7 +55436,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImage__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_LoadImage" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImage" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -54314,7 +55542,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImageUsingPaths(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBStringList, 0 ); @@ -54322,7 +55550,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImageUsingPaths(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "3"" of type '" "lldb::SBStringList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "3"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "3"" of type '" "lldb::SBStringList &""'"); } arg3 = reinterpret_cast< lldb::SBStringList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpec, 0 ); @@ -54330,7 +55558,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImageUsingPaths(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "4"" of type '" "lldb::SBFileSpec &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "4"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "4"" of type '" "lldb::SBFileSpec &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpec * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBError, 0 ); @@ -54338,7 +55566,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_LoadImageUsingPaths(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_LoadImageUsingPaths" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -54652,6 +55880,43 @@ SWIGINTERN PyObject *_wrap_SBProcess_SaveCore__SWIG_1(PyObject *self, Py_ssize_t } +SWIGINTERN PyObject *_wrap_SBProcess_SaveCore__SWIG_2(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBProcess *arg1 = (lldb::SBProcess *) 0 ; + lldb::SBSaveCoreOptions *arg2 = 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 = 0 ; + int res2 = 0 ; + lldb::SBError result; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProcess, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProcess_SaveCore" "', argument " "1"" of type '" "lldb::SBProcess *""'"); + } + arg1 = reinterpret_cast< lldb::SBProcess * >(argp1); + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBSaveCoreOptions, 0 ); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_SaveCore" "', argument " "2"" of type '" "lldb::SBSaveCoreOptions &""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_SaveCore" "', argument " "2"" of type '" "lldb::SBSaveCoreOptions &""'"); + } + arg2 = reinterpret_cast< lldb::SBSaveCoreOptions * >(argp2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->SaveCore(*arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBProcess_SaveCore(PyObject *self, PyObject *args) { Py_ssize_t argc; PyObject *argv[5] = { @@ -54660,6 +55925,20 @@ SWIGINTERN PyObject *_wrap_SBProcess_SaveCore(PyObject *self, PyObject *args) { if (!(argc = SWIG_Python_UnpackTuple(args, "SBProcess_SaveCore", 0, 4, argv))) SWIG_fail; --argc; + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBProcess, 0); + _v = SWIG_CheckState(res); + if (_v) { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[1], &vptr, SWIGTYPE_p_lldb__SBSaveCoreOptions, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_SBProcess_SaveCore__SWIG_2(self, argc, argv); + } + } + } if (argc == 2) { int _v = 0; void *vptr = 0; @@ -54701,7 +55980,8 @@ SWIGINTERN PyObject *_wrap_SBProcess_SaveCore(PyObject *self, PyObject *args) { SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBProcess_SaveCore'.\n" " Possible C/C++ prototypes are:\n" " lldb::SBProcess::SaveCore(char const *,char const *,lldb::SaveCoreStyle)\n" - " lldb::SBProcess::SaveCore(char const *)\n"); + " lldb::SBProcess::SaveCore(char const *)\n" + " lldb::SBProcess::SaveCore(lldb::SBSaveCoreOptions &)\n"); return 0; } @@ -54737,7 +56017,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetMemoryRegionInfo(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcess_GetMemoryRegionInfo" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetMemoryRegionInfo" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetMemoryRegionInfo" "', argument " "3"" of type '" "lldb::SBMemoryRegionInfo &""'"); } arg3 = reinterpret_cast< lldb::SBMemoryRegionInfo * >(argp3); { @@ -55447,12 +56727,12 @@ SWIGINTERN PyObject *_wrap_SBProcess_AllocateMemory(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBProcess_AllocateMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_AllocateMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_AllocateMemory" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::addr_t)(arg1)->AllocateMemory(arg2,arg3,*arg4); + result = (lldb::addr_t)(arg1)->AllocateMemory(SWIG_STD_MOVE(arg2),arg3,*arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_unsigned_SS_long_SS_long(static_cast< unsigned long long >(result)); @@ -55557,7 +56837,7 @@ SWIGINTERN PyObject *_wrap_SBProcess_GetStatus(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBProcess_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcess_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcess_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -55601,7 +56881,7 @@ SWIGINTERN PyObject *_wrap_SBProcess___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBProcess_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBProcess, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -55643,7 +56923,7 @@ SWIGINTERN PyObject *_wrap_new_SBProcessInfo__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBProcessInfo" "', argument " "1"" of type '" "lldb::SBProcessInfo const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBProcessInfo" "', argument " "1"" of type '" "lldb::SBProcessInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBProcessInfo" "', argument " "1"" of type '" "lldb::SBProcessInfo const &""'"); } arg1 = reinterpret_cast< lldb::SBProcessInfo * >(argp1); { @@ -56135,7 +57415,7 @@ SWIGINTERN PyObject *_wrap_SBProcessInfo_GetTriple(PyObject *self, PyObject *arg SWIGINTERN PyObject *SBProcessInfo_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBProcessInfo, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -56204,7 +57484,7 @@ SWIGINTERN PyObject *_wrap_new_SBProcessInfoList__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBProcessInfoList" "', argument " "1"" of type '" "lldb::SBProcessInfoList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBProcessInfoList" "', argument " "1"" of type '" "lldb::SBProcessInfoList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBProcessInfoList" "', argument " "1"" of type '" "lldb::SBProcessInfoList const &""'"); } arg1 = reinterpret_cast< lldb::SBProcessInfoList * >(argp1); { @@ -56307,7 +57587,7 @@ SWIGINTERN PyObject *_wrap_SBProcessInfoList_GetProcessInfoAtIndex(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProcessInfoList_GetProcessInfoAtIndex" "', argument " "3"" of type '" "lldb::SBProcessInfo &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBProcessInfoList_GetProcessInfoAtIndex" "', argument " "3"" of type '" "lldb::SBProcessInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBProcessInfoList_GetProcessInfoAtIndex" "', argument " "3"" of type '" "lldb::SBProcessInfo &""'"); } arg3 = reinterpret_cast< lldb::SBProcessInfo * >(argp3); { @@ -56350,7 +57630,7 @@ SWIGINTERN PyObject *_wrap_SBProcessInfoList_Clear(PyObject *self, PyObject *arg SWIGINTERN PyObject *SBProcessInfoList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBProcessInfoList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -56360,6 +57640,368 @@ SWIGINTERN PyObject *SBProcessInfoList_swiginit(PyObject *SWIGUNUSEDPARM(self), return SWIG_Python_InitShadowInstance(args); } +SWIGINTERN PyObject *_wrap_new_SBProgress__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + lldb::SBDebugger *arg3 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + void *argp3 = 0 ; + int res3 = 0 ; + lldb::SBProgress *result = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBProgress" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SBProgress" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBDebugger, 0 ); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SBProgress" "', argument " "3"" of type '" "lldb::SBDebugger &""'"); + } + if (!argp3) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBProgress" "', argument " "3"" of type '" "lldb::SBDebugger &""'"); + } + arg3 = reinterpret_cast< lldb::SBDebugger * >(argp3); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::SBProgress *)new lldb::SBProgress((char const *)arg1,(char const *)arg2,*arg3); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBProgress, SWIG_POINTER_NEW | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_SBProgress__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + char *arg1 = (char *) 0 ; + char *arg2 = (char *) 0 ; + uint64_t arg3 ; + lldb::SBDebugger *arg4 = 0 ; + int res1 ; + char *buf1 = 0 ; + int alloc1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + unsigned long long val3 ; + int ecode3 = 0 ; + void *argp4 = 0 ; + int res4 = 0 ; + lldb::SBProgress *result = 0 ; + + (void)self; + if ((nobjs < 4) || (nobjs > 4)) SWIG_fail; + res1 = SWIG_AsCharPtrAndSize(swig_obj[0], &buf1, NULL, &alloc1); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBProgress" "', argument " "1"" of type '" "char const *""'"); + } + arg1 = reinterpret_cast< char * >(buf1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SBProgress" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "new_SBProgress" "', argument " "3"" of type '" "uint64_t""'"); + } + arg3 = static_cast< uint64_t >(val3); + res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBDebugger, 0 ); + if (!SWIG_IsOK(res4)) { + SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "new_SBProgress" "', argument " "4"" of type '" "lldb::SBDebugger &""'"); + } + if (!argp4) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBProgress" "', argument " "4"" of type '" "lldb::SBDebugger &""'"); + } + arg4 = reinterpret_cast< lldb::SBDebugger * >(argp4); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (lldb::SBProgress *)new lldb::SBProgress((char const *)arg1,(char const *)arg2,arg3,*arg4); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBProgress, SWIG_POINTER_NEW | 0 ); + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc1 == SWIG_NEWOBJ) delete[] buf1; + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_new_SBProgress(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[5] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "new_SBProgress", 0, 4, argv))) SWIG_fail; + --argc; + if (argc == 3) { + int _v = 0; + int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); + _v = SWIG_CheckState(res); + if (_v) { + int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); + _v = SWIG_CheckState(res); + if (_v) { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_SBProgress__SWIG_0(self, argc, argv); + } + } + } + } + if (argc == 4) { + int _v = 0; + int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0); + _v = SWIG_CheckState(res); + if (_v) { + int res = SWIG_AsCharPtrAndSize(argv[1], 0, NULL, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[2], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[3], &vptr, SWIGTYPE_p_lldb__SBDebugger, SWIG_POINTER_NO_NULL); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_new_SBProgress__SWIG_1(self, argc, argv); + } + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'new_SBProgress'.\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBProgress::SBProgress(char const *,char const *,lldb::SBDebugger &)\n" + " lldb::SBProgress::SBProgress(char const *,char const *,uint64_t,lldb::SBDebugger &)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_delete_SBProgress(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBProgress *arg1 = (lldb::SBProgress *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProgress, SWIG_POINTER_DISOWN | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "delete_SBProgress" "', argument " "1"" of type '" "lldb::SBProgress *""'"); + } + arg1 = reinterpret_cast< lldb::SBProgress * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + delete arg1; + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBProgress_Increment__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBProgress *arg1 = (lldb::SBProgress *) 0 ; + uint64_t arg2 ; + char *arg3 = (char *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long long val2 ; + int ecode2 = 0 ; + int res3 ; + char *buf3 = 0 ; + int alloc3 = 0 ; + + (void)self; + if ((nobjs < 3) || (nobjs > 3)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProgress, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProgress_Increment" "', argument " "1"" of type '" "lldb::SBProgress *""'"); + } + arg1 = reinterpret_cast< lldb::SBProgress * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBProgress_Increment" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); + if (!SWIG_IsOK(res3)) { + SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBProgress_Increment" "', argument " "3"" of type '" "char const *""'"); + } + arg3 = reinterpret_cast< char * >(buf3); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->Increment(arg2,(char const *)arg3); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return resultobj; +fail: + if (alloc3 == SWIG_NEWOBJ) delete[] buf3; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBProgress_Increment__SWIG_1(PyObject *self, Py_ssize_t nobjs, PyObject **swig_obj) { + PyObject *resultobj = 0; + lldb::SBProgress *arg1 = (lldb::SBProgress *) 0 ; + uint64_t arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + unsigned long long val2 ; + int ecode2 = 0 ; + + (void)self; + if ((nobjs < 2) || (nobjs > 2)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProgress, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProgress_Increment" "', argument " "1"" of type '" "lldb::SBProgress *""'"); + } + arg1 = reinterpret_cast< lldb::SBProgress * >(argp1); + ecode2 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBProgress_Increment" "', argument " "2"" of type '" "uint64_t""'"); + } + arg2 = static_cast< uint64_t >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->Increment(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBProgress_Increment(PyObject *self, PyObject *args) { + Py_ssize_t argc; + PyObject *argv[4] = { + 0 + }; + + if (!(argc = SWIG_Python_UnpackTuple(args, "SBProgress_Increment", 0, 3, argv))) SWIG_fail; + --argc; + if (argc == 2) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBProgress, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + return _wrap_SBProgress_Increment__SWIG_1(self, argc, argv); + } + } + } + if (argc == 3) { + int _v = 0; + void *vptr = 0; + int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_lldb__SBProgress, 0); + _v = SWIG_CheckState(res); + if (_v) { + { + int res = SWIG_AsVal_unsigned_SS_long_SS_long(argv[1], NULL); + _v = SWIG_CheckState(res); + } + if (_v) { + int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0); + _v = SWIG_CheckState(res); + if (_v) { + return _wrap_SBProgress_Increment__SWIG_0(self, argc, argv); + } + } + } + } + +fail: + SWIG_Python_RaiseOrModifyTypeError("Wrong number or type of arguments for overloaded function 'SBProgress_Increment'.\n" + " Possible C/C++ prototypes are:\n" + " lldb::SBProgress::Increment(uint64_t,char const *)\n" + " lldb::SBProgress::Increment(uint64_t)\n"); + return 0; +} + + +SWIGINTERN PyObject *_wrap_SBProgress_Finalize(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBProgress *arg1 = (lldb::SBProgress *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBProgress, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBProgress_Finalize" "', argument " "1"" of type '" "lldb::SBProgress *""'"); + } + arg1 = reinterpret_cast< lldb::SBProgress * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->Finalize(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *SBProgress_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + PyObject *obj = NULL; + if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; + SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBProgress, SWIG_NewClientData(obj)); + return SWIG_Py_Void(); +} + +SWIGINTERN PyObject *SBProgress_swiginit(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { + return SWIG_Python_InitShadowInstance(args); +} + SWIGINTERN PyObject *_wrap_new_SBQueue__SWIG_0(PyObject *self, Py_ssize_t nobjs, PyObject **SWIGUNUSEDPARM(swig_obj)) { PyObject *resultobj = 0; lldb::SBQueue *result = 0 ; @@ -56392,7 +58034,7 @@ SWIGINTERN PyObject *_wrap_new_SBQueue__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBQueue" "', argument " "1"" of type '" "lldb::SBQueue const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBQueue" "', argument " "1"" of type '" "lldb::SBQueue const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBQueue" "', argument " "1"" of type '" "lldb::SBQueue const &""'"); } arg1 = reinterpret_cast< lldb::SBQueue * >(argp1); { @@ -56841,7 +58483,7 @@ SWIGINTERN PyObject *_wrap_SBQueue_GetKind(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBQueue_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBQueue, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -57092,7 +58734,7 @@ SWIGINTERN PyObject *_wrap_SBQueueItem_SetAddress(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBQueueItem_SetAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBQueueItem_SetAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBQueueItem_SetAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -57101,7 +58743,7 @@ SWIGINTERN PyObject *_wrap_SBQueueItem_SetAddress(PyObject *self, PyObject *args } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetAddress(arg2); + (arg1)->SetAddress(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -57150,7 +58792,7 @@ SWIGINTERN PyObject *_wrap_SBQueueItem_GetExtendedBacktraceThread(PyObject *self SWIGINTERN PyObject *SBQueueItem_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBQueueItem, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -57326,7 +58968,7 @@ SWIGINTERN PyObject *_wrap_delete_SBReproducer(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBReproducer_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBReproducer, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -57428,7 +59070,7 @@ SWIGINTERN PyObject *_wrap_new_SBScriptObject__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBScriptObject" "', argument " "1"" of type '" "lldb::SBScriptObject const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBScriptObject" "', argument " "1"" of type '" "lldb::SBScriptObject const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBScriptObject" "', argument " "1"" of type '" "lldb::SBScriptObject const &""'"); } arg1 = reinterpret_cast< lldb::SBScriptObject * >(argp1); { @@ -57568,7 +59210,7 @@ SWIGINTERN PyObject *_wrap_SBScriptObject___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBScriptObject___ne__" "', argument " "2"" of type '" "lldb::SBScriptObject const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBScriptObject___ne__" "', argument " "2"" of type '" "lldb::SBScriptObject const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBScriptObject___ne__" "', argument " "2"" of type '" "lldb::SBScriptObject const &""'"); } arg2 = reinterpret_cast< lldb::SBScriptObject * >(argp2); { @@ -57583,7 +59225,7 @@ SWIGINTERN PyObject *_wrap_SBScriptObject___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -57678,7 +59320,7 @@ SWIGINTERN PyObject *_wrap_SBScriptObject_GetLanguage(PyObject *self, PyObject * SWIGINTERN PyObject *SBScriptObject_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBScriptObject, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -57720,7 +59362,7 @@ SWIGINTERN PyObject *_wrap_new_SBSection__SWIG_1(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSection" "', argument " "1"" of type '" "lldb::SBSection const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSection" "', argument " "1"" of type '" "lldb::SBSection const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSection" "', argument " "1"" of type '" "lldb::SBSection const &""'"); } arg1 = reinterpret_cast< lldb::SBSection * >(argp1); { @@ -57994,7 +59636,7 @@ SWIGINTERN PyObject *_wrap_SBSection_GetSubSectionAtIndex(PyObject *self, PyObje arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSubSectionAtIndex(arg2); + result = (arg1)->GetSubSectionAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBSection(result)), SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_OWN | 0 ); @@ -58055,7 +59697,7 @@ SWIGINTERN PyObject *_wrap_SBSection_GetLoadAddress(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSection_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSection_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSection_GetLoadAddress" "', argument " "2"" of type '" "lldb::SBTarget &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -58405,7 +60047,7 @@ SWIGINTERN PyObject *_wrap_SBSection___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSection___eq__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSection___eq__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSection___eq__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); } arg2 = reinterpret_cast< lldb::SBSection * >(argp2); { @@ -58420,7 +60062,7 @@ SWIGINTERN PyObject *_wrap_SBSection___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -58448,7 +60090,7 @@ SWIGINTERN PyObject *_wrap_SBSection___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSection___ne__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSection___ne__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSection___ne__" "', argument " "2"" of type '" "lldb::SBSection const &""'"); } arg2 = reinterpret_cast< lldb::SBSection * >(argp2); { @@ -58463,7 +60105,7 @@ SWIGINTERN PyObject *_wrap_SBSection___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -58491,7 +60133,7 @@ SWIGINTERN PyObject *_wrap_SBSection_GetDescription(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSection_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSection_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSection_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -58535,7 +60177,7 @@ SWIGINTERN PyObject *_wrap_SBSection___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBSection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSection, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -58559,7 +60201,7 @@ SWIGINTERN PyObject *_wrap_new_SBSourceManager__SWIG_0(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBDebugger const &""'"); } arg1 = reinterpret_cast< lldb::SBDebugger * >(argp1); { @@ -58588,7 +60230,7 @@ SWIGINTERN PyObject *_wrap_new_SBSourceManager__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); { @@ -58617,7 +60259,7 @@ SWIGINTERN PyObject *_wrap_new_SBSourceManager__SWIG_2(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBSourceManager const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBSourceManager const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSourceManager" "', argument " "1"" of type '" "lldb::SBSourceManager const &""'"); } arg1 = reinterpret_cast< lldb::SBSourceManager * >(argp1); { @@ -58741,7 +60383,7 @@ SWIGINTERN PyObject *_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers(PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -58769,7 +60411,7 @@ SWIGINTERN PyObject *_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbers(PyO SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "7"" of type '" "lldb::SBStream &""'"); } if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "7"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbers" "', argument " "7"" of type '" "lldb::SBStream &""'"); } arg7 = reinterpret_cast< lldb::SBStream * >(argp7); { @@ -58828,7 +60470,7 @@ SWIGINTERN PyObject *_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndC SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -58861,7 +60503,7 @@ SWIGINTERN PyObject *_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndC SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "8"" of type '" "lldb::SBStream &""'"); } if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "8"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSourceManager_DisplaySourceLinesWithLineNumbersAndColumn" "', argument " "8"" of type '" "lldb::SBStream &""'"); } arg8 = reinterpret_cast< lldb::SBStream * >(argp8); { @@ -58879,7 +60521,7 @@ SWIGINTERN PyObject *_wrap_SBSourceManager_DisplaySourceLinesWithLineNumbersAndC SWIGINTERN PyObject *SBSourceManager_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSourceManager, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -58921,7 +60563,7 @@ SWIGINTERN PyObject *_wrap_new_SBStatisticsOptions__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBStatisticsOptions" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBStatisticsOptions" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBStatisticsOptions" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); { @@ -59054,6 +60696,192 @@ SWIGINTERN PyObject *_wrap_SBStatisticsOptions_GetSummaryOnly(PyObject *self, Py } +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_SetIncludeTargets(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBStatisticsOptions_SetIncludeTargets", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_SetIncludeTargets" "', argument " "1"" of type '" "lldb::SBStatisticsOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBStatisticsOptions_SetIncludeTargets" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetIncludeTargets(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_GetIncludeTargets(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_GetIncludeTargets" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)((lldb::SBStatisticsOptions const *)arg1)->GetIncludeTargets(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_SetIncludeModules(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBStatisticsOptions_SetIncludeModules", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_SetIncludeModules" "', argument " "1"" of type '" "lldb::SBStatisticsOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBStatisticsOptions_SetIncludeModules" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetIncludeModules(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_GetIncludeModules(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_GetIncludeModules" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)((lldb::SBStatisticsOptions const *)arg1)->GetIncludeModules(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_SetIncludeTranscript(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + bool arg2 ; + void *argp1 = 0 ; + int res1 = 0 ; + bool val2 ; + int ecode2 = 0 ; + PyObject *swig_obj[2] ; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBStatisticsOptions_SetIncludeTranscript", 2, 2, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_SetIncludeTranscript" "', argument " "1"" of type '" "lldb::SBStatisticsOptions *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + ecode2 = SWIG_AsVal_bool(swig_obj[1], &val2); + if (!SWIG_IsOK(ecode2)) { + SWIG_exception_fail(SWIG_ArgError(ecode2), "in method '" "SBStatisticsOptions_SetIncludeTranscript" "', argument " "2"" of type '" "bool""'"); + } + arg2 = static_cast< bool >(val2); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->SetIncludeTranscript(arg2); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBStatisticsOptions_GetIncludeTranscript(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + bool result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBStatisticsOptions, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBStatisticsOptions_GetIncludeTranscript" "', argument " "1"" of type '" "lldb::SBStatisticsOptions const *""'"); + } + arg1 = reinterpret_cast< lldb::SBStatisticsOptions * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (bool)((lldb::SBStatisticsOptions const *)arg1)->GetIncludeTranscript(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_From_bool(static_cast< bool >(result)); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBStatisticsOptions_SetReportAllAvailableDebugInfo(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBStatisticsOptions *arg1 = (lldb::SBStatisticsOptions *) 0 ; @@ -59117,7 +60945,7 @@ SWIGINTERN PyObject *_wrap_SBStatisticsOptions_GetReportAllAvailableDebugInfo(Py SWIGINTERN PyObject *SBStatisticsOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBStatisticsOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -59387,7 +61215,7 @@ SWIGINTERN PyObject *_wrap_SBStream_RedirectToFile__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStream_RedirectToFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStream_RedirectToFile" "', argument " "2"" of type '" "lldb::SBFile""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStream_RedirectToFile" "', argument " "2"" of type '" "lldb::SBFile""'"); } else { lldb::SBFile * temp = reinterpret_cast< lldb::SBFile * >(argp2); arg2 = *temp; @@ -59396,7 +61224,7 @@ SWIGINTERN PyObject *_wrap_SBStream_RedirectToFile__SWIG_1(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->RedirectToFile(arg2); + (arg1)->RedirectToFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -59433,7 +61261,7 @@ SWIGINTERN PyObject *_wrap_SBStream_RedirectToFile__SWIG_2(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->RedirectToFile(arg2); + (arg1)->RedirectToFile(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -59693,7 +61521,7 @@ SWIGINTERN PyObject *_wrap_SBStream_flush(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBStream_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBStream, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -59735,7 +61563,7 @@ SWIGINTERN PyObject *_wrap_new_SBStringList__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBStringList" "', argument " "1"" of type '" "lldb::SBStringList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBStringList" "', argument " "1"" of type '" "lldb::SBStringList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBStringList" "', argument " "1"" of type '" "lldb::SBStringList const &""'"); } arg1 = reinterpret_cast< lldb::SBStringList * >(argp1); { @@ -59984,7 +61812,7 @@ SWIGINTERN PyObject *_wrap_SBStringList_AppendList__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStringList_AppendList" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStringList_AppendList" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStringList_AppendList" "', argument " "2"" of type '" "lldb::SBStringList const &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -60116,7 +61944,7 @@ SWIGINTERN PyObject *_wrap_SBStringList_GetStringAtIndex__SWIG_0(PyObject *self, arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)(arg1)->GetStringAtIndex(arg2); + result = (char *)(arg1)->GetStringAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -60150,7 +61978,7 @@ SWIGINTERN PyObject *_wrap_SBStringList_GetStringAtIndex__SWIG_1(PyObject *self, arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (char *)((lldb::SBStringList const *)arg1)->GetStringAtIndex(arg2); + result = (char *)((lldb::SBStringList const *)arg1)->GetStringAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_FromCharPtr((const char *)result); @@ -60236,7 +62064,7 @@ SWIGINTERN PyObject *_wrap_SBStringList_Clear(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBStringList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBStringList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -60278,7 +62106,7 @@ SWIGINTERN PyObject *_wrap_new_SBStructuredData__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBStructuredData const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBStructuredData const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBStructuredData const &""'"); } arg1 = reinterpret_cast< lldb::SBStructuredData * >(argp1); { @@ -60311,7 +62139,7 @@ SWIGINTERN PyObject *_wrap_new_SBStructuredData__SWIG_2(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBScriptObject const""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBScriptObject const""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "1"" of type '" "lldb::SBScriptObject const""'"); } else { lldb::SBScriptObject * temp = reinterpret_cast< lldb::SBScriptObject * >(argp1); arg1 = *temp; @@ -60323,12 +62151,12 @@ SWIGINTERN PyObject *_wrap_new_SBStructuredData__SWIG_2(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "new_SBStructuredData" "', argument " "2"" of type '" "lldb::SBDebugger const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "2"" of type '" "lldb::SBDebugger const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBStructuredData" "', argument " "2"" of type '" "lldb::SBDebugger const &""'"); } arg2 = reinterpret_cast< lldb::SBDebugger * >(argp2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBStructuredData *)new lldb::SBStructuredData(arg1,(lldb::SBDebugger const &)*arg2); + result = (lldb::SBStructuredData *)new lldb::SBStructuredData(SWIG_STD_MOVE(arg1),(lldb::SBDebugger const &)*arg2); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NEW | 0 ); @@ -60485,7 +62313,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_SetFromJSON__SWIG_0(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStructuredData_SetFromJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStructuredData_SetFromJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStructuredData_SetFromJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -60632,7 +62460,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_GetAsJSON(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStructuredData_GetAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStructuredData_GetAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStructuredData_GetAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -60670,7 +62498,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_GetDescription(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStructuredData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStructuredData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStructuredData_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -60764,7 +62592,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_GetKeys(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBStructuredData_GetKeys" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBStructuredData_GetKeys" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBStructuredData_GetKeys" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -60842,7 +62670,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_GetItemAtIndex(PyObject *self, PyObj arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBStructuredData const *)arg1)->GetItemAtIndex(arg2); + result = ((lldb::SBStructuredData const *)arg1)->GetItemAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); @@ -61393,7 +63221,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData_GetStringValue(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = ((lldb::SBStructuredData const *)arg1)->GetStringValue(arg2,arg3); + result = ((lldb::SBStructuredData const *)arg1)->GetStringValue(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -61483,7 +63311,7 @@ SWIGINTERN PyObject *_wrap_SBStructuredData___repr__(PyObject *self, PyObject *a SWIGINTERN PyObject *SBStructuredData_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBStructuredData, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -61552,7 +63380,7 @@ SWIGINTERN PyObject *_wrap_new_SBSymbol__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSymbol" "', argument " "1"" of type '" "lldb::SBSymbol const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSymbol" "', argument " "1"" of type '" "lldb::SBSymbol const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSymbol" "', argument " "1"" of type '" "lldb::SBSymbol const &""'"); } arg1 = reinterpret_cast< lldb::SBSymbol * >(argp1); { @@ -61759,7 +63587,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol_GetInstructions__SWIG_0(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -61768,7 +63596,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol_GetInstructions__SWIG_0(PyObject *self, Py_s } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructions(arg2); + result = (arg1)->GetInstructions(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -61805,7 +63633,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol_GetInstructions__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbol_GetInstructions" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -61819,7 +63647,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol_GetInstructions__SWIG_1(PyObject *self, Py_s arg3 = reinterpret_cast< char * >(buf3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructions(arg2,(char const *)arg3); + result = (arg1)->GetInstructions(SWIG_STD_MOVE(arg2),(char const *)arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -62070,7 +63898,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbol___eq__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbol___eq__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbol___eq__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); } arg2 = reinterpret_cast< lldb::SBSymbol * >(argp2); { @@ -62085,7 +63913,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -62113,7 +63941,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbol___ne__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbol___ne__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbol___ne__" "', argument " "2"" of type '" "lldb::SBSymbol const &""'"); } arg2 = reinterpret_cast< lldb::SBSymbol * >(argp2); { @@ -62128,7 +63956,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -62156,7 +63984,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol_GetDescription(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbol_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbol_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbol_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -62256,7 +64084,7 @@ SWIGINTERN PyObject *_wrap_SBSymbol___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBSymbol_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSymbol, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -62298,7 +64126,7 @@ SWIGINTERN PyObject *_wrap_new_SBSymbolContext__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSymbolContext" "', argument " "1"" of type '" "lldb::SBSymbolContext const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSymbolContext" "', argument " "1"" of type '" "lldb::SBSymbolContext const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSymbolContext" "', argument " "1"" of type '" "lldb::SBSymbolContext const &""'"); } arg1 = reinterpret_cast< lldb::SBSymbolContext * >(argp1); { @@ -62616,7 +64444,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetModule(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetModule" "', argument " "2"" of type '" "lldb::SBModule""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetModule" "', argument " "2"" of type '" "lldb::SBModule""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetModule" "', argument " "2"" of type '" "lldb::SBModule""'"); } else { lldb::SBModule * temp = reinterpret_cast< lldb::SBModule * >(argp2); arg2 = *temp; @@ -62625,7 +64453,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetModule(PyObject *self, PyObject *a } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetModule(arg2); + (arg1)->SetModule(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62658,7 +64486,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetCompileUnit(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetCompileUnit" "', argument " "2"" of type '" "lldb::SBCompileUnit""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetCompileUnit" "', argument " "2"" of type '" "lldb::SBCompileUnit""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetCompileUnit" "', argument " "2"" of type '" "lldb::SBCompileUnit""'"); } else { lldb::SBCompileUnit * temp = reinterpret_cast< lldb::SBCompileUnit * >(argp2); arg2 = *temp; @@ -62667,7 +64495,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetCompileUnit(PyObject *self, PyObje } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetCompileUnit(arg2); + (arg1)->SetCompileUnit(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62700,7 +64528,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetFunction(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetFunction" "', argument " "2"" of type '" "lldb::SBFunction""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetFunction" "', argument " "2"" of type '" "lldb::SBFunction""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetFunction" "', argument " "2"" of type '" "lldb::SBFunction""'"); } else { lldb::SBFunction * temp = reinterpret_cast< lldb::SBFunction * >(argp2); arg2 = *temp; @@ -62709,7 +64537,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetFunction(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetFunction(arg2); + (arg1)->SetFunction(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62742,7 +64570,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetBlock(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetBlock" "', argument " "2"" of type '" "lldb::SBBlock""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetBlock" "', argument " "2"" of type '" "lldb::SBBlock""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetBlock" "', argument " "2"" of type '" "lldb::SBBlock""'"); } else { lldb::SBBlock * temp = reinterpret_cast< lldb::SBBlock * >(argp2); arg2 = *temp; @@ -62751,7 +64579,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetBlock(PyObject *self, PyObject *ar } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetBlock(arg2); + (arg1)->SetBlock(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62784,7 +64612,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetLineEntry(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetLineEntry" "', argument " "2"" of type '" "lldb::SBLineEntry""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetLineEntry" "', argument " "2"" of type '" "lldb::SBLineEntry""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetLineEntry" "', argument " "2"" of type '" "lldb::SBLineEntry""'"); } else { lldb::SBLineEntry * temp = reinterpret_cast< lldb::SBLineEntry * >(argp2); arg2 = *temp; @@ -62793,7 +64621,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetLineEntry(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetLineEntry(arg2); + (arg1)->SetLineEntry(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62826,7 +64654,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetSymbol(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_SetSymbol" "', argument " "2"" of type '" "lldb::SBSymbol""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_SetSymbol" "', argument " "2"" of type '" "lldb::SBSymbol""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_SetSymbol" "', argument " "2"" of type '" "lldb::SBSymbol""'"); } else { lldb::SBSymbol * temp = reinterpret_cast< lldb::SBSymbol * >(argp2); arg2 = *temp; @@ -62835,7 +64663,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_SetSymbol(PyObject *self, PyObject *a } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->SetSymbol(arg2); + (arg1)->SetSymbol(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -62871,7 +64699,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_GetParentOfInlinedScope(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBAddress, 0 ); @@ -62879,7 +64707,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_GetParentOfInlinedScope(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "3"" of type '" "lldb::SBAddress &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "3"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_GetParentOfInlinedScope" "', argument " "3"" of type '" "lldb::SBAddress &""'"); } arg3 = reinterpret_cast< lldb::SBAddress * >(argp3); { @@ -62917,7 +64745,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext_GetDescription(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContext_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContext_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContext_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -62961,7 +64789,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContext___repr__(PyObject *self, PyObject *ar SWIGINTERN PyObject *SBSymbolContext_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSymbolContext, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -63003,7 +64831,7 @@ SWIGINTERN PyObject *_wrap_new_SBSymbolContextList__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBSymbolContextList" "', argument " "1"" of type '" "lldb::SBSymbolContextList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBSymbolContextList" "', argument " "1"" of type '" "lldb::SBSymbolContextList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBSymbolContextList" "', argument " "1"" of type '" "lldb::SBSymbolContextList const &""'"); } arg1 = reinterpret_cast< lldb::SBSymbolContextList * >(argp1); { @@ -63216,7 +65044,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContextList_GetDescription(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContextList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContextList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContextList_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -63252,7 +65080,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContextList_Append__SWIG_0(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContext &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContext &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContext &""'"); } arg2 = reinterpret_cast< lldb::SBSymbolContext * >(argp2); { @@ -63288,7 +65116,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContextList_Append__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContextList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContextList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBSymbolContextList_Append" "', argument " "2"" of type '" "lldb::SBSymbolContextList &""'"); } arg2 = reinterpret_cast< lldb::SBSymbolContextList * >(argp2); { @@ -63405,7 +65233,7 @@ SWIGINTERN PyObject *_wrap_SBSymbolContextList___repr__(PyObject *self, PyObject SWIGINTERN PyObject *SBSymbolContextList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBSymbolContextList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -63447,7 +65275,7 @@ SWIGINTERN PyObject *_wrap_new_SBTarget__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTarget" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTarget" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTarget" "', argument " "1"" of type '" "lldb::SBTarget const &""'"); } arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); { @@ -63590,7 +65418,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_EventIsTargetEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_EventIsTargetEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_EventIsTargetEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_EventIsTargetEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -63621,7 +65449,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetTargetFromEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_GetTargetFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetTargetFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetTargetFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -63652,7 +65480,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetNumModulesFromEvent(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_GetNumModulesFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetNumModulesFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetNumModulesFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -63690,7 +65518,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetModuleAtIndexFromEvent(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetModuleAtIndexFromEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetModuleAtIndexFromEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetModuleAtIndexFromEvent" "', argument " "2"" of type '" "lldb::SBEvent const &""'"); } arg2 = reinterpret_cast< lldb::SBEvent * >(argp2); { @@ -63862,7 +65690,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetStatistics__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetStatistics" "', argument " "2"" of type '" "lldb::SBStatisticsOptions""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetStatistics" "', argument " "2"" of type '" "lldb::SBStatisticsOptions""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetStatistics" "', argument " "2"" of type '" "lldb::SBStatisticsOptions""'"); } else { lldb::SBStatisticsOptions * temp = reinterpret_cast< lldb::SBStatisticsOptions * >(argp2); arg2 = *temp; @@ -63871,7 +65699,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetStatistics__SWIG_1(PyObject *self, Py_ssi } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetStatistics(arg2); + result = (arg1)->GetStatistics(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBStructuredData(result)), SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_OWN | 0 ); @@ -63921,6 +65749,33 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetStatistics(PyObject *self, PyObject *args } +SWIGINTERN PyObject *_wrap_SBTarget_ResetStatistics(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBTarget, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTarget_ResetStatistics" "', argument " "1"" of type '" "lldb::SBTarget *""'"); + } + arg1 = reinterpret_cast< lldb::SBTarget * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + (arg1)->ResetStatistics(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_Py_Void(); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBTarget_GetPlatform(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBTarget *arg1 = (lldb::SBTarget *) 0 ; @@ -64054,7 +65909,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Launch__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); { @@ -64140,7 +65995,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Launch__SWIG_0(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res11), "in method '" "SBTarget_Launch" "', argument " "11"" of type '" "lldb::SBError &""'"); } if (!argp11) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "11"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "11"" of type '" "lldb::SBError &""'"); } arg11 = reinterpret_cast< lldb::SBError * >(argp11); { @@ -64243,7 +66098,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_LoadCore__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_LoadCore" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_LoadCore" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_LoadCore" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -64434,7 +66289,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Launch__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "2"" of type '" "lldb::SBLaunchInfo &""'"); } arg2 = reinterpret_cast< lldb::SBLaunchInfo * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBError, 0 ); @@ -64442,7 +66297,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Launch__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_Launch" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Launch" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -64605,7 +66460,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Attach" "', argument " "2"" of type '" "lldb::SBAttachInfo &""'"); } arg2 = reinterpret_cast< lldb::SBAttachInfo * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBError, 0 ); @@ -64613,7 +66468,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_Attach(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_Attach" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_Attach" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_Attach" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -64657,7 +66512,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AttachToProcessWithID(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_AttachToProcessWithID" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithID" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithID" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -64670,7 +66525,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AttachToProcessWithID(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_AttachToProcessWithID" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithID" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithID" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -64718,7 +66573,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AttachToProcessWithName(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_AttachToProcessWithName" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithName" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithName" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -64736,7 +66591,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AttachToProcessWithName(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_AttachToProcessWithName" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithName" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AttachToProcessWithName" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -64787,7 +66642,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ConnectRemote(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ConnectRemote" "', argument " "2"" of type '" "lldb::SBListener &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ConnectRemote" "', argument " "2"" of type '" "lldb::SBListener &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ConnectRemote" "', argument " "2"" of type '" "lldb::SBListener &""'"); } arg2 = reinterpret_cast< lldb::SBListener * >(argp2); res3 = SWIG_AsCharPtrAndSize(swig_obj[2], &buf3, NULL, &alloc3); @@ -64805,7 +66660,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ConnectRemote(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_ConnectRemote" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ConnectRemote" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ConnectRemote" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -64892,7 +66747,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AppendImageSearchPath(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_AppendImageSearchPath" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AppendImageSearchPath" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AppendImageSearchPath" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -64933,7 +66788,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AddModule__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModule &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModule &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModule &""'"); } arg2 = reinterpret_cast< lldb::SBModule * >(argp2); { @@ -65099,7 +66954,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_AddModule__SWIG_3(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_AddModule" "', argument " "2"" of type '" "lldb::SBModuleSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBModuleSpec * >(argp2); { @@ -65294,7 +67149,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_RemoveModule(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_RemoveModule" "', argument " "2"" of type '" "lldb::SBModule""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_RemoveModule" "', argument " "2"" of type '" "lldb::SBModule""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_RemoveModule" "', argument " "2"" of type '" "lldb::SBModule""'"); } else { lldb::SBModule * temp = reinterpret_cast< lldb::SBModule * >(argp2); arg2 = *temp; @@ -65303,7 +67158,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_RemoveModule(PyObject *self, PyObject *args) } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->RemoveModule(arg2); + result = (bool)(arg1)->RemoveModule(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -65364,7 +67219,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_FindModule(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_FindModule" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_FindModule" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_FindModule" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -65402,7 +67257,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_FindCompileUnits(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_FindCompileUnits" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -65706,7 +67561,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_SetSectionLoadAddress(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_SetSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_SetSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_SetSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } else { lldb::SBSection * temp = reinterpret_cast< lldb::SBSection * >(argp2); arg2 = *temp; @@ -65720,7 +67575,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_SetSectionLoadAddress(PyObject *self, PyObje arg3 = static_cast< lldb::addr_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetSectionLoadAddress(arg2,arg3); + result = (arg1)->SetSectionLoadAddress(SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -65754,7 +67609,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ClearSectionLoadAddress(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ClearSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ClearSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ClearSectionLoadAddress" "', argument " "2"" of type '" "lldb::SBSection""'"); } else { lldb::SBSection * temp = reinterpret_cast< lldb::SBSection * >(argp2); arg2 = *temp; @@ -65763,7 +67618,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ClearSectionLoadAddress(PyObject *self, PyOb } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ClearSectionLoadAddress(arg2); + result = (arg1)->ClearSectionLoadAddress(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -65800,7 +67655,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_SetModuleLoadAddress(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_SetModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_SetModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_SetModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); } else { lldb::SBModule * temp = reinterpret_cast< lldb::SBModule * >(argp2); arg2 = *temp; @@ -65814,7 +67669,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_SetModuleLoadAddress(PyObject *self, PyObjec arg3 = static_cast< uint64_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->SetModuleLoadAddress(arg2,arg3); + result = (arg1)->SetModuleLoadAddress(SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -65848,7 +67703,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ClearModuleLoadAddress(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ClearModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ClearModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ClearModuleLoadAddress" "', argument " "2"" of type '" "lldb::SBModule""'"); } else { lldb::SBModule * temp = reinterpret_cast< lldb::SBModule * >(argp2); arg2 = *temp; @@ -65857,7 +67712,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ClearModuleLoadAddress(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ClearModuleLoadAddress(arg2); + result = (arg1)->ClearModuleLoadAddress(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBError(result)), SWIGTYPE_p_lldb__SBError, SWIG_POINTER_OWN | 0 ); @@ -66417,7 +68272,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ResolveSymbolContextForAddress(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ResolveSymbolContextForAddress" "', argument " "2"" of type '" "lldb::SBAddress const &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66466,7 +68321,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadMemory(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ReadMemory" "', argument " "2"" of type '" "lldb::SBAddress const""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadMemory" "', argument " "2"" of type '" "lldb::SBAddress const""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadMemory" "', argument " "2"" of type '" "lldb::SBAddress const""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -66491,12 +68346,12 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadMemory(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadMemory" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadMemory(arg2,arg3,arg4,*arg5); + result = (arg1)->ReadMemory(SWIG_STD_MOVE(arg2),arg3,SWIG_STD_MOVE(arg4),*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -66587,7 +68442,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_1(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66635,7 +68490,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_2(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66691,7 +68546,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66709,7 +68564,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_3(PyObject SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "5"" of type '" "lldb::SBFileSpecList &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "5"" of type '" "lldb::SBFileSpecList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "5"" of type '" "lldb::SBFileSpecList &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); { @@ -66758,7 +68613,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66781,7 +68636,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_4(PyObject SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); } arg6 = reinterpret_cast< lldb::SBFileSpecList * >(argp6); { @@ -66833,7 +68688,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "2"" of type '" "lldb::SBFileSpec const &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -66856,7 +68711,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByLocation__SWIG_5(PyObject SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByLocation" "', argument " "6"" of type '" "lldb::SBFileSpecList &""'"); } arg6 = reinterpret_cast< lldb::SBFileSpecList * >(argp6); ecode7 = SWIG_AsVal_bool(swig_obj[6], &val7); @@ -67188,7 +69043,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_2(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpecList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67196,7 +69051,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_2(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); { @@ -67255,7 +69110,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_3(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67263,7 +69118,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_3(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); { @@ -67330,7 +69185,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_4(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); res6 = SWIG_ConvertPtr(swig_obj[5], &argp6, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67338,7 +69193,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByName__SWIG_4(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_BreakpointCreateByName" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByName" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } arg6 = reinterpret_cast< lldb::SBFileSpecList * >(argp6); { @@ -67548,7 +69403,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_0(PyObject *se SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); res6 = SWIG_ConvertPtr(swig_obj[4], &argp6, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67556,7 +69411,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_0(PyObject *se SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } arg6 = reinterpret_cast< lldb::SBFileSpecList * >(argp6); { @@ -67640,7 +69495,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_1(PyObject *se SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "6"" of type '" "lldb::SBFileSpecList const &""'"); } arg6 = reinterpret_cast< lldb::SBFileSpecList * >(argp6); res7 = SWIG_ConvertPtr(swig_obj[5], &argp7, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67648,7 +69503,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_1(PyObject *se SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); } arg7 = reinterpret_cast< lldb::SBFileSpecList * >(argp7); { @@ -67740,7 +69595,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_2(PyObject *se SWIG_exception_fail(SWIG_ArgError(res7), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp7) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "7"" of type '" "lldb::SBFileSpecList const &""'"); } arg7 = reinterpret_cast< lldb::SBFileSpecList * >(argp7); res8 = SWIG_ConvertPtr(swig_obj[6], &argp8, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -67748,7 +69603,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByNames__SWIG_2(PyObject *se SWIG_exception_fail(SWIG_ArgError(res8), "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "8"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp8) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "8"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByNames" "', argument " "8"" of type '" "lldb::SBFileSpecList const &""'"); } arg8 = reinterpret_cast< lldb::SBFileSpecList * >(argp8); { @@ -68045,7 +69900,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(PyObject *se SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpecList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68053,7 +69908,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByRegex__SWIG_2(PyObject *se SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); { @@ -68112,7 +69967,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByRegex__SWIG_3(PyObject *se SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68120,7 +69975,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateByRegex__SWIG_3(PyObject *se SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateByRegex" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); { @@ -68270,7 +70125,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_0(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); @@ -68325,7 +70180,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_1(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -68376,7 +70231,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpecList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68384,7 +70239,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_2(PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); { @@ -68438,7 +70293,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "3"" of type '" "lldb::SBFileSpecList const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpecList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68446,7 +70301,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBStringList, 0 | 0); @@ -68454,7 +70309,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySourceRegex__SWIG_3(PyObje SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "5"" of type '" "lldb::SBStringList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "5"" of type '" "lldb::SBStringList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySourceRegex" "', argument " "5"" of type '" "lldb::SBStringList const &""'"); } arg5 = reinterpret_cast< lldb::SBStringList * >(argp5); { @@ -68671,7 +70526,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateForException__SWIG_1(PyObjec SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateForException" "', argument " "5"" of type '" "lldb::SBStringList &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateForException" "', argument " "5"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateForException" "', argument " "5"" of type '" "lldb::SBStringList &""'"); } arg5 = reinterpret_cast< lldb::SBStringList * >(argp5); { @@ -68821,7 +70676,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateBySBAddress(PyObject *self, SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointCreateBySBAddress" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySBAddress" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateBySBAddress" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); { @@ -68876,7 +70731,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68884,7 +70739,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68892,7 +70747,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_0(PyObject SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); ecode6 = SWIG_AsVal_bool(swig_obj[5], &val6); @@ -68951,7 +70806,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68959,7 +70814,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "4"" of type '" "lldb::SBFileSpecList const &""'"); } arg4 = reinterpret_cast< lldb::SBFileSpecList * >(argp4); res5 = SWIG_ConvertPtr(swig_obj[4], &argp5, SWIGTYPE_p_lldb__SBFileSpecList, 0 | 0); @@ -68967,7 +70822,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointCreateFromScript__SWIG_1(PyObject SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointCreateFromScript" "', argument " "5"" of type '" "lldb::SBFileSpecList const &""'"); } arg5 = reinterpret_cast< lldb::SBFileSpecList * >(argp5); { @@ -69085,7 +70940,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBBreakpointList, 0 ); @@ -69093,7 +70948,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_0(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } arg3 = reinterpret_cast< lldb::SBBreakpointList * >(argp3); { @@ -69136,7 +70991,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBStringList, 0 ); @@ -69144,7 +70999,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(PyObject * SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBStringList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "3"" of type '" "lldb::SBStringList &""'"); } arg3 = reinterpret_cast< lldb::SBStringList * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBBreakpointList, 0 ); @@ -69152,7 +71007,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsCreateFromFile__SWIG_1(PyObject * SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "4"" of type '" "lldb::SBBreakpointList &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "4"" of type '" "lldb::SBBreakpointList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsCreateFromFile" "', argument " "4"" of type '" "lldb::SBBreakpointList &""'"); } arg4 = reinterpret_cast< lldb::SBBreakpointList * >(argp4); { @@ -69250,7 +71105,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsWriteToFile__SWIG_0(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); { @@ -69293,7 +71148,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBBreakpointList, 0 ); @@ -69301,7 +71156,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsWriteToFile__SWIG_1(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } arg3 = reinterpret_cast< lldb::SBBreakpointList * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -69346,7 +71201,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBBreakpointList, 0 ); @@ -69354,7 +71209,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_BreakpointsWriteToFile__SWIG_2(PyObject *sel SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_BreakpointsWriteToFile" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } arg3 = reinterpret_cast< lldb::SBBreakpointList * >(argp3); { @@ -69611,7 +71466,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_FindBreakpointsByName(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_FindBreakpointsByName" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_FindBreakpointsByName" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_FindBreakpointsByName" "', argument " "3"" of type '" "lldb::SBBreakpointList &""'"); } arg3 = reinterpret_cast< lldb::SBBreakpointList * >(argp3); { @@ -69650,7 +71505,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetBreakpointNames(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetBreakpointNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetBreakpointNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetBreakpointNames" "', argument " "2"" of type '" "lldb::SBStringList &""'"); } arg2 = reinterpret_cast< lldb::SBStringList * >(argp2); { @@ -69974,12 +71829,12 @@ SWIGINTERN PyObject *_wrap_SBTarget_WatchAddress(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "SBTarget_WatchAddress" "', argument " "6"" of type '" "lldb::SBError &""'"); } if (!argp6) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_WatchAddress" "', argument " "6"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_WatchAddress" "', argument " "6"" of type '" "lldb::SBError &""'"); } arg6 = reinterpret_cast< lldb::SBError * >(argp6); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->WatchAddress(arg2,arg3,arg4,arg5,*arg6); + result = (arg1)->WatchAddress(arg2,SWIG_STD_MOVE(arg3),arg4,arg5,*arg6); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBWatchpoint(result)), SWIGTYPE_p_lldb__SBWatchpoint, SWIG_POINTER_OWN | 0 ); @@ -70032,7 +71887,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_WatchpointCreateByAddress(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "4"" of type '" "lldb::SBWatchpointOptions""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "4"" of type '" "lldb::SBWatchpointOptions""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "4"" of type '" "lldb::SBWatchpointOptions""'"); } else { lldb::SBWatchpointOptions * temp = reinterpret_cast< lldb::SBWatchpointOptions * >(argp4); arg4 = *temp; @@ -70044,12 +71899,12 @@ SWIGINTERN PyObject *_wrap_SBTarget_WatchpointCreateByAddress(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_WatchpointCreateByAddress" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->WatchpointCreateByAddress(arg2,arg3,arg4,*arg5); + result = (arg1)->WatchpointCreateByAddress(arg2,SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4),*arg5); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBWatchpoint(result)), SWIGTYPE_p_lldb__SBWatchpoint, SWIG_POINTER_OWN | 0 ); @@ -70318,7 +72173,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromAddress(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_CreateValueFromAddress" "', argument " "3"" of type '" "lldb::SBAddress""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_CreateValueFromAddress" "', argument " "3"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_CreateValueFromAddress" "', argument " "3"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp3); arg3 = *temp; @@ -70331,7 +72186,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromAddress(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp4); arg4 = *temp; @@ -70340,7 +72195,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromAddress(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); + result = (arg1)->CreateValueFromAddress((char const *)arg2,SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -70388,7 +72243,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromData(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); } else { lldb::SBData * temp = reinterpret_cast< lldb::SBData * >(argp3); arg3 = *temp; @@ -70401,7 +72256,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromData(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBTarget_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp4); arg4 = *temp; @@ -70410,7 +72265,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateValueFromData(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); + result = (arg1)->CreateValueFromData((char const *)arg2,SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -70525,7 +72380,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_0(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -70539,7 +72394,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_0(PyObject *self, Py_ arg3 = static_cast< uint32_t >(val3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadInstructions(arg2,arg3); + result = (arg1)->ReadInstructions(SWIG_STD_MOVE(arg2),arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -70579,7 +72434,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_1(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -70598,7 +72453,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_1(PyObject *self, Py_ arg4 = reinterpret_cast< char * >(buf4); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadInstructions(arg2,arg3,(char const *)arg4); + result = (arg1)->ReadInstructions(SWIG_STD_MOVE(arg2),arg3,(char const *)arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -70640,7 +72495,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_2(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -70653,7 +72508,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_2(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_ReadInstructions" "', argument " "3"" of type '" "lldb::SBAddress""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "3"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_ReadInstructions" "', argument " "3"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp3); arg3 = *temp; @@ -70667,7 +72522,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_ReadInstructions__SWIG_2(PyObject *self, Py_ arg4 = reinterpret_cast< char * >(buf4); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->ReadInstructions(arg2,arg3,(char const *)arg4); + result = (arg1)->ReadInstructions(SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3),(char const *)arg4); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -70787,7 +72642,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetInstructions(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetInstructions" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -70814,7 +72669,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetInstructions(PyObject *self, PyObject *ar } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructions(arg2,(void const *)arg3,arg4); + result = (arg1)->GetInstructions(SWIG_STD_MOVE(arg2),(void const *)arg3,SWIG_STD_MOVE(arg4)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -70854,7 +72709,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetInstructionsWithFlavor(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetInstructionsWithFlavor" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetInstructionsWithFlavor" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetInstructionsWithFlavor" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -70886,7 +72741,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetInstructionsWithFlavor(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetInstructionsWithFlavor(arg2,(char const *)arg3,(void const *)arg4,arg5); + result = (arg1)->GetInstructionsWithFlavor(SWIG_STD_MOVE(arg2),(char const *)arg3,(void const *)arg4,SWIG_STD_MOVE(arg5)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBInstructionList(result)), SWIGTYPE_p_lldb__SBInstructionList, SWIG_POINTER_OWN | 0 ); @@ -71053,7 +72908,7 @@ SWIGINTERN PyObject *_wrap_SBTarget___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget___eq__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget___eq__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget___eq__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -71068,7 +72923,7 @@ SWIGINTERN PyObject *_wrap_SBTarget___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -71096,7 +72951,7 @@ SWIGINTERN PyObject *_wrap_SBTarget___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget___ne__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget___ne__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget___ne__" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -71111,7 +72966,7 @@ SWIGINTERN PyObject *_wrap_SBTarget___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -71142,7 +72997,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_GetDescription(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -71230,7 +73085,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_EvaluateExpression__SWIG_1(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTarget_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } arg3 = reinterpret_cast< lldb::SBExpressionOptions * >(argp3); { @@ -71346,7 +73201,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_IsLoaded(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_IsLoaded" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_IsLoaded" "', argument " "2"" of type '" "lldb::SBModule const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_IsLoaded" "', argument " "2"" of type '" "lldb::SBModule const &""'"); } arg2 = reinterpret_cast< lldb::SBModule * >(argp2); { @@ -71411,7 +73266,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_SetLaunchInfo(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_SetLaunchInfo" "', argument " "2"" of type '" "lldb::SBLaunchInfo const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_SetLaunchInfo" "', argument " "2"" of type '" "lldb::SBLaunchInfo const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_SetLaunchInfo" "', argument " "2"" of type '" "lldb::SBLaunchInfo const &""'"); } arg2 = reinterpret_cast< lldb::SBLaunchInfo * >(argp2); { @@ -71477,7 +73332,7 @@ SWIGINTERN PyObject *_wrap_SBTarget_CreateTrace(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTarget_CreateTrace" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTarget_CreateTrace" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTarget_CreateTrace" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -71521,7 +73376,7 @@ SWIGINTERN PyObject *_wrap_SBTarget___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBTarget_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTarget, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -71581,7 +73436,7 @@ SWIGINTERN PyObject *_wrap_new_SBThread__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBThread" "', argument " "1"" of type '" "lldb::SBThread const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThread" "', argument " "1"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThread" "', argument " "1"" of type '" "lldb::SBThread const &""'"); } arg1 = reinterpret_cast< lldb::SBThread * >(argp1); { @@ -71877,7 +73732,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetStopReasonExtendedInfoAsJSON(PyObject *se SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetStopReasonExtendedInfoAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetStopReasonExtendedInfoAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetStopReasonExtendedInfoAsJSON" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -71958,7 +73813,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetStopDescription(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetStopDescription(arg2,arg3); + result = (arg1)->GetStopDescription(arg2,SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_size_t(static_cast< size_t >(result)); @@ -72054,7 +73909,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetStopReturnOrErrorValue(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetStopReturnOrErrorValue" "', argument " "2"" of type '" "bool &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetStopReturnOrErrorValue" "', argument " "2"" of type '" "bool &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetStopReturnOrErrorValue" "', argument " "2"" of type '" "bool &""'"); } arg2 = reinterpret_cast< bool * >(argp2); { @@ -72241,7 +74096,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetInfoItemByPathAsString(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_GetInfoItemByPathAsString" "', argument " "3"" of type '" "lldb::SBStream &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetInfoItemByPathAsString" "', argument " "3"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetInfoItemByPathAsString" "', argument " "3"" of type '" "lldb::SBStream &""'"); } arg3 = reinterpret_cast< lldb::SBStream * >(argp3); { @@ -72345,7 +74200,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOver__SWIG_2(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_StepOver" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOver" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOver" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -72602,7 +74457,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepInto__SWIG_4(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); ecode5 = SWIG_AsVal_int(swig_obj[4], &val5); @@ -72662,7 +74517,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepInto__SWIG_5(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepInto" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -72857,7 +74712,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOut__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_StepOut" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOut" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOut" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -72934,7 +74789,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOutOfFrame__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); { @@ -72973,7 +74828,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOutOfFrame__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBError, 0 ); @@ -72981,7 +74836,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOutOfFrame__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_StepOutOfFrame" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOutOfFrame" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -73109,7 +74964,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepInstruction__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_StepInstruction" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepInstruction" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepInstruction" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -73206,7 +75061,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOverUntil(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_StepOverUntil" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOverUntil" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOverUntil" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 ); @@ -73214,7 +75069,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepOverUntil(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_StepOverUntil" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepOverUntil" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepOverUntil" "', argument " "3"" of type '" "lldb::SBFileSpec &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); ecode4 = SWIG_AsVal_unsigned_SS_int(swig_obj[3], &val4); @@ -73350,7 +75205,7 @@ SWIGINTERN PyObject *_wrap_SBThread_StepUsingScriptedThreadPlan__SWIG_2(PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_StepUsingScriptedThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_StepUsingScriptedThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_StepUsingScriptedThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -73473,7 +75328,7 @@ SWIGINTERN PyObject *_wrap_SBThread_JumpToLine(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_JumpToLine" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_JumpToLine" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_JumpToLine" "', argument " "2"" of type '" "lldb::SBFileSpec &""'"); } arg2 = reinterpret_cast< lldb::SBFileSpec * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); @@ -73555,7 +75410,7 @@ SWIGINTERN PyObject *_wrap_SBThread_RunToAddress__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_RunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_RunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_RunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -73649,7 +75504,7 @@ SWIGINTERN PyObject *_wrap_SBThread_ReturnFromFrame(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_ReturnFromFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_ReturnFromFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_ReturnFromFrame" "', argument " "2"" of type '" "lldb::SBFrame &""'"); } arg2 = reinterpret_cast< lldb::SBFrame * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBValue, 0 ); @@ -73657,7 +75512,7 @@ SWIGINTERN PyObject *_wrap_SBThread_ReturnFromFrame(PyObject *self, PyObject *ar SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_ReturnFromFrame" "', argument " "3"" of type '" "lldb::SBValue &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_ReturnFromFrame" "', argument " "3"" of type '" "lldb::SBValue &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_ReturnFromFrame" "', argument " "3"" of type '" "lldb::SBValue &""'"); } arg3 = reinterpret_cast< lldb::SBValue * >(argp3); { @@ -73748,7 +75603,7 @@ SWIGINTERN PyObject *_wrap_SBThread_Suspend__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_Suspend" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_Suspend" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_Suspend" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -73852,7 +75707,7 @@ SWIGINTERN PyObject *_wrap_SBThread_Resume__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_Resume" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_Resume" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_Resume" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -74106,7 +75961,7 @@ SWIGINTERN PyObject *_wrap_SBThread_EventIsThreadEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBThread_EventIsThreadEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_EventIsThreadEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_EventIsThreadEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -74137,7 +75992,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetStackFrameFromEvent(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBThread_GetStackFrameFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetStackFrameFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetStackFrameFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -74168,7 +76023,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetThreadFromEvent(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBThread_GetThreadFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetThreadFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetThreadFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -74234,7 +76089,7 @@ SWIGINTERN PyObject *_wrap_SBThread___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread___eq__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread___eq__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread___eq__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } arg2 = reinterpret_cast< lldb::SBThread * >(argp2); { @@ -74249,7 +76104,7 @@ SWIGINTERN PyObject *_wrap_SBThread___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -74277,7 +76132,7 @@ SWIGINTERN PyObject *_wrap_SBThread___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread___ne__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread___ne__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread___ne__" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } arg2 = reinterpret_cast< lldb::SBThread * >(argp2); { @@ -74292,7 +76147,7 @@ SWIGINTERN PyObject *_wrap_SBThread___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -74319,7 +76174,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetDescription__SWIG_0(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -74359,7 +76214,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetDescription__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -74457,7 +76312,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetDescriptionWithFormat(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "2"" of type '" "lldb::SBFormat const &""'"); } arg2 = reinterpret_cast< lldb::SBFormat * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBStream, 0 ); @@ -74465,7 +76320,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetDescriptionWithFormat(PyObject *self, PyO SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetDescriptionWithFormat" "', argument " "3"" of type '" "lldb::SBStream &""'"); } arg3 = reinterpret_cast< lldb::SBStream * >(argp3); { @@ -74503,7 +76358,7 @@ SWIGINTERN PyObject *_wrap_SBThread_GetStatus(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThread_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThread_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThread_GetStatus" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -74725,7 +76580,7 @@ SWIGINTERN PyObject *_wrap_SBThread___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBThread_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBThread, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -74767,7 +76622,7 @@ SWIGINTERN PyObject *_wrap_new_SBThreadCollection__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBThreadCollection" "', argument " "1"" of type '" "lldb::SBThreadCollection const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThreadCollection" "', argument " "1"" of type '" "lldb::SBThreadCollection const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThreadCollection" "', argument " "1"" of type '" "lldb::SBThreadCollection const &""'"); } arg1 = reinterpret_cast< lldb::SBThreadCollection * >(argp1); { @@ -74947,7 +76802,7 @@ SWIGINTERN PyObject *_wrap_SBThreadCollection_GetThreadAtIndex(PyObject *self, P arg2 = static_cast< size_t >(val2); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetThreadAtIndex(arg2); + result = (arg1)->GetThreadAtIndex(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBThread(result)), SWIGTYPE_p_lldb__SBThread, SWIG_POINTER_OWN | 0 ); @@ -74958,7 +76813,7 @@ SWIGINTERN PyObject *_wrap_SBThreadCollection_GetThreadAtIndex(PyObject *self, P SWIGINTERN PyObject *SBThreadCollection_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBThreadCollection, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -75000,7 +76855,7 @@ SWIGINTERN PyObject *_wrap_new_SBThreadPlan__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThreadPlan const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThreadPlan const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThreadPlan const &""'"); } arg1 = reinterpret_cast< lldb::SBThreadPlan * >(argp1); { @@ -75033,7 +76888,7 @@ SWIGINTERN PyObject *_wrap_new_SBThreadPlan__SWIG_2(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); } arg1 = reinterpret_cast< lldb::SBThread * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); @@ -75076,7 +76931,7 @@ SWIGINTERN PyObject *_wrap_new_SBThreadPlan__SWIG_3(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "1"" of type '" "lldb::SBThread &""'"); } arg1 = reinterpret_cast< lldb::SBThread * >(argp1); res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); @@ -75089,7 +76944,7 @@ SWIGINTERN PyObject *_wrap_new_SBThreadPlan__SWIG_3(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "new_SBThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBThreadPlan" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); { @@ -75418,7 +77273,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -75672,7 +77527,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_0( SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -75720,7 +77575,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_1( SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -75733,7 +77588,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepOverRange__SWIG_1( SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOverRange" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -75836,7 +77691,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_0(Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -75884,7 +77739,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_1(Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "2"" of type '" "lldb::SBAddress &""'"); } arg2 = reinterpret_cast< lldb::SBAddress * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -75897,7 +77752,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepInRange__SWIG_1(Py SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepInRange" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -76089,7 +77944,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepOut__SWIG_2(PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThreadPlan_QueueThreadPlanForStepOut" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOut" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepOut" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -76208,7 +78063,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_0(P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -76217,7 +78072,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_0(P } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->QueueThreadPlanForRunToAddress(arg2); + result = (arg1)->QueueThreadPlanForRunToAddress(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBThreadPlan(result)), SWIGTYPE_p_lldb__SBThreadPlan, SWIG_POINTER_OWN | 0 ); @@ -76253,7 +78108,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_1(P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "2"" of type '" "lldb::SBAddress""'"); } else { lldb::SBAddress * temp = reinterpret_cast< lldb::SBAddress * >(argp2); arg2 = *temp; @@ -76265,12 +78120,12 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForRunToAddress__SWIG_1(P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForRunToAddress" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->QueueThreadPlanForRunToAddress(arg2,*arg3); + result = (arg1)->QueueThreadPlanForRunToAddress(SWIG_STD_MOVE(arg2),*arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBThreadPlan(result)), SWIGTYPE_p_lldb__SBThreadPlan, SWIG_POINTER_OWN | 0 ); @@ -76397,7 +78252,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_1(P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -76448,7 +78303,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "3"" of type '" "lldb::SBStructuredData &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); res4 = SWIG_ConvertPtr(swig_obj[3], &argp4, SWIGTYPE_p_lldb__SBError, 0 ); @@ -76456,7 +78311,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepScripted__SWIG_2(P SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "4"" of type '" "lldb::SBError &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "4"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBThreadPlan_QueueThreadPlanForStepScripted" "', argument " "4"" of type '" "lldb::SBError &""'"); } arg4 = reinterpret_cast< lldb::SBError * >(argp4); { @@ -76547,7 +78402,7 @@ SWIGINTERN PyObject *_wrap_SBThreadPlan_QueueThreadPlanForStepScripted(PyObject SWIGINTERN PyObject *SBThreadPlan_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBThreadPlan, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -76596,7 +78451,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_LoadTraceFromFile(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBTrace_LoadTraceFromFile" "', argument " "1"" of type '" "lldb::SBError &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "1"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "1"" of type '" "lldb::SBError &""'"); } arg1 = reinterpret_cast< lldb::SBError * >(argp1); res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBDebugger, 0 ); @@ -76604,7 +78459,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_LoadTraceFromFile(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "2"" of type '" "lldb::SBDebugger &""'"); } arg2 = reinterpret_cast< lldb::SBDebugger * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); @@ -76612,7 +78467,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_LoadTraceFromFile(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTrace_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_LoadTraceFromFile" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -76653,7 +78508,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_CreateNewCursor(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_CreateNewCursor" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_CreateNewCursor" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_CreateNewCursor" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBThread, 0 ); @@ -76661,7 +78516,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_CreateNewCursor(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTrace_CreateNewCursor" "', argument " "3"" of type '" "lldb::SBThread &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_CreateNewCursor" "', argument " "3"" of type '" "lldb::SBThread &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_CreateNewCursor" "', argument " "3"" of type '" "lldb::SBThread &""'"); } arg3 = reinterpret_cast< lldb::SBThread * >(argp3); { @@ -76704,7 +78559,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_SaveToDisk__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); @@ -76712,7 +78567,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_SaveToDisk__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); ecode4 = SWIG_AsVal_bool(swig_obj[3], &val4); @@ -76757,7 +78612,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_SaveToDisk__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBFileSpec, 0 | 0); @@ -76765,7 +78620,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_SaveToDisk__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_SaveToDisk" "', argument " "3"" of type '" "lldb::SBFileSpec const &""'"); } arg3 = reinterpret_cast< lldb::SBFileSpec * >(argp3); { @@ -76890,7 +78745,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_Start__SWIG_0(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBStructuredData const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBStructuredData const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBStructuredData const &""'"); } arg2 = reinterpret_cast< lldb::SBStructuredData * >(argp2); { @@ -76930,7 +78785,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_Start__SWIG_1(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } arg2 = reinterpret_cast< lldb::SBThread * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBStructuredData, 0 | 0); @@ -76938,7 +78793,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_Start__SWIG_1(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTrace_Start" "', argument " "3"" of type '" "lldb::SBStructuredData const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "3"" of type '" "lldb::SBStructuredData const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_Start" "', argument " "3"" of type '" "lldb::SBStructuredData const &""'"); } arg3 = reinterpret_cast< lldb::SBStructuredData * >(argp3); { @@ -77049,7 +78904,7 @@ SWIGINTERN PyObject *_wrap_SBTrace_Stop__SWIG_1(PyObject *self, Py_ssize_t nobjs SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTrace_Stop" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTrace_Stop" "', argument " "2"" of type '" "lldb::SBThread const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTrace_Stop" "', argument " "2"" of type '" "lldb::SBThread const &""'"); } arg2 = reinterpret_cast< lldb::SBThread * >(argp2); { @@ -77188,7 +79043,7 @@ SWIGINTERN PyObject *_wrap_delete_SBTrace(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBTrace_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTrace, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -77810,7 +79665,7 @@ SWIGINTERN PyObject *_wrap_delete_SBTraceCursor(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBTraceCursor_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTraceCursor, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -77852,7 +79707,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeMember__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeMember" "', argument " "1"" of type '" "lldb::SBTypeMember const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeMember" "', argument " "1"" of type '" "lldb::SBTypeMember const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeMember" "', argument " "1"" of type '" "lldb::SBTypeMember const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeMember * >(argp1); { @@ -78173,7 +80028,7 @@ SWIGINTERN PyObject *_wrap_SBTypeMember_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -78222,7 +80077,7 @@ SWIGINTERN PyObject *_wrap_SBTypeMember___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBTypeMember_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeMember, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -78264,7 +80119,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeMemberFunction__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeMemberFunction" "', argument " "1"" of type '" "lldb::SBTypeMemberFunction const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeMemberFunction" "', argument " "1"" of type '" "lldb::SBTypeMemberFunction const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeMemberFunction" "', argument " "1"" of type '" "lldb::SBTypeMemberFunction const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeMemberFunction * >(argp1); { @@ -78648,7 +80503,7 @@ SWIGINTERN PyObject *_wrap_SBTypeMemberFunction_GetDescription(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeMemberFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeMemberFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeMemberFunction_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -78697,7 +80552,7 @@ SWIGINTERN PyObject *_wrap_SBTypeMemberFunction___repr__(PyObject *self, PyObjec SWIGINTERN PyObject *SBTypeMemberFunction_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeMemberFunction, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -78739,7 +80594,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeStaticField__SWIG_1(PyObject *self, Py_ssiz SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeStaticField" "', argument " "1"" of type '" "lldb::SBTypeStaticField const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeStaticField" "', argument " "1"" of type '" "lldb::SBTypeStaticField const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeStaticField" "', argument " "1"" of type '" "lldb::SBTypeStaticField const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeStaticField * >(argp1); { @@ -78974,7 +80829,7 @@ SWIGINTERN PyObject *_wrap_SBTypeStaticField_GetConstantValue(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeStaticField_GetConstantValue" "', argument " "2"" of type '" "lldb::SBTarget""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeStaticField_GetConstantValue" "', argument " "2"" of type '" "lldb::SBTarget""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeStaticField_GetConstantValue" "', argument " "2"" of type '" "lldb::SBTarget""'"); } else { lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); arg2 = *temp; @@ -78983,7 +80838,7 @@ SWIGINTERN PyObject *_wrap_SBTypeStaticField_GetConstantValue(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetConstantValue(arg2); + result = (arg1)->GetConstantValue(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -78994,7 +80849,7 @@ SWIGINTERN PyObject *_wrap_SBTypeStaticField_GetConstantValue(PyObject *self, Py SWIGINTERN PyObject *SBTypeStaticField_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeStaticField, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -79036,7 +80891,7 @@ SWIGINTERN PyObject *_wrap_new_SBType__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBType" "', argument " "1"" of type '" "lldb::SBType const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBType" "', argument " "1"" of type '" "lldb::SBType const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBType" "', argument " "1"" of type '" "lldb::SBType const &""'"); } arg1 = reinterpret_cast< lldb::SBType * >(argp1); { @@ -80234,6 +82089,57 @@ SWIGINTERN PyObject *_wrap_SBType_GetTemplateArgumentType(PyObject *self, PyObje } +SWIGINTERN PyObject *_wrap_SBType_GetTemplateArgumentValue(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBType *arg1 = (lldb::SBType *) 0 ; + lldb::SBTarget arg2 ; + uint32_t arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + void *argp2 ; + int res2 = 0 ; + unsigned int val3 ; + int ecode3 = 0 ; + PyObject *swig_obj[3] ; + lldb::SBValue result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBType_GetTemplateArgumentValue", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBType, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBType_GetTemplateArgumentValue" "', argument " "1"" of type '" "lldb::SBType *""'"); + } + arg1 = reinterpret_cast< lldb::SBType * >(argp1); + { + res2 = SWIG_ConvertPtr(swig_obj[1], &argp2, SWIGTYPE_p_lldb__SBTarget, 0 | 0); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBType_GetTemplateArgumentValue" "', argument " "2"" of type '" "lldb::SBTarget""'"); + } + if (!argp2) { + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBType_GetTemplateArgumentValue" "', argument " "2"" of type '" "lldb::SBTarget""'"); + } else { + lldb::SBTarget * temp = reinterpret_cast< lldb::SBTarget * >(argp2); + arg2 = *temp; + if (SWIG_IsNewObj(res2)) delete temp; + } + } + ecode3 = SWIG_AsVal_unsigned_SS_int(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBType_GetTemplateArgumentValue" "', argument " "3"" of type '" "uint32_t""'"); + } + arg3 = static_cast< uint32_t >(val3); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->GetTemplateArgumentValue(SWIG_STD_MOVE(arg2),arg3); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBType_GetTemplateArgumentKind(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBType *arg1 = (lldb::SBType *) 0 ; @@ -80582,7 +82488,7 @@ SWIGINTERN PyObject *_wrap_SBType_GetDescription(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBType_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBType_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBType_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -80663,7 +82569,7 @@ SWIGINTERN PyObject *_wrap_SBType___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBType___eq__" "', argument " "2"" of type '" "lldb::SBType &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBType___eq__" "', argument " "2"" of type '" "lldb::SBType &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBType___eq__" "', argument " "2"" of type '" "lldb::SBType &""'"); } arg2 = reinterpret_cast< lldb::SBType * >(argp2); { @@ -80678,7 +82584,7 @@ SWIGINTERN PyObject *_wrap_SBType___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -80706,7 +82612,7 @@ SWIGINTERN PyObject *_wrap_SBType___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBType___ne__" "', argument " "2"" of type '" "lldb::SBType &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBType___ne__" "', argument " "2"" of type '" "lldb::SBType &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBType___ne__" "', argument " "2"" of type '" "lldb::SBType &""'"); } arg2 = reinterpret_cast< lldb::SBType * >(argp2); { @@ -80721,7 +82627,7 @@ SWIGINTERN PyObject *_wrap_SBType___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -80755,7 +82661,7 @@ SWIGINTERN PyObject *_wrap_SBType___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBType_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBType, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -80797,7 +82703,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeList__SWIG_1(PyObject *self, Py_ssize_t nob SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeList" "', argument " "1"" of type '" "lldb::SBTypeList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeList" "', argument " "1"" of type '" "lldb::SBTypeList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeList" "', argument " "1"" of type '" "lldb::SBTypeList const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeList * >(argp1); { @@ -80947,7 +82853,7 @@ SWIGINTERN PyObject *_wrap_SBTypeList_Append(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeList_Append" "', argument " "2"" of type '" "lldb::SBType""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeList_Append" "', argument " "2"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeList_Append" "', argument " "2"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp2); arg2 = *temp; @@ -80956,7 +82862,7 @@ SWIGINTERN PyObject *_wrap_SBTypeList_Append(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Append(arg2); + (arg1)->Append(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -81030,7 +82936,7 @@ SWIGINTERN PyObject *_wrap_SBTypeList_GetSize(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBTypeList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -81072,7 +82978,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeCategory__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeCategory" "', argument " "1"" of type '" "lldb::SBTypeCategory const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeCategory" "', argument " "1"" of type '" "lldb::SBTypeCategory const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeCategory" "', argument " "1"" of type '" "lldb::SBTypeCategory const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeCategory * >(argp1); { @@ -81412,7 +83318,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetDescription(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -81708,7 +83614,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetFilterForType(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_GetFilterForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -81717,7 +83623,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetFilterForType(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetFilterForType(arg2); + result = (arg1)->GetFilterForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeFilter(result)), SWIGTYPE_p_lldb__SBTypeFilter, SWIG_POINTER_OWN | 0 ); @@ -81751,7 +83657,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetFormatForType(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_GetFormatForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -81760,7 +83666,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetFormatForType(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetFormatForType(arg2); + result = (arg1)->GetFormatForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeFormat(result)), SWIGTYPE_p_lldb__SBTypeFormat, SWIG_POINTER_OWN | 0 ); @@ -81794,7 +83700,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetSummaryForType(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_GetSummaryForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -81803,7 +83709,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetSummaryForType(PyObject *self, PyOb } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSummaryForType(arg2); + result = (arg1)->GetSummaryForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeSummary(result)), SWIGTYPE_p_lldb__SBTypeSummary, SWIG_POINTER_OWN | 0 ); @@ -81837,7 +83743,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetSyntheticForType(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_GetSyntheticForType" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -81846,7 +83752,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_GetSyntheticForType(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->GetSyntheticForType(arg2); + result = (arg1)->GetSyntheticForType(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBTypeSynthetic(result)), SWIGTYPE_p_lldb__SBTypeSynthetic, SWIG_POINTER_OWN | 0 ); @@ -82023,7 +83929,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFormat(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82036,7 +83942,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFormat(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "3"" of type '" "lldb::SBTypeFormat""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "3"" of type '" "lldb::SBTypeFormat""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFormat" "', argument " "3"" of type '" "lldb::SBTypeFormat""'"); } else { lldb::SBTypeFormat * temp = reinterpret_cast< lldb::SBTypeFormat * >(argp3); arg3 = *temp; @@ -82045,7 +83951,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFormat(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->AddTypeFormat(arg2,arg3); + result = (bool)(arg1)->AddTypeFormat(SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82079,7 +83985,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeFormat(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_DeleteTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeFormat" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82088,7 +83994,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeFormat(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->DeleteTypeFormat(arg2); + result = (bool)(arg1)->DeleteTypeFormat(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82125,7 +84031,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSummary(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82138,7 +84044,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSummary(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "3"" of type '" "lldb::SBTypeSummary""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "3"" of type '" "lldb::SBTypeSummary""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSummary" "', argument " "3"" of type '" "lldb::SBTypeSummary""'"); } else { lldb::SBTypeSummary * temp = reinterpret_cast< lldb::SBTypeSummary * >(argp3); arg3 = *temp; @@ -82147,7 +84053,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSummary(PyObject *self, PyObjec } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->AddTypeSummary(arg2,arg3); + result = (bool)(arg1)->AddTypeSummary(SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82181,7 +84087,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeSummary(PyObject *self, PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_DeleteTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeSummary" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82190,7 +84096,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeSummary(PyObject *self, PyOb } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->DeleteTypeSummary(arg2); + result = (bool)(arg1)->DeleteTypeSummary(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82227,7 +84133,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFilter(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82240,7 +84146,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFilter(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "3"" of type '" "lldb::SBTypeFilter""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "3"" of type '" "lldb::SBTypeFilter""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeFilter" "', argument " "3"" of type '" "lldb::SBTypeFilter""'"); } else { lldb::SBTypeFilter * temp = reinterpret_cast< lldb::SBTypeFilter * >(argp3); arg3 = *temp; @@ -82249,7 +84155,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeFilter(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->AddTypeFilter(arg2,arg3); + result = (bool)(arg1)->AddTypeFilter(SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82283,7 +84189,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeFilter(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_DeleteTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeFilter" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82292,7 +84198,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeFilter(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->DeleteTypeFilter(arg2); + result = (bool)(arg1)->DeleteTypeFilter(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82329,7 +84235,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSynthetic(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82342,7 +84248,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSynthetic(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "3"" of type '" "lldb::SBTypeSynthetic""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "3"" of type '" "lldb::SBTypeSynthetic""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_AddTypeSynthetic" "', argument " "3"" of type '" "lldb::SBTypeSynthetic""'"); } else { lldb::SBTypeSynthetic * temp = reinterpret_cast< lldb::SBTypeSynthetic * >(argp3); arg3 = *temp; @@ -82351,7 +84257,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_AddTypeSynthetic(PyObject *self, PyObj } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->AddTypeSynthetic(arg2,arg3); + result = (bool)(arg1)->AddTypeSynthetic(SWIG_STD_MOVE(arg2),SWIG_STD_MOVE(arg3)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82385,7 +84291,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeSynthetic(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory_DeleteTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory_DeleteTypeSynthetic" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier""'"); } else { lldb::SBTypeNameSpecifier * temp = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); arg2 = *temp; @@ -82394,7 +84300,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory_DeleteTypeSynthetic(PyObject *self, Py } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->DeleteTypeSynthetic(arg2); + result = (bool)(arg1)->DeleteTypeSynthetic(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -82427,7 +84333,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory___eq__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory___eq__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory___eq__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); } arg2 = reinterpret_cast< lldb::SBTypeCategory * >(argp2); { @@ -82442,7 +84348,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -82470,7 +84376,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeCategory___ne__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeCategory___ne__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeCategory___ne__" "', argument " "2"" of type '" "lldb::SBTypeCategory &""'"); } arg2 = reinterpret_cast< lldb::SBTypeCategory * >(argp2); { @@ -82485,7 +84391,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -82519,7 +84425,7 @@ SWIGINTERN PyObject *_wrap_SBTypeCategory___repr__(PyObject *self, PyObject *arg SWIGINTERN PyObject *SBTypeCategory_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeCategory, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -82561,7 +84467,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeEnumMember__SWIG_1(PyObject *self, Py_ssize SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeEnumMember" "', argument " "1"" of type '" "lldb::SBTypeEnumMember const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeEnumMember" "', argument " "1"" of type '" "lldb::SBTypeEnumMember const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeEnumMember" "', argument " "1"" of type '" "lldb::SBTypeEnumMember const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeEnumMember * >(argp1); { @@ -82826,7 +84732,7 @@ SWIGINTERN PyObject *_wrap_SBTypeEnumMember_GetDescription(PyObject *self, PyObj SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeEnumMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeEnumMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeEnumMember_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -82875,7 +84781,7 @@ SWIGINTERN PyObject *_wrap_SBTypeEnumMember___repr__(PyObject *self, PyObject *a SWIGINTERN PyObject *SBTypeEnumMember_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeEnumMember, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -82917,7 +84823,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeEnumMemberList__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeEnumMemberList" "', argument " "1"" of type '" "lldb::SBTypeEnumMemberList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeEnumMemberList" "', argument " "1"" of type '" "lldb::SBTypeEnumMemberList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeEnumMemberList" "', argument " "1"" of type '" "lldb::SBTypeEnumMemberList const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeEnumMemberList * >(argp1); { @@ -83067,7 +84973,7 @@ SWIGINTERN PyObject *_wrap_SBTypeEnumMemberList_Append(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeEnumMemberList_Append" "', argument " "2"" of type '" "lldb::SBTypeEnumMember""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeEnumMemberList_Append" "', argument " "2"" of type '" "lldb::SBTypeEnumMember""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeEnumMemberList_Append" "', argument " "2"" of type '" "lldb::SBTypeEnumMember""'"); } else { lldb::SBTypeEnumMember * temp = reinterpret_cast< lldb::SBTypeEnumMember * >(argp2); arg2 = *temp; @@ -83076,7 +84982,7 @@ SWIGINTERN PyObject *_wrap_SBTypeEnumMemberList_Append(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - (arg1)->Append(arg2); + (arg1)->Append(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_Py_Void(); @@ -83150,7 +85056,7 @@ SWIGINTERN PyObject *_wrap_SBTypeEnumMemberList_GetSize(PyObject *self, PyObject SWIGINTERN PyObject *SBTypeEnumMemberList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeEnumMemberList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -83218,7 +85124,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeFilter__SWIG_2(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeFilter" "', argument " "1"" of type '" "lldb::SBTypeFilter const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeFilter" "', argument " "1"" of type '" "lldb::SBTypeFilter const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeFilter" "', argument " "1"" of type '" "lldb::SBTypeFilter const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeFilter * >(argp1); { @@ -83617,7 +85523,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFilter_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFilter_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFilter_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -83660,7 +85566,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter_IsEqualTo(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFilter_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFilter_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFilter_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFilter * >(argp2); { @@ -83698,7 +85604,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFilter___eq__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFilter___eq__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFilter___eq__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFilter * >(argp2); { @@ -83713,7 +85619,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -83741,7 +85647,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFilter___ne__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFilter___ne__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFilter___ne__" "', argument " "2"" of type '" "lldb::SBTypeFilter &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFilter * >(argp2); { @@ -83756,7 +85662,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -83790,7 +85696,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFilter___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBTypeFilter_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeFilter, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -83958,7 +85864,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeFormat__SWIG_5(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeFormat" "', argument " "1"" of type '" "lldb::SBTypeFormat const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeFormat" "', argument " "1"" of type '" "lldb::SBTypeFormat const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeFormat" "', argument " "1"" of type '" "lldb::SBTypeFormat const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeFormat * >(argp1); { @@ -84352,7 +86258,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFormat_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFormat_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFormat_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -84395,7 +86301,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat_IsEqualTo(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFormat_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFormat_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFormat_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFormat * >(argp2); { @@ -84433,7 +86339,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFormat___eq__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFormat___eq__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFormat___eq__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFormat * >(argp2); { @@ -84448,7 +86354,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -84476,7 +86382,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeFormat___ne__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeFormat___ne__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeFormat___ne__" "', argument " "2"" of type '" "lldb::SBTypeFormat &""'"); } arg2 = reinterpret_cast< lldb::SBTypeFormat * >(argp2); { @@ -84491,7 +86397,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -84525,7 +86431,7 @@ SWIGINTERN PyObject *_wrap_SBTypeFormat___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBTypeFormat_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeFormat, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -84671,7 +86577,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeNameSpecifier__SWIG_4(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBType""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp1); arg1 = *temp; @@ -84680,7 +86586,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeNameSpecifier__SWIG_4(PyObject *self, Py_ss } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(arg1); + result = (lldb::SBTypeNameSpecifier *)new lldb::SBTypeNameSpecifier(SWIG_STD_MOVE(arg1)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_lldb__SBTypeNameSpecifier, SWIG_POINTER_NEW | 0 ); @@ -84704,7 +86610,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeNameSpecifier__SWIG_5(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBTypeNameSpecifier const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBTypeNameSpecifier const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeNameSpecifier" "', argument " "1"" of type '" "lldb::SBTypeNameSpecifier const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp1); { @@ -85017,7 +86923,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier_GetDescription(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeNameSpecifier_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeNameSpecifier_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeNameSpecifier_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -85060,7 +86966,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier_IsEqualTo(PyObject *self, PyObjec SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeNameSpecifier_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeNameSpecifier_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeNameSpecifier_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } arg2 = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); { @@ -85098,7 +87004,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier___eq__(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeNameSpecifier___eq__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeNameSpecifier___eq__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeNameSpecifier___eq__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } arg2 = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); { @@ -85113,7 +87019,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier___eq__(PyObject *self, PyObject * return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -85141,7 +87047,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier___ne__(PyObject *self, PyObject * SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeNameSpecifier___ne__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeNameSpecifier___ne__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeNameSpecifier___ne__" "', argument " "2"" of type '" "lldb::SBTypeNameSpecifier &""'"); } arg2 = reinterpret_cast< lldb::SBTypeNameSpecifier * >(argp2); { @@ -85156,7 +87062,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier___ne__(PyObject *self, PyObject * return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -85190,7 +87096,7 @@ SWIGINTERN PyObject *_wrap_SBTypeNameSpecifier___repr__(PyObject *self, PyObject SWIGINTERN PyObject *SBTypeNameSpecifier_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeNameSpecifier, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -85232,7 +87138,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeSummaryOptions__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeSummaryOptions" "', argument " "1"" of type '" "lldb::SBTypeSummaryOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeSummaryOptions" "', argument " "1"" of type '" "lldb::SBTypeSummaryOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeSummaryOptions" "', argument " "1"" of type '" "lldb::SBTypeSummaryOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeSummaryOptions * >(argp1); { @@ -85484,7 +87390,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummaryOptions_SetCapping(PyObject *self, PyObj SWIGINTERN PyObject *SBTypeSummaryOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeSummaryOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -85844,7 +87750,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeSummary__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeSummary" "', argument " "1"" of type '" "lldb::SBTypeSummary const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeSummary" "', argument " "1"" of type '" "lldb::SBTypeSummary const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeSummary" "', argument " "1"" of type '" "lldb::SBTypeSummary const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeSummary * >(argp1); { @@ -86282,7 +88188,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSummary_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSummary_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSummary_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -86326,7 +88232,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary_DoesPrintValue(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSummary_DoesPrintValue" "', argument " "2"" of type '" "lldb::SBValue""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSummary_DoesPrintValue" "', argument " "2"" of type '" "lldb::SBValue""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSummary_DoesPrintValue" "', argument " "2"" of type '" "lldb::SBValue""'"); } else { lldb::SBValue * temp = reinterpret_cast< lldb::SBValue * >(argp2); arg2 = *temp; @@ -86335,7 +88241,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary_DoesPrintValue(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (bool)(arg1)->DoesPrintValue(arg2); + result = (bool)(arg1)->DoesPrintValue(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_From_bool(static_cast< bool >(result)); @@ -86368,7 +88274,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary_IsEqualTo(PyObject *self, PyObject *arg SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSummary_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSummary_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSummary_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSummary * >(argp2); { @@ -86406,7 +88312,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary___eq__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSummary___eq__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSummary___eq__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSummary___eq__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSummary * >(argp2); { @@ -86421,7 +88327,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary___eq__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -86449,7 +88355,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary___ne__(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSummary___ne__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSummary___ne__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSummary___ne__" "', argument " "2"" of type '" "lldb::SBTypeSummary &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSummary * >(argp2); { @@ -86464,7 +88370,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary___ne__(PyObject *self, PyObject *args) return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -86498,7 +88404,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSummary___repr__(PyObject *self, PyObject *args SWIGINTERN PyObject *SBTypeSummary_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeSummary, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -86752,7 +88658,7 @@ SWIGINTERN PyObject *_wrap_new_SBTypeSynthetic__SWIG_1(PyObject *self, Py_ssize_ SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBTypeSynthetic" "', argument " "1"" of type '" "lldb::SBTypeSynthetic const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBTypeSynthetic" "', argument " "1"" of type '" "lldb::SBTypeSynthetic const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBTypeSynthetic" "', argument " "1"" of type '" "lldb::SBTypeSynthetic const &""'"); } arg1 = reinterpret_cast< lldb::SBTypeSynthetic * >(argp1); { @@ -87125,7 +89031,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic_GetDescription(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSynthetic_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSynthetic_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSynthetic_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -87168,7 +89074,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic_IsEqualTo(PyObject *self, PyObject *a SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSynthetic_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSynthetic_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSynthetic_IsEqualTo" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSynthetic * >(argp2); { @@ -87206,7 +89112,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic___eq__(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSynthetic___eq__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSynthetic___eq__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSynthetic___eq__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSynthetic * >(argp2); { @@ -87221,7 +89127,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic___eq__(PyObject *self, PyObject *args return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -87249,7 +89155,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic___ne__(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBTypeSynthetic___ne__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBTypeSynthetic___ne__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBTypeSynthetic___ne__" "', argument " "2"" of type '" "lldb::SBTypeSynthetic &""'"); } arg2 = reinterpret_cast< lldb::SBTypeSynthetic * >(argp2); { @@ -87264,7 +89170,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic___ne__(PyObject *self, PyObject *args return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -87298,7 +89204,7 @@ SWIGINTERN PyObject *_wrap_SBTypeSynthetic___repr__(PyObject *self, PyObject *ar SWIGINTERN PyObject *SBTypeSynthetic_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBTypeSynthetic, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -87340,7 +89246,7 @@ SWIGINTERN PyObject *_wrap_new_SBUnixSignals__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBUnixSignals" "', argument " "1"" of type '" "lldb::SBUnixSignals const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBUnixSignals" "', argument " "1"" of type '" "lldb::SBUnixSignals const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBUnixSignals" "', argument " "1"" of type '" "lldb::SBUnixSignals const &""'"); } arg1 = reinterpret_cast< lldb::SBUnixSignals * >(argp1); { @@ -87865,7 +89771,7 @@ SWIGINTERN PyObject *_wrap_SBUnixSignals_GetSignalAtIndex(PyObject *self, PyObje SWIGINTERN PyObject *SBUnixSignals_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBUnixSignals, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -87907,7 +89813,7 @@ SWIGINTERN PyObject *_wrap_new_SBValue__SWIG_1(PyObject *self, Py_ssize_t nobjs, SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBValue" "', argument " "1"" of type '" "lldb::SBValue const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBValue" "', argument " "1"" of type '" "lldb::SBValue const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBValue" "', argument " "1"" of type '" "lldb::SBValue const &""'"); } arg1 = reinterpret_cast< lldb::SBValue * >(argp1); { @@ -88372,7 +90278,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetValueAsSigned__SWIG_0(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_long_SS_long(swig_obj[2], &val3); @@ -88414,7 +90320,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetValueAsSigned__SWIG_1(PyObject *self, Py_s SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetValueAsSigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -88454,7 +90360,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetValueAsUnsigned__SWIG_0(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); ecode3 = SWIG_AsVal_unsigned_SS_long_SS_long(swig_obj[2], &val3); @@ -88496,7 +90402,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetValueAsUnsigned__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetValueAsUnsigned" "', argument " "2"" of type '" "lldb::SBError &""'"); } arg2 = reinterpret_cast< lldb::SBError * >(argp2); { @@ -88922,7 +90828,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetSummary__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetSummary" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetSummary" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetSummary" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBTypeSummaryOptions, 0 ); @@ -88930,7 +90836,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetSummary__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_GetSummary" "', argument " "3"" of type '" "lldb::SBTypeSummaryOptions &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetSummary" "', argument " "3"" of type '" "lldb::SBTypeSummaryOptions &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetSummary" "', argument " "3"" of type '" "lldb::SBTypeSummaryOptions &""'"); } arg3 = reinterpret_cast< lldb::SBTypeSummaryOptions * >(argp3); { @@ -89110,6 +91016,34 @@ SWIGINTERN PyObject *_wrap_SBValue_GetNonSyntheticValue(PyObject *self, PyObject } +SWIGINTERN PyObject *_wrap_SBValue_GetSyntheticValue(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + void *argp1 = 0 ; + int res1 = 0 ; + PyObject *swig_obj[1] ; + lldb::SBValue result; + + (void)self; + if (!args) SWIG_fail; + swig_obj[0] = args; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBValue, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBValue_GetSyntheticValue" "', argument " "1"" of type '" "lldb::SBValue *""'"); + } + arg1 = reinterpret_cast< lldb::SBValue * >(argp1); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->GetSyntheticValue(); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); + return resultobj; +fail: + return NULL; +} + + SWIGINTERN PyObject *_wrap_SBValue_GetPreferDynamicValue(PyObject *self, PyObject *args) { PyObject *resultobj = 0; lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; @@ -89448,7 +91382,7 @@ SWIGINTERN PyObject *_wrap_SBValue_SetValueFromCString__SWIG_1(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_SetValueFromCString" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_SetValueFromCString" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_SetValueFromCString" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -89701,7 +91635,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateChildAtOffset(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBValue_CreateChildAtOffset" "', argument " "4"" of type '" "lldb::SBType""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_CreateChildAtOffset" "', argument " "4"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_CreateChildAtOffset" "', argument " "4"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp4); arg4 = *temp; @@ -89710,7 +91644,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateChildAtOffset(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->CreateChildAtOffset((char const *)arg2,arg3,arg4); + result = (arg1)->CreateChildAtOffset((char const *)arg2,arg3,SWIG_STD_MOVE(arg4)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -89746,7 +91680,7 @@ SWIGINTERN PyObject *_wrap_SBValue_Cast(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_Cast" "', argument " "2"" of type '" "lldb::SBType""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_Cast" "', argument " "2"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_Cast" "', argument " "2"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp2); arg2 = *temp; @@ -89755,7 +91689,7 @@ SWIGINTERN PyObject *_wrap_SBValue_Cast(PyObject *self, PyObject *args) { } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->Cast(arg2); + result = (arg1)->Cast(SWIG_STD_MOVE(arg2)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -89853,7 +91787,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromExpression__SWIG_1(PyObject *s SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBValue_CreateValueFromExpression" "', argument " "4"" of type '" "lldb::SBExpressionOptions &""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_CreateValueFromExpression" "', argument " "4"" of type '" "lldb::SBExpressionOptions &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_CreateValueFromExpression" "', argument " "4"" of type '" "lldb::SBExpressionOptions &""'"); } arg4 = reinterpret_cast< lldb::SBExpressionOptions * >(argp4); { @@ -89970,7 +91904,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromAddress(PyObject *self, PyObje SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBValue_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_CreateValueFromAddress" "', argument " "4"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp4); arg4 = *temp; @@ -89979,7 +91913,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromAddress(PyObject *self, PyObje } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,arg4); + result = (arg1)->CreateValueFromAddress((char const *)arg2,arg3,SWIG_STD_MOVE(arg4)); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -90027,7 +91961,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromData(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_CreateValueFromData" "', argument " "3"" of type '" "lldb::SBData""'"); } else { lldb::SBData * temp = reinterpret_cast< lldb::SBData * >(argp3); arg3 = *temp; @@ -90040,7 +91974,7 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromData(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res4), "in method '" "SBValue_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); } if (!argp4) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_CreateValueFromData" "', argument " "4"" of type '" "lldb::SBType""'"); } else { lldb::SBType * temp = reinterpret_cast< lldb::SBType * >(argp4); arg4 = *temp; @@ -90049,7 +91983,53 @@ SWIGINTERN PyObject *_wrap_SBValue_CreateValueFromData(PyObject *self, PyObject } { SWIG_PYTHON_THREAD_BEGIN_ALLOW; - result = (arg1)->CreateValueFromData((char const *)arg2,arg3,arg4); + result = (arg1)->CreateValueFromData((char const *)arg2,SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4)); + SWIG_PYTHON_THREAD_END_ALLOW; + } + resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return resultobj; +fail: + if (alloc2 == SWIG_NEWOBJ) delete[] buf2; + return NULL; +} + + +SWIGINTERN PyObject *_wrap_SBValue_CreateBoolValue(PyObject *self, PyObject *args) { + PyObject *resultobj = 0; + lldb::SBValue *arg1 = (lldb::SBValue *) 0 ; + char *arg2 = (char *) 0 ; + bool arg3 ; + void *argp1 = 0 ; + int res1 = 0 ; + int res2 ; + char *buf2 = 0 ; + int alloc2 = 0 ; + bool val3 ; + int ecode3 = 0 ; + PyObject *swig_obj[3] ; + lldb::SBValue result; + + (void)self; + if (!SWIG_Python_UnpackTuple(args, "SBValue_CreateBoolValue", 3, 3, swig_obj)) SWIG_fail; + res1 = SWIG_ConvertPtr(swig_obj[0], &argp1,SWIGTYPE_p_lldb__SBValue, 0 | 0 ); + if (!SWIG_IsOK(res1)) { + SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBValue_CreateBoolValue" "', argument " "1"" of type '" "lldb::SBValue *""'"); + } + arg1 = reinterpret_cast< lldb::SBValue * >(argp1); + res2 = SWIG_AsCharPtrAndSize(swig_obj[1], &buf2, NULL, &alloc2); + if (!SWIG_IsOK(res2)) { + SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_CreateBoolValue" "', argument " "2"" of type '" "char const *""'"); + } + arg2 = reinterpret_cast< char * >(buf2); + ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); + if (!SWIG_IsOK(ecode3)) { + SWIG_exception_fail(SWIG_ArgError(ecode3), "in method '" "SBValue_CreateBoolValue" "', argument " "3"" of type '" "bool""'"); + } + arg3 = static_cast< bool >(val3); + { + SWIG_PYTHON_THREAD_BEGIN_ALLOW; + result = (arg1)->CreateBoolValue((char const *)arg2,arg3); SWIG_PYTHON_THREAD_END_ALLOW; } resultobj = SWIG_NewPointerObj((new lldb::SBValue(result)), SWIGTYPE_p_lldb__SBValue, SWIG_POINTER_OWN | 0 ); @@ -90683,7 +92663,7 @@ SWIGINTERN PyObject *_wrap_SBValue_SetData(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_SetData" "', argument " "2"" of type '" "lldb::SBData &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_SetData" "', argument " "2"" of type '" "lldb::SBData &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_SetData" "', argument " "2"" of type '" "lldb::SBData &""'"); } arg2 = reinterpret_cast< lldb::SBData * >(argp2); res3 = SWIG_ConvertPtr(swig_obj[2], &argp3, SWIGTYPE_p_lldb__SBError, 0 ); @@ -90691,7 +92671,7 @@ SWIGINTERN PyObject *_wrap_SBValue_SetData(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_SetData" "', argument " "3"" of type '" "lldb::SBError &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_SetData" "', argument " "3"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_SetData" "', argument " "3"" of type '" "lldb::SBError &""'"); } arg3 = reinterpret_cast< lldb::SBError * >(argp3); { @@ -91205,7 +93185,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetDescription(PyObject *self, PyObject *args SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -91242,7 +93222,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetExpressionPath__SWIG_0(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); { @@ -91282,7 +93262,7 @@ SWIGINTERN PyObject *_wrap_SBValue_GetExpressionPath__SWIG_1(PyObject *self, Py_ SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_GetExpressionPath" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_bool(swig_obj[2], &val3); @@ -91422,7 +93402,7 @@ SWIGINTERN PyObject *_wrap_SBValue_EvaluateExpression__SWIG_1(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } arg3 = reinterpret_cast< lldb::SBExpressionOptions * >(argp3); { @@ -91474,7 +93454,7 @@ SWIGINTERN PyObject *_wrap_SBValue_EvaluateExpression__SWIG_2(PyObject *self, Py SWIG_exception_fail(SWIG_ArgError(res3), "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } if (!argp3) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_EvaluateExpression" "', argument " "3"" of type '" "lldb::SBExpressionOptions const &""'"); } arg3 = reinterpret_cast< lldb::SBExpressionOptions * >(argp3); res4 = SWIG_AsCharPtrAndSize(swig_obj[3], &buf4, NULL, &alloc4); @@ -91614,7 +93594,7 @@ SWIGINTERN PyObject *_wrap_SBValue_Watch__SWIG_0(PyObject *self, Py_ssize_t nobj SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBValue_Watch" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_Watch" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_Watch" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -91803,7 +93783,7 @@ SWIGINTERN PyObject *_wrap_SBValue_WatchPointee(PyObject *self, PyObject *args) SWIG_exception_fail(SWIG_ArgError(res5), "in method '" "SBValue_WatchPointee" "', argument " "5"" of type '" "lldb::SBError &""'"); } if (!argp5) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValue_WatchPointee" "', argument " "5"" of type '" "lldb::SBError &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValue_WatchPointee" "', argument " "5"" of type '" "lldb::SBError &""'"); } arg5 = reinterpret_cast< lldb::SBError * >(argp5); { @@ -91875,7 +93855,7 @@ SWIGINTERN PyObject *_wrap_SBValue___repr__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBValue_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBValue, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -91917,7 +93897,7 @@ SWIGINTERN PyObject *_wrap_new_SBValueList__SWIG_1(PyObject *self, Py_ssize_t no SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBValueList" "', argument " "1"" of type '" "lldb::SBValueList const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBValueList" "', argument " "1"" of type '" "lldb::SBValueList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBValueList" "', argument " "1"" of type '" "lldb::SBValueList const &""'"); } arg1 = reinterpret_cast< lldb::SBValueList * >(argp1); { @@ -92092,7 +94072,7 @@ SWIGINTERN PyObject *_wrap_SBValueList_Append__SWIG_0(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValue const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValue const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValue const &""'"); } arg2 = reinterpret_cast< lldb::SBValue * >(argp2); { @@ -92128,7 +94108,7 @@ SWIGINTERN PyObject *_wrap_SBValueList_Append__SWIG_1(PyObject *self, Py_ssize_t SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValueList const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValueList const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBValueList_Append" "', argument " "2"" of type '" "lldb::SBValueList const &""'"); } arg2 = reinterpret_cast< lldb::SBValueList * >(argp2); { @@ -92376,7 +94356,7 @@ SWIGINTERN PyObject *_wrap_SBValueList___str__(PyObject *self, PyObject *args) { SWIGINTERN PyObject *SBValueList_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBValueList, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -92418,7 +94398,7 @@ SWIGINTERN PyObject *_wrap_new_SBVariablesOptions__SWIG_1(PyObject *self, Py_ssi SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBVariablesOptions" "', argument " "1"" of type '" "lldb::SBVariablesOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBVariablesOptions" "', argument " "1"" of type '" "lldb::SBVariablesOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBVariablesOptions" "', argument " "1"" of type '" "lldb::SBVariablesOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBVariablesOptions * >(argp1); { @@ -92630,7 +94610,7 @@ SWIGINTERN PyObject *_wrap_SBVariablesOptions_GetIncludeRecognizedArguments(PyOb SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBVariablesOptions_GetIncludeRecognizedArguments" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBVariablesOptions_GetIncludeRecognizedArguments" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBVariablesOptions_GetIncludeRecognizedArguments" "', argument " "2"" of type '" "lldb::SBTarget const &""'"); } arg2 = reinterpret_cast< lldb::SBTarget * >(argp2); { @@ -92990,7 +94970,7 @@ SWIGINTERN PyObject *_wrap_SBVariablesOptions_SetUseDynamic(PyObject *self, PyOb SWIGINTERN PyObject *SBVariablesOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBVariablesOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -93032,7 +95012,7 @@ SWIGINTERN PyObject *_wrap_new_SBWatchpoint__SWIG_1(PyObject *self, Py_ssize_t n SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBWatchpoint" "', argument " "1"" of type '" "lldb::SBWatchpoint const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBWatchpoint" "', argument " "1"" of type '" "lldb::SBWatchpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBWatchpoint" "', argument " "1"" of type '" "lldb::SBWatchpoint const &""'"); } arg1 = reinterpret_cast< lldb::SBWatchpoint * >(argp1); { @@ -93154,7 +95134,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint___eq__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBWatchpoint___eq__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint___eq__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint___eq__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBWatchpoint * >(argp2); { @@ -93169,7 +95149,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint___eq__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -93197,7 +95177,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint___ne__(PyObject *self, PyObject *args) { SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBWatchpoint___ne__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint___ne__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint___ne__" "', argument " "2"" of type '" "lldb::SBWatchpoint const &""'"); } arg2 = reinterpret_cast< lldb::SBWatchpoint * >(argp2); { @@ -93212,7 +95192,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint___ne__(PyObject *self, PyObject *args) { return NULL; } PyErr_Clear(); - Py_INCREF(Py_NotImplemented); + SWIG_Py_INCREF(Py_NotImplemented); return Py_NotImplemented; } @@ -93628,7 +95608,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint_GetDescription(PyObject *self, PyObject SWIG_exception_fail(SWIG_ArgError(res2), "in method '" "SBWatchpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } if (!argp2) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint_GetDescription" "', argument " "2"" of type '" "lldb::SBStream &""'"); } arg2 = reinterpret_cast< lldb::SBStream * >(argp2); ecode3 = SWIG_AsVal_int(swig_obj[2], &val3); @@ -93691,7 +95671,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint_EventIsWatchpointEvent(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBWatchpoint_EventIsWatchpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint_EventIsWatchpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint_EventIsWatchpointEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -93722,7 +95702,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint_GetWatchpointEventTypeFromEvent(PyObject SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBWatchpoint_GetWatchpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint_GetWatchpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint_GetWatchpointEventTypeFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -93753,7 +95733,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint_GetWatchpointFromEvent(PyObject *self, P SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "SBWatchpoint_GetWatchpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "SBWatchpoint_GetWatchpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "SBWatchpoint_GetWatchpointFromEvent" "', argument " "1"" of type '" "lldb::SBEvent const &""'"); } arg1 = reinterpret_cast< lldb::SBEvent * >(argp1); { @@ -93937,7 +95917,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpoint___repr__(PyObject *self, PyObject *args) SWIGINTERN PyObject *SBWatchpoint_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBWatchpoint, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -93979,7 +95959,7 @@ SWIGINTERN PyObject *_wrap_new_SBWatchpointOptions__SWIG_1(PyObject *self, Py_ss SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "new_SBWatchpointOptions" "', argument " "1"" of type '" "lldb::SBWatchpointOptions const &""'"); } if (!argp1) { - SWIG_exception_fail(SWIG_ValueError, "invalid null reference " "in method '" "new_SBWatchpointOptions" "', argument " "1"" of type '" "lldb::SBWatchpointOptions const &""'"); + SWIG_exception_fail(SWIG_NullReferenceError, "invalid null reference " "in method '" "new_SBWatchpointOptions" "', argument " "1"" of type '" "lldb::SBWatchpointOptions const &""'"); } arg1 = reinterpret_cast< lldb::SBWatchpointOptions * >(argp1); { @@ -94175,7 +96155,7 @@ SWIGINTERN PyObject *_wrap_SBWatchpointOptions_GetWatchpointTypeWrite(PyObject * SWIGINTERN PyObject *SBWatchpointOptions_swigregister(PyObject *SWIGUNUSEDPARM(self), PyObject *args) { - PyObject *obj; + PyObject *obj = NULL; if (!SWIG_Python_UnpackTuple(args, "swigregister", 1, 1, &obj)) return NULL; SWIG_TypeNewClientData(SWIGTYPE_p_lldb__SBWatchpointOptions, SWIG_NewClientData(obj)); return SWIG_Py_Void(); @@ -94648,6 +96628,7 @@ static PyMethodDef SwigMethods[] = { { "SBCommandInterpreter_HandleCompletionWithDescriptions", _wrap_SBCommandInterpreter_HandleCompletionWithDescriptions, METH_VARARGS, "SBCommandInterpreter_HandleCompletionWithDescriptions(SBCommandInterpreter self, char const * current_line, uint32_t cursor_pos, int match_start_point, int max_return_elements, SBStringList matches, SBStringList descriptions) -> int"}, { "SBCommandInterpreter_WasInterrupted", _wrap_SBCommandInterpreter_WasInterrupted, METH_O, "SBCommandInterpreter_WasInterrupted(SBCommandInterpreter self) -> bool"}, { "SBCommandInterpreter_InterruptCommand", _wrap_SBCommandInterpreter_InterruptCommand, METH_O, "SBCommandInterpreter_InterruptCommand(SBCommandInterpreter self) -> bool"}, + { "SBCommandInterpreter_SetCommandOverrideCallback", _wrap_SBCommandInterpreter_SetCommandOverrideCallback, METH_VARARGS, "SBCommandInterpreter_SetCommandOverrideCallback(SBCommandInterpreter self, char const * command_name, lldb::CommandOverrideCallback callback) -> bool"}, { "SBCommandInterpreter_IsActive", _wrap_SBCommandInterpreter_IsActive, METH_O, "SBCommandInterpreter_IsActive(SBCommandInterpreter self) -> bool"}, { "SBCommandInterpreter_GetIOHandlerControlSequence", _wrap_SBCommandInterpreter_GetIOHandlerControlSequence, METH_VARARGS, "SBCommandInterpreter_GetIOHandlerControlSequence(SBCommandInterpreter self, char ch) -> char const *"}, { "SBCommandInterpreter_GetPromptOnQuit", _wrap_SBCommandInterpreter_GetPromptOnQuit, METH_O, "SBCommandInterpreter_GetPromptOnQuit(SBCommandInterpreter self) -> bool"}, @@ -94658,6 +96639,7 @@ static PyMethodDef SwigMethods[] = { { "SBCommandInterpreter_ResolveCommand", _wrap_SBCommandInterpreter_ResolveCommand, METH_VARARGS, "SBCommandInterpreter_ResolveCommand(SBCommandInterpreter self, char const * command_line, SBCommandReturnObject result)"}, { "SBCommandInterpreter_GetStatistics", _wrap_SBCommandInterpreter_GetStatistics, METH_O, "SBCommandInterpreter_GetStatistics(SBCommandInterpreter self) -> SBStructuredData"}, { "SBCommandInterpreter_GetTranscript", _wrap_SBCommandInterpreter_GetTranscript, METH_O, "SBCommandInterpreter_GetTranscript(SBCommandInterpreter self) -> SBStructuredData"}, + { "SBCommandInterpreter_SetPrintCallback", _wrap_SBCommandInterpreter_SetPrintCallback, METH_VARARGS, "SBCommandInterpreter_SetPrintCallback(SBCommandInterpreter self, lldb::SBCommandPrintCallback callback)"}, { "SBCommandInterpreter_swigregister", SBCommandInterpreter_swigregister, METH_O, NULL}, { "SBCommandInterpreter_swiginit", SBCommandInterpreter_swiginit, METH_VARARGS, NULL}, { "new_SBCommandInterpreterRunOptions", _wrap_new_SBCommandInterpreterRunOptions, METH_VARARGS, "\n" @@ -94685,6 +96667,8 @@ static PyMethodDef SwigMethods[] = { { "SBCommandInterpreterRunOptions_SetAutoHandleEvents", _wrap_SBCommandInterpreterRunOptions_SetAutoHandleEvents, METH_VARARGS, "SBCommandInterpreterRunOptions_SetAutoHandleEvents(SBCommandInterpreterRunOptions self, bool arg2)"}, { "SBCommandInterpreterRunOptions_GetSpawnThread", _wrap_SBCommandInterpreterRunOptions_GetSpawnThread, METH_O, "SBCommandInterpreterRunOptions_GetSpawnThread(SBCommandInterpreterRunOptions self) -> bool"}, { "SBCommandInterpreterRunOptions_SetSpawnThread", _wrap_SBCommandInterpreterRunOptions_SetSpawnThread, METH_VARARGS, "SBCommandInterpreterRunOptions_SetSpawnThread(SBCommandInterpreterRunOptions self, bool arg2)"}, + { "SBCommandInterpreterRunOptions_GetAllowRepeats", _wrap_SBCommandInterpreterRunOptions_GetAllowRepeats, METH_O, "SBCommandInterpreterRunOptions_GetAllowRepeats(SBCommandInterpreterRunOptions self) -> bool"}, + { "SBCommandInterpreterRunOptions_SetAllowRepeats", _wrap_SBCommandInterpreterRunOptions_SetAllowRepeats, METH_VARARGS, "SBCommandInterpreterRunOptions_SetAllowRepeats(SBCommandInterpreterRunOptions self, bool arg2)"}, { "SBCommandInterpreterRunOptions_swigregister", SBCommandInterpreterRunOptions_swigregister, METH_O, NULL}, { "SBCommandInterpreterRunOptions_swiginit", SBCommandInterpreterRunOptions_swiginit, METH_VARARGS, NULL}, { "new_SBCommandReturnObject", _wrap_new_SBCommandReturnObject, METH_VARARGS, "\n" @@ -94694,6 +96678,8 @@ static PyMethodDef SwigMethods[] = { { "delete_SBCommandReturnObject", _wrap_delete_SBCommandReturnObject, METH_O, "delete_SBCommandReturnObject(SBCommandReturnObject self)"}, { "SBCommandReturnObject___nonzero__", _wrap_SBCommandReturnObject___nonzero__, METH_O, "SBCommandReturnObject___nonzero__(SBCommandReturnObject self) -> bool"}, { "SBCommandReturnObject_IsValid", _wrap_SBCommandReturnObject_IsValid, METH_O, "SBCommandReturnObject_IsValid(SBCommandReturnObject self) -> bool"}, + { "SBCommandReturnObject_GetCommand", _wrap_SBCommandReturnObject_GetCommand, METH_O, "SBCommandReturnObject_GetCommand(SBCommandReturnObject self) -> char const *"}, + { "SBCommandReturnObject_GetErrorData", _wrap_SBCommandReturnObject_GetErrorData, METH_O, "SBCommandReturnObject_GetErrorData(SBCommandReturnObject self) -> SBStructuredData"}, { "SBCommandReturnObject_PutOutput", _wrap_SBCommandReturnObject_PutOutput, METH_VARARGS, "\n" "SBCommandReturnObject_PutOutput(SBCommandReturnObject self, SBFile file) -> size_t\n" "SBCommandReturnObject_PutOutput(SBCommandReturnObject self, lldb::FileSP BORROWED) -> size_t\n" @@ -94725,6 +96711,7 @@ static PyMethodDef SwigMethods[] = { "SBCommandReturnObject_SetError(SBCommandReturnObject self, SBError error, char const * fallback_error_cstr=None)\n" "SBCommandReturnObject_SetError(SBCommandReturnObject self, char const * error_cstr)\n" ""}, + { "SBCommandReturnObject_GetValues", _wrap_SBCommandReturnObject_GetValues, METH_VARARGS, "SBCommandReturnObject_GetValues(SBCommandReturnObject self, lldb::DynamicValueType use_dynamic) -> SBValueList"}, { "SBCommandReturnObject___repr__", _wrap_SBCommandReturnObject___repr__, METH_O, "SBCommandReturnObject___repr__(SBCommandReturnObject self) -> std::string"}, { "SBCommandReturnObject_SetImmediateOutputFile", _wrap_SBCommandReturnObject_SetImmediateOutputFile, METH_VARARGS, "\n" "SBCommandReturnObject_SetImmediateOutputFile(SBCommandReturnObject self, SBFile file)\n" @@ -94819,6 +96806,77 @@ static PyMethodDef SwigMethods[] = { { "SBCompileUnit___repr__", _wrap_SBCompileUnit___repr__, METH_O, "SBCompileUnit___repr__(SBCompileUnit self) -> std::string"}, { "SBCompileUnit_swigregister", SBCompileUnit_swigregister, METH_O, NULL}, { "SBCompileUnit_swiginit", SBCompileUnit_swiginit, METH_VARARGS, NULL}, + { "new_SBSaveCoreOptions", _wrap_new_SBSaveCoreOptions, METH_VARARGS, "\n" + "SBSaveCoreOptions()\n" + "new_SBSaveCoreOptions(SBSaveCoreOptions rhs) -> SBSaveCoreOptions\n" + ""}, + { "delete_SBSaveCoreOptions", _wrap_delete_SBSaveCoreOptions, METH_O, "delete_SBSaveCoreOptions(SBSaveCoreOptions self)"}, + { "SBSaveCoreOptions_SetPluginName", _wrap_SBSaveCoreOptions_SetPluginName, METH_VARARGS, "\n" + "SBSaveCoreOptions_SetPluginName(SBSaveCoreOptions self, char const * plugin) -> SBError\n" + "\n" + " Set the plugin name to save a Core file with. Only plugins registered with Plugin manager will be accepted\n" + " Examples are Minidump and Mach-O.\n" + ""}, + { "SBSaveCoreOptions_GetPluginName", _wrap_SBSaveCoreOptions_GetPluginName, METH_O, "\n" + "SBSaveCoreOptions_GetPluginName(SBSaveCoreOptions self) -> char const *\n" + "\n" + " Get the specified plugin name, or None if the name is not set.\n" + ""}, + { "SBSaveCoreOptions_SetStyle", _wrap_SBSaveCoreOptions_SetStyle, METH_VARARGS, "\n" + "SBSaveCoreOptions_SetStyle(SBSaveCoreOptions self, lldb::SaveCoreStyle style)\n" + "\n" + " Set the lldb.SaveCoreStyle.\n" + ""}, + { "SBSaveCoreOptions_GetStyle", _wrap_SBSaveCoreOptions_GetStyle, METH_O, "\n" + "SBSaveCoreOptions_GetStyle(SBSaveCoreOptions self) -> lldb::SaveCoreStyle\n" + "\n" + " Get the specified lldb.SaveCoreStyle, or eSaveCoreUnspecified if not set.\n" + ""}, + { "SBSaveCoreOptions_SetOutputFile", _wrap_SBSaveCoreOptions_SetOutputFile, METH_VARARGS, "\n" + "SBSaveCoreOptions_SetOutputFile(SBSaveCoreOptions self, SBFileSpec output_file)\n" + "\n" + " Set the file path to save the Core file at.\n" + ""}, + { "SBSaveCoreOptions_GetOutputFile", _wrap_SBSaveCoreOptions_GetOutputFile, METH_O, "\n" + "SBSaveCoreOptions_GetOutputFile(SBSaveCoreOptions self) -> SBFileSpec\n" + "\n" + " Get an SBFileSpec corresponding to the specified output path, or none if not set.\n" + ""}, + { "SBSaveCoreOptions_SetProcess", _wrap_SBSaveCoreOptions_SetProcess, METH_VARARGS, "\n" + "SBSaveCoreOptions_SetProcess(SBSaveCoreOptions self, SBProcess process) -> SBError\n" + "\n" + " Set the process to save, or unset a process by providing a default SBProcess. \n" + " Resetting will result in the reset of all process specific options, such as Threads to save.\n" + ""}, + { "SBSaveCoreOptions_AddThread", _wrap_SBSaveCoreOptions_AddThread, METH_VARARGS, "\n" + "SBSaveCoreOptions_AddThread(SBSaveCoreOptions self, SBThread thread) -> SBError\n" + "\n" + " Add an SBThread to be saved, an error will be returned if an SBThread from a different process is specified. \n" + " The process is set either by the first SBThread added to the options container, or explicitly by the SetProcess call.\n" + ""}, + { "SBSaveCoreOptions_RemoveThread", _wrap_SBSaveCoreOptions_RemoveThread, METH_VARARGS, "\n" + "SBSaveCoreOptions_RemoveThread(SBSaveCoreOptions self, SBThread thread) -> bool\n" + "\n" + " Remove an SBthread if present in the container, returns true if a matching thread was found and removed.\n" + ""}, + { "SBSaveCoreOptions_AddMemoryRegionToSave", _wrap_SBSaveCoreOptions_AddMemoryRegionToSave, METH_VARARGS, "\n" + "SBSaveCoreOptions_AddMemoryRegionToSave(SBSaveCoreOptions self, SBMemoryRegionInfo region) -> SBError\n" + "\n" + " Add a memory region to save, an error will be returned in the region is invalid. \n" + " Ranges that overlap will be unioned into a single region.\n" + ""}, + { "SBSaveCoreOptions_GetThreadsToSave", _wrap_SBSaveCoreOptions_GetThreadsToSave, METH_O, "\n" + "SBSaveCoreOptions_GetThreadsToSave(SBSaveCoreOptions self) -> SBThreadCollection\n" + "\n" + " Get an SBThreadCollection of all threads marked to be saved. This collection is not sorted according to insertion order.\n" + ""}, + { "SBSaveCoreOptions_Clear", _wrap_SBSaveCoreOptions_Clear, METH_O, "\n" + "SBSaveCoreOptions_Clear(SBSaveCoreOptions self)\n" + "\n" + " Unset all options.\n" + ""}, + { "SBSaveCoreOptions_swigregister", SBSaveCoreOptions_swigregister, METH_O, NULL}, + { "SBSaveCoreOptions_swiginit", SBSaveCoreOptions_swiginit, METH_VARARGS, NULL}, { "new_SBData", _wrap_new_SBData, METH_VARARGS, "\n" "SBData()\n" "new_SBData(SBData rhs) -> SBData\n" @@ -94871,6 +96929,7 @@ static PyMethodDef SwigMethods[] = { ""}, { "delete_SBDebugger", _wrap_delete_SBDebugger, METH_O, "delete_SBDebugger(SBDebugger self)"}, { "SBDebugger_GetBroadcasterClass", _wrap_SBDebugger_GetBroadcasterClass, METH_NOARGS, "SBDebugger_GetBroadcasterClass() -> char const *"}, + { "SBDebugger_SupportsLanguage", _wrap_SBDebugger_SupportsLanguage, METH_O, "SBDebugger_SupportsLanguage(lldb::LanguageType language) -> bool"}, { "SBDebugger_GetBroadcaster", _wrap_SBDebugger_GetBroadcaster, METH_O, "SBDebugger_GetBroadcaster(SBDebugger self) -> SBBroadcaster"}, { "SBDebugger_GetProgressFromEvent", _wrap_SBDebugger_GetProgressFromEvent, METH_O, "SBDebugger_GetProgressFromEvent(SBEvent event) -> char const *"}, { "SBDebugger_GetProgressDataFromEvent", _wrap_SBDebugger_GetProgressDataFromEvent, METH_O, "SBDebugger_GetProgressDataFromEvent(SBEvent event) -> SBStructuredData"}, @@ -94974,6 +97033,7 @@ static PyMethodDef SwigMethods[] = { { "SBDebugger_GetUseExternalEditor", _wrap_SBDebugger_GetUseExternalEditor, METH_O, "SBDebugger_GetUseExternalEditor(SBDebugger self) -> bool"}, { "SBDebugger_SetUseColor", _wrap_SBDebugger_SetUseColor, METH_VARARGS, "SBDebugger_SetUseColor(SBDebugger self, bool use_color) -> bool"}, { "SBDebugger_GetUseColor", _wrap_SBDebugger_GetUseColor, METH_O, "SBDebugger_GetUseColor(SBDebugger self) -> bool"}, + { "SBDebugger_SetShowInlineDiagnostics", _wrap_SBDebugger_SetShowInlineDiagnostics, METH_VARARGS, "SBDebugger_SetShowInlineDiagnostics(SBDebugger self, bool arg2) -> bool"}, { "SBDebugger_SetUseSourceCache", _wrap_SBDebugger_SetUseSourceCache, METH_VARARGS, "SBDebugger_SetUseSourceCache(SBDebugger self, bool use_source_cache) -> bool"}, { "SBDebugger_GetUseSourceCache", _wrap_SBDebugger_GetUseSourceCache, METH_O, "SBDebugger_GetUseSourceCache(SBDebugger self) -> bool"}, { "SBDebugger_GetDefaultArchitecture", _wrap_SBDebugger_GetDefaultArchitecture, METH_VARARGS, "SBDebugger_GetDefaultArchitecture(char * arch_name, size_t arch_name_len) -> bool"}, @@ -95000,6 +97060,8 @@ static PyMethodDef SwigMethods[] = { { "SBDebugger_GetDescription", _wrap_SBDebugger_GetDescription, METH_VARARGS, "SBDebugger_GetDescription(SBDebugger self, SBStream description) -> bool"}, { "SBDebugger_GetTerminalWidth", _wrap_SBDebugger_GetTerminalWidth, METH_O, "SBDebugger_GetTerminalWidth(SBDebugger self) -> uint32_t"}, { "SBDebugger_SetTerminalWidth", _wrap_SBDebugger_SetTerminalWidth, METH_VARARGS, "SBDebugger_SetTerminalWidth(SBDebugger self, uint32_t term_width)"}, + { "SBDebugger_GetTerminalHeight", _wrap_SBDebugger_GetTerminalHeight, METH_O, "SBDebugger_GetTerminalHeight(SBDebugger self) -> uint32_t"}, + { "SBDebugger_SetTerminalHeight", _wrap_SBDebugger_SetTerminalHeight, METH_VARARGS, "SBDebugger_SetTerminalHeight(SBDebugger self, uint32_t term_height)"}, { "SBDebugger_GetID", _wrap_SBDebugger_GetID, METH_O, "SBDebugger_GetID(SBDebugger self) -> lldb::user_id_t"}, { "SBDebugger_GetPrompt", _wrap_SBDebugger_GetPrompt, METH_O, "SBDebugger_GetPrompt(SBDebugger self) -> char const *"}, { "SBDebugger_SetPrompt", _wrap_SBDebugger_SetPrompt, METH_VARARGS, "SBDebugger_SetPrompt(SBDebugger self, char const * prompt)"}, @@ -95023,6 +97085,7 @@ static PyMethodDef SwigMethods[] = { { "SBDebugger_GetSummaryForType", _wrap_SBDebugger_GetSummaryForType, METH_VARARGS, "SBDebugger_GetSummaryForType(SBDebugger self, SBTypeNameSpecifier arg2) -> SBTypeSummary"}, { "SBDebugger_GetFilterForType", _wrap_SBDebugger_GetFilterForType, METH_VARARGS, "SBDebugger_GetFilterForType(SBDebugger self, SBTypeNameSpecifier arg2) -> SBTypeFilter"}, { "SBDebugger_GetSyntheticForType", _wrap_SBDebugger_GetSyntheticForType, METH_VARARGS, "SBDebugger_GetSyntheticForType(SBDebugger self, SBTypeNameSpecifier arg2) -> SBTypeSynthetic"}, + { "SBDebugger_ResetStatistics", _wrap_SBDebugger_ResetStatistics, METH_O, "SBDebugger_ResetStatistics(SBDebugger self)"}, { "SBDebugger_RunCommandInterpreter", _wrap_SBDebugger_RunCommandInterpreter, METH_VARARGS, "\n" "SBDebugger_RunCommandInterpreter(SBDebugger self, bool auto_handle_events, bool spawn_thread, SBCommandInterpreterRunOptions options, int & num_errors, bool & quit_requested, bool & stopped_for_crash)\n" "Launch a command interpreter session. Commands are read from standard input or\n" @@ -95086,6 +97149,7 @@ static PyMethodDef SwigMethods[] = { { "SBError_Fail", _wrap_SBError_Fail, METH_O, "SBError_Fail(SBError self) -> bool"}, { "SBError_Success", _wrap_SBError_Success, METH_O, "SBError_Success(SBError self) -> bool"}, { "SBError_GetError", _wrap_SBError_GetError, METH_O, "SBError_GetError(SBError self) -> uint32_t"}, + { "SBError_GetErrorData", _wrap_SBError_GetErrorData, METH_O, "SBError_GetErrorData(SBError self) -> SBStructuredData"}, { "SBError_GetType", _wrap_SBError_GetType, METH_O, "SBError_GetType(SBError self) -> lldb::ErrorType"}, { "SBError_SetError", _wrap_SBError_SetError, METH_VARARGS, "SBError_SetError(SBError self, uint32_t err, lldb::ErrorType type)"}, { "SBError_SetErrorToErrno", _wrap_SBError_SetErrorToErrno, METH_O, "SBError_SetErrorToErrno(SBError self)"}, @@ -95400,7 +97464,6 @@ static PyMethodDef SwigMethods[] = { " .\n" ""}, { "SBFrame_IsSwiftThunk", _wrap_SBFrame_IsSwiftThunk, METH_O, "SBFrame_IsSwiftThunk(SBFrame self) -> bool"}, - { "SBFrame_GetLanguageSpecificData", _wrap_SBFrame_GetLanguageSpecificData, METH_O, "SBFrame_GetLanguageSpecificData(SBFrame self) -> SBStructuredData"}, { "SBFrame_IsInlined", _wrap_SBFrame_IsInlined, METH_VARARGS, "\n" "SBFrame_IsInlined(SBFrame self) -> bool\n" "SBFrame_IsInlined(SBFrame self) -> bool\n" @@ -95417,6 +97480,7 @@ static PyMethodDef SwigMethods[] = { " capture a tail call). Local variables may not be available in an artificial\n" " frame.\n" ""}, + { "SBFrame_IsHidden", _wrap_SBFrame_IsHidden, METH_O, "SBFrame_IsHidden(SBFrame self) -> bool"}, { "SBFrame_EvaluateExpression", _wrap_SBFrame_EvaluateExpression, METH_VARARGS, "\n" "SBFrame_EvaluateExpression(SBFrame self, char const * expr) -> SBValue\n" "SBFrame_EvaluateExpression(SBFrame self, char const * expr, lldb::DynamicValueType use_dynamic) -> SBValue\n" @@ -95426,6 +97490,7 @@ static PyMethodDef SwigMethods[] = { " The version that doesn't supply a 'use_dynamic' value will use the\n" " target's default.\n" ""}, + { "SBFrame_GetLanguageSpecificData", _wrap_SBFrame_GetLanguageSpecificData, METH_O, "SBFrame_GetLanguageSpecificData(SBFrame self) -> SBStructuredData"}, { "SBFrame_GetFrameBlock", _wrap_SBFrame_GetFrameBlock, METH_O, "\n" "SBFrame_GetFrameBlock(SBFrame self) -> SBBlock\n" "\n" @@ -95456,7 +97521,22 @@ static PyMethodDef SwigMethods[] = { " The version that doesn't supply a 'use_dynamic' value will use the\n" " target's default.\n" ""}, - { "SBFrame_GetRegisters", _wrap_SBFrame_GetRegisters, METH_O, "SBFrame_GetRegisters(SBFrame self) -> SBValueList"}, + { "SBFrame_GetRegisters", _wrap_SBFrame_GetRegisters, METH_O, "\n" + "SBFrame_GetRegisters(SBFrame self) -> SBValueList\n" + "\n" + " Returns an SBValueList which is an array of one or more register\n" + " sets that exist for this thread. \n" + " Each SBValue in the SBValueList represents one register-set. \n" + " The first register-set will be the general purpose registers -- \n" + " the registers printed by the `register read` command-line in lldb, with \n" + " no additional arguments. \n" + " The register-set SBValue will have a name, e.g. \n" + " SBFrame::GetRegisters().GetValueAtIndex(0).GetName() \n" + " By convention, certain stubs choose to name their general-purpose \n" + " register-set the 'General Purpose Registers', but that is not required.\n" + " A register-set SBValue will have children, one child per register \n" + " in the register-set.\n" + ""}, { "SBFrame_FindRegister", _wrap_SBFrame_FindRegister, METH_VARARGS, "SBFrame_FindRegister(SBFrame self, char const * name) -> SBValue"}, { "SBFrame_FindVariable", _wrap_SBFrame_FindVariable, METH_VARARGS, "\n" "SBFrame_FindVariable(SBFrame self, char const * var_name) -> SBValue\n" @@ -95615,6 +97695,13 @@ static PyMethodDef SwigMethods[] = { { "SBInstructionList_swiginit", SBInstructionList_swiginit, METH_VARARGS, NULL}, { "SBLanguageRuntime_GetLanguageTypeFromString", _wrap_SBLanguageRuntime_GetLanguageTypeFromString, METH_O, "SBLanguageRuntime_GetLanguageTypeFromString(char const * string) -> lldb::LanguageType"}, { "SBLanguageRuntime_GetNameForLanguageType", _wrap_SBLanguageRuntime_GetNameForLanguageType, METH_O, "SBLanguageRuntime_GetNameForLanguageType(lldb::LanguageType language) -> char const *"}, + { "SBLanguageRuntime_LanguageIsCPlusPlus", _wrap_SBLanguageRuntime_LanguageIsCPlusPlus, METH_O, "SBLanguageRuntime_LanguageIsCPlusPlus(lldb::LanguageType language) -> bool"}, + { "SBLanguageRuntime_LanguageIsObjC", _wrap_SBLanguageRuntime_LanguageIsObjC, METH_O, "SBLanguageRuntime_LanguageIsObjC(lldb::LanguageType language) -> bool"}, + { "SBLanguageRuntime_LanguageIsCFamily", _wrap_SBLanguageRuntime_LanguageIsCFamily, METH_O, "SBLanguageRuntime_LanguageIsCFamily(lldb::LanguageType language) -> bool"}, + { "SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow", _wrap_SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow, METH_O, "SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow(lldb::LanguageType language) -> bool"}, + { "SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch", _wrap_SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch, METH_O, "SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch(lldb::LanguageType language) -> bool"}, + { "SBLanguageRuntime_GetThrowKeywordForLanguage", _wrap_SBLanguageRuntime_GetThrowKeywordForLanguage, METH_O, "SBLanguageRuntime_GetThrowKeywordForLanguage(lldb::LanguageType language) -> char const *"}, + { "SBLanguageRuntime_GetCatchKeywordForLanguage", _wrap_SBLanguageRuntime_GetCatchKeywordForLanguage, METH_O, "SBLanguageRuntime_GetCatchKeywordForLanguage(lldb::LanguageType language) -> char const *"}, { "new_SBLanguageRuntime", _wrap_new_SBLanguageRuntime, METH_NOARGS, "new_SBLanguageRuntime() -> SBLanguageRuntime"}, { "delete_SBLanguageRuntime", _wrap_delete_SBLanguageRuntime, METH_O, "delete_SBLanguageRuntime(SBLanguageRuntime self)"}, { "SBLanguageRuntime_swigregister", SBLanguageRuntime_swigregister, METH_O, NULL}, @@ -96225,6 +98312,7 @@ static PyMethodDef SwigMethods[] = { " track and monitor process.\n" ""}, { "SBProcess_Continue", _wrap_SBProcess_Continue, METH_O, "SBProcess_Continue(SBProcess self) -> SBError"}, + { "SBProcess_ContinueInDirection", _wrap_SBProcess_ContinueInDirection, METH_VARARGS, "SBProcess_ContinueInDirection(SBProcess self, lldb::RunDirection direction) -> SBError"}, { "SBProcess_Stop", _wrap_SBProcess_Stop, METH_O, "SBProcess_Stop(SBProcess self) -> SBError"}, { "SBProcess_Kill", _wrap_SBProcess_Kill, METH_O, "\n" "SBProcess_Kill(SBProcess self) -> SBError\n" @@ -96316,6 +98404,8 @@ static PyMethodDef SwigMethods[] = { " else\n" " print('error: ', error)\n" ""}, + { "SBProcess_FindRangesInMemory", _wrap_SBProcess_FindRangesInMemory, METH_VARARGS, "SBProcess_FindRangesInMemory(SBProcess self, void const * buf, SBAddressRangeList ranges, uint32_t alignment, uint32_t max_matches, SBError error) -> SBAddressRangeList"}, + { "SBProcess_FindInMemory", _wrap_SBProcess_FindInMemory, METH_VARARGS, "SBProcess_FindInMemory(SBProcess self, void const * buf, SBAddressRange range, uint32_t alignment, SBError error) -> lldb::addr_t"}, { "SBProcess_GetStateFromEvent", _wrap_SBProcess_GetStateFromEvent, METH_O, "SBProcess_GetStateFromEvent(SBEvent event) -> lldb::StateType"}, { "SBProcess_GetRestartedFromEvent", _wrap_SBProcess_GetRestartedFromEvent, METH_O, "SBProcess_GetRestartedFromEvent(SBEvent event) -> bool"}, { "SBProcess_GetNumRestartedReasonsFromEvent", _wrap_SBProcess_GetNumRestartedReasonsFromEvent, METH_O, "SBProcess_GetNumRestartedReasonsFromEvent(SBEvent event) -> size_t"}, @@ -96373,9 +98463,21 @@ static PyMethodDef SwigMethods[] = { { "SBProcess_SaveCore", _wrap_SBProcess_SaveCore, METH_VARARGS, "\n" "SBProcess_SaveCore(SBProcess self, char const * file_name, char const * flavor, lldb::SaveCoreStyle core_style) -> SBError\n" "SBProcess_SaveCore(SBProcess self, char const * file_name) -> SBError\n" + "SBProcess_SaveCore(SBProcess self, SBSaveCoreOptions options) -> SBError\n" ""}, { "SBProcess_GetMemoryRegionInfo", _wrap_SBProcess_GetMemoryRegionInfo, METH_VARARGS, "SBProcess_GetMemoryRegionInfo(SBProcess self, lldb::addr_t load_addr, SBMemoryRegionInfo region_info) -> SBError"}, - { "SBProcess_GetMemoryRegions", _wrap_SBProcess_GetMemoryRegions, METH_O, "SBProcess_GetMemoryRegions(SBProcess self) -> SBMemoryRegionInfoList"}, + { "SBProcess_GetMemoryRegions", _wrap_SBProcess_GetMemoryRegions, METH_O, "\n" + "SBProcess_GetMemoryRegions(SBProcess self) -> SBMemoryRegionInfoList\n" + "\n" + " Get a list of all the memory regions associated with this process. ::\n" + "\n" + " readable_regions = []\n" + " for region in process.GetMemoryRegions():\n" + " if region.IsReadable():\n" + " readable_regions.append(region)\n" + "\n" + "\n" + ""}, { "SBProcess_GetProcessInfo", _wrap_SBProcess_GetProcessInfo, METH_O, "\n" "SBProcess_GetProcessInfo(SBProcess self) -> SBProcessInfo\n" "\n" @@ -96495,6 +98597,22 @@ static PyMethodDef SwigMethods[] = { { "SBProcessInfoList_Clear", _wrap_SBProcessInfoList_Clear, METH_O, "SBProcessInfoList_Clear(SBProcessInfoList self)"}, { "SBProcessInfoList_swigregister", SBProcessInfoList_swigregister, METH_O, NULL}, { "SBProcessInfoList_swiginit", SBProcessInfoList_swiginit, METH_VARARGS, NULL}, + { "new_SBProgress", _wrap_new_SBProgress, METH_VARARGS, "\n" + "SBProgress(char const * title, char const * details, SBDebugger debugger)\n" + "new_SBProgress(char const * title, char const * details, uint64_t total_units, SBDebugger debugger) -> SBProgress\n" + ""}, + { "delete_SBProgress", _wrap_delete_SBProgress, METH_O, "delete_SBProgress(SBProgress self)"}, + { "SBProgress_Increment", _wrap_SBProgress_Increment, METH_VARARGS, "SBProgress_Increment(SBProgress self, uint64_t amount, char const * description=None)"}, + { "SBProgress_Finalize", _wrap_SBProgress_Finalize, METH_O, "\n" + "SBProgress_Finalize(SBProgress self)\n" + "Finalize the SBProgress, which will cause a progress end event to be emitted. This \n" + "happens automatically when the SBProcess object is destroyed, but can be done explicitly \n" + "with Finalize to avoid having to rely on the language semantics for destruction.\n" + "\n" + "Note once finalized, no further increments will be processed.\n" + ""}, + { "SBProgress_swigregister", SBProgress_swigregister, METH_O, NULL}, + { "SBProgress_swiginit", SBProgress_swiginit, METH_VARARGS, NULL}, { "new_SBQueue", _wrap_new_SBQueue, METH_VARARGS, "\n" "SBQueue()\n" "new_SBQueue(SBQueue rhs) -> SBQueue\n" @@ -96624,6 +98742,12 @@ static PyMethodDef SwigMethods[] = { "SBStatisticsOptions_GetSummaryOnly(SBStatisticsOptions self) -> bool\n" "Gets whether the statistics only dump a summary.\n" ""}, + { "SBStatisticsOptions_SetIncludeTargets", _wrap_SBStatisticsOptions_SetIncludeTargets, METH_VARARGS, "SBStatisticsOptions_SetIncludeTargets(SBStatisticsOptions self, bool b)"}, + { "SBStatisticsOptions_GetIncludeTargets", _wrap_SBStatisticsOptions_GetIncludeTargets, METH_O, "SBStatisticsOptions_GetIncludeTargets(SBStatisticsOptions self) -> bool"}, + { "SBStatisticsOptions_SetIncludeModules", _wrap_SBStatisticsOptions_SetIncludeModules, METH_VARARGS, "SBStatisticsOptions_SetIncludeModules(SBStatisticsOptions self, bool b)"}, + { "SBStatisticsOptions_GetIncludeModules", _wrap_SBStatisticsOptions_GetIncludeModules, METH_O, "SBStatisticsOptions_GetIncludeModules(SBStatisticsOptions self) -> bool"}, + { "SBStatisticsOptions_SetIncludeTranscript", _wrap_SBStatisticsOptions_SetIncludeTranscript, METH_VARARGS, "SBStatisticsOptions_SetIncludeTranscript(SBStatisticsOptions self, bool b)"}, + { "SBStatisticsOptions_GetIncludeTranscript", _wrap_SBStatisticsOptions_GetIncludeTranscript, METH_O, "SBStatisticsOptions_GetIncludeTranscript(SBStatisticsOptions self) -> bool"}, { "SBStatisticsOptions_SetReportAllAvailableDebugInfo", _wrap_SBStatisticsOptions_SetReportAllAvailableDebugInfo, METH_VARARGS, "\n" "SBStatisticsOptions_SetReportAllAvailableDebugInfo(SBStatisticsOptions self, bool b)\n" "\n" @@ -96811,6 +98935,7 @@ static PyMethodDef SwigMethods[] = { "SBTarget_GetStatistics(SBTarget self) -> SBStructuredData\n" "SBTarget_GetStatistics(SBTarget self, SBStatisticsOptions options) -> SBStructuredData\n" ""}, + { "SBTarget_ResetStatistics", _wrap_SBTarget_ResetStatistics, METH_O, "SBTarget_ResetStatistics(SBTarget self)"}, { "SBTarget_GetPlatform", _wrap_SBTarget_GetPlatform, METH_O, "\n" "SBTarget_GetPlatform(SBTarget self) -> SBPlatform\n" "\n" @@ -98301,6 +100426,7 @@ static PyMethodDef SwigMethods[] = { " * Objective-C: Always returns an invalid SBType.\n" "\n" ""}, + { "SBType_GetTemplateArgumentValue", _wrap_SBType_GetTemplateArgumentValue, METH_VARARGS, "SBType_GetTemplateArgumentValue(SBType self, SBTarget target, uint32_t idx) -> SBValue"}, { "SBType_GetTemplateArgumentKind", _wrap_SBType_GetTemplateArgumentKind, METH_VARARGS, "\n" "SBType_GetTemplateArgumentKind(SBType self, uint32_t idx) -> lldb::TemplateArgumentKind\n" "Returns the kind of the template argument with the given index.\n" @@ -98781,6 +100907,7 @@ static PyMethodDef SwigMethods[] = { { "SBValue_GetDynamicValue", _wrap_SBValue_GetDynamicValue, METH_VARARGS, "SBValue_GetDynamicValue(SBValue self, lldb::DynamicValueType use_dynamic) -> SBValue"}, { "SBValue_GetStaticValue", _wrap_SBValue_GetStaticValue, METH_O, "SBValue_GetStaticValue(SBValue self) -> SBValue"}, { "SBValue_GetNonSyntheticValue", _wrap_SBValue_GetNonSyntheticValue, METH_O, "SBValue_GetNonSyntheticValue(SBValue self) -> SBValue"}, + { "SBValue_GetSyntheticValue", _wrap_SBValue_GetSyntheticValue, METH_O, "SBValue_GetSyntheticValue(SBValue self) -> SBValue"}, { "SBValue_GetPreferDynamicValue", _wrap_SBValue_GetPreferDynamicValue, METH_O, "SBValue_GetPreferDynamicValue(SBValue self) -> lldb::DynamicValueType"}, { "SBValue_SetPreferDynamicValue", _wrap_SBValue_SetPreferDynamicValue, METH_VARARGS, "SBValue_SetPreferDynamicValue(SBValue self, lldb::DynamicValueType use_dynamic)"}, { "SBValue_GetPreferSyntheticValue", _wrap_SBValue_GetPreferSyntheticValue, METH_O, "SBValue_GetPreferSyntheticValue(SBValue self) -> bool"}, @@ -98806,6 +100933,7 @@ static PyMethodDef SwigMethods[] = { ""}, { "SBValue_CreateValueFromAddress", _wrap_SBValue_CreateValueFromAddress, METH_VARARGS, "SBValue_CreateValueFromAddress(SBValue self, char const * name, lldb::addr_t address, SBType type) -> SBValue"}, { "SBValue_CreateValueFromData", _wrap_SBValue_CreateValueFromData, METH_VARARGS, "SBValue_CreateValueFromData(SBValue self, char const * name, SBData data, SBType type) -> SBValue"}, + { "SBValue_CreateBoolValue", _wrap_SBValue_CreateBoolValue, METH_VARARGS, "SBValue_CreateBoolValue(SBValue self, char const * name, bool value) -> SBValue"}, { "SBValue_GetChildAtIndex", _wrap_SBValue_GetChildAtIndex, METH_VARARGS, "\n" "SBValue_GetChildAtIndex(SBValue self, uint32_t idx) -> SBValue\n" "SBValue_GetChildAtIndex(SBValue self, uint32_t idx, lldb::DynamicValueType use_dynamic, bool can_create_synthetic) -> SBValue\n" @@ -99182,9 +101310,11 @@ static swig_type_info _swigt__p_lldb__SBPlatformShellCommand = {"_p_lldb__SBPlat static swig_type_info _swigt__p_lldb__SBProcess = {"_p_lldb__SBProcess", "lldb::SBProcess *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBProcessInfo = {"_p_lldb__SBProcessInfo", "lldb::SBProcessInfo *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBProcessInfoList = {"_p_lldb__SBProcessInfoList", "lldb::SBProcessInfoList *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_lldb__SBProgress = {"_p_lldb__SBProgress", "lldb::SBProgress *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBQueue = {"_p_lldb__SBQueue", "lldb::SBQueue *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBQueueItem = {"_p_lldb__SBQueueItem", "lldb::SBQueueItem *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBReproducer = {"_p_lldb__SBReproducer", "lldb::SBReproducer *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_lldb__SBSaveCoreOptions = {"_p_lldb__SBSaveCoreOptions", "lldb::SBSaveCoreOptions *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBScriptObject = {"_p_lldb__SBScriptObject", "lldb::SBScriptObject *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBSection = {"_p_lldb__SBSection", "lldb::SBSection *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_lldb__SBSourceManager = {"_p_lldb__SBSourceManager", "lldb::SBSourceManager *", 0, 0, (void*)0, 0}; @@ -99264,6 +101394,7 @@ static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__InstrumentationRu static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__JITLoader_t = {"_p_std__shared_ptrT_lldb_private__JITLoader_t", "lldb::JITLoaderSP *|std::shared_ptr< lldb_private::JITLoader > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t = {"_p_std__shared_ptrT_lldb_private__LanguageRuntime_t", "lldb::LanguageRuntimeSP *|std::shared_ptr< lldb_private::LanguageRuntime > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Listener_t = {"_p_std__shared_ptrT_lldb_private__Listener_t", "lldb::ListenerSP *|std::shared_ptr< lldb_private::Listener > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__LockableStreamFile_t = {"_p_std__shared_ptrT_lldb_private__LockableStreamFile_t", "lldb::LockableStreamFileSP *|std::shared_ptr< lldb_private::LockableStreamFile > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t = {"_p_std__shared_ptrT_lldb_private__MemoryHistory_t", "lldb::MemoryHistorySP *|std::shared_ptr< lldb_private::MemoryHistory > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t = {"_p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t", "lldb::MemoryRegionInfoSP *|std::shared_ptr< lldb_private::MemoryRegionInfo > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Module_t = {"_p_std__shared_ptrT_lldb_private__Module_t", "lldb::ModuleSP *|std::shared_ptr< lldb_private::Module > *", 0, 0, (void*)0, 0}; @@ -99288,8 +101419,10 @@ static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__RegularExpression static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t = {"_p_std__shared_ptrT_lldb_private__ScriptInterpreter_t", "lldb::ScriptInterpreterSP *|std::shared_ptr< lldb_private::ScriptInterpreter > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t = {"_p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t", "lldb::ScriptSummaryFormatSP *|std::shared_ptr< lldb_private::ScriptSummaryFormat > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t = {"_p_std__shared_ptrT_lldb_private__ScriptedMetadata_t", "lldb::ScriptedMetadataSP *|std::shared_ptr< lldb_private::ScriptedMetadata > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t = {"_p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t", "lldb::ScriptedStopHookInterfaceSP *|std::shared_ptr< lldb_private::ScriptedStopHookInterface > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t = {"_p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t", "lldb::ScriptedSyntheticChildrenSP *|std::shared_ptr< lldb_private::ScriptedSyntheticChildren > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t = {"_p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t", "lldb::ScriptedThreadInterfaceSP *|std::shared_ptr< lldb_private::ScriptedThreadInterface > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t = {"_p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t", "lldb::ScriptedThreadPlanInterfaceSP *|std::shared_ptr< lldb_private::ScriptedThreadPlanInterface > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t = {"_p_std__shared_ptrT_lldb_private__SearchFilter_t", "lldb::SearchFilterSP *|std::shared_ptr< lldb_private::SearchFilter > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t = {"_p_std__shared_ptrT_lldb_private__SectionLoadList_t", "lldb::SectionLoadListSP *|std::shared_ptr< lldb_private::SectionLoadList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__shared_ptrT_lldb_private__Section_t = {"_p_std__shared_ptrT_lldb_private__Section_t", "lldb::SectionSP *|std::shared_ptr< lldb_private::Section > *", 0, 0, (void*)0, 0}; @@ -99350,6 +101483,7 @@ static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__ScriptedProcessIn static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SectionList_t = {"_p_std__unique_ptrT_lldb_private__SectionList_t", "lldb::SectionListUP *|std::unique_ptr< lldb_private::SectionList > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SourceManager_t = {"_p_std__unique_ptrT_lldb_private__SourceManager_t", "lldb::SourceManagerUP *|std::unique_ptr< lldb_private::SourceManager > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t = {"_p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t", "lldb::StackFrameRecognizerManagerUP *|std::unique_ptr< lldb_private::StackFrameRecognizerManager > *", 0, 0, (void*)0, 0}; +static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__Stream_t = {"_p_std__unique_ptrT_lldb_private__Stream_t", "lldb::StreamUP *|std::unique_ptr< lldb_private::Stream > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t = {"_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t", "lldb::StructuredDataImplUP *|std::unique_ptr< lldb_private::StructuredDataImpl > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t = {"_p_std__unique_ptrT_lldb_private__SymbolVendor_t", "lldb::SymbolVendorUP *|std::unique_ptr< lldb_private::SymbolVendor > *", 0, 0, (void*)0, 0}; static swig_type_info _swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t = {"_p_std__unique_ptrT_lldb_private__SystemRuntime_t", "lldb::SystemRuntimeUP *|std::unique_ptr< lldb_private::SystemRuntime > *", 0, 0, (void*)0, 0}; @@ -99434,9 +101568,11 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_lldb__SBProcess, &_swigt__p_lldb__SBProcessInfo, &_swigt__p_lldb__SBProcessInfoList, + &_swigt__p_lldb__SBProgress, &_swigt__p_lldb__SBQueue, &_swigt__p_lldb__SBQueueItem, &_swigt__p_lldb__SBReproducer, + &_swigt__p_lldb__SBSaveCoreOptions, &_swigt__p_lldb__SBScriptObject, &_swigt__p_lldb__SBSection, &_swigt__p_lldb__SBSourceManager, @@ -99516,6 +101652,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__shared_ptrT_lldb_private__JITLoader_t, &_swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t, &_swigt__p_std__shared_ptrT_lldb_private__Listener_t, + &_swigt__p_std__shared_ptrT_lldb_private__LockableStreamFile_t, &_swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t, &_swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t, &_swigt__p_std__shared_ptrT_lldb_private__Module_t, @@ -99540,8 +101677,10 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t, &_swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t, &_swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t, + &_swigt__p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t, &_swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t, &_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t, + &_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t, &_swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t, &_swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t, &_swigt__p_std__shared_ptrT_lldb_private__Section_t, @@ -99602,6 +101741,7 @@ static swig_type_info *swig_type_initial[] = { &_swigt__p_std__unique_ptrT_lldb_private__SectionList_t, &_swigt__p_std__unique_ptrT_lldb_private__SourceManager_t, &_swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t, + &_swigt__p_std__unique_ptrT_lldb_private__Stream_t, &_swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t, &_swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t, &_swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t, @@ -99686,9 +101826,11 @@ static swig_cast_info _swigc__p_lldb__SBPlatformShellCommand[] = { {&_swigt__p_ static swig_cast_info _swigc__p_lldb__SBProcess[] = { {&_swigt__p_lldb__SBProcess, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBProcessInfo[] = { {&_swigt__p_lldb__SBProcessInfo, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBProcessInfoList[] = { {&_swigt__p_lldb__SBProcessInfoList, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lldb__SBProgress[] = { {&_swigt__p_lldb__SBProgress, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBQueue[] = { {&_swigt__p_lldb__SBQueue, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBQueueItem[] = { {&_swigt__p_lldb__SBQueueItem, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBReproducer[] = { {&_swigt__p_lldb__SBReproducer, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_lldb__SBSaveCoreOptions[] = { {&_swigt__p_lldb__SBSaveCoreOptions, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBScriptObject[] = { {&_swigt__p_lldb__SBScriptObject, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBSection[] = { {&_swigt__p_lldb__SBSection, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_lldb__SBSourceManager[] = { {&_swigt__p_lldb__SBSourceManager, 0, 0, 0},{0, 0, 0, 0}}; @@ -99768,6 +101910,7 @@ static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__InstrumentationRu static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__JITLoader_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__JITLoader_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__LanguageRuntime_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__LanguageRuntime_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Listener_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Listener_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__LockableStreamFile_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__LockableStreamFile_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__MemoryHistory_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__MemoryHistory_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Module_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Module_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -99792,8 +101935,10 @@ static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__RegularExpression static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SearchFilter_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__SearchFilter_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__SectionLoadList_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__SectionLoadList_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__shared_ptrT_lldb_private__Section_t[] = { {&_swigt__p_std__shared_ptrT_lldb_private__Section_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -99854,6 +101999,7 @@ static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__ScriptedProcessIn static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SectionList_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__SectionList_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SourceManager_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__SourceManager_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t, 0, 0, 0},{0, 0, 0, 0}}; +static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__Stream_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__Stream_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SymbolVendor_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__SymbolVendor_t, 0, 0, 0},{0, 0, 0, 0}}; static swig_cast_info _swigc__p_std__unique_ptrT_lldb_private__SystemRuntime_t[] = { {&_swigt__p_std__unique_ptrT_lldb_private__SystemRuntime_t, 0, 0, 0},{0, 0, 0, 0}}; @@ -99938,9 +102084,11 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_lldb__SBProcess, _swigc__p_lldb__SBProcessInfo, _swigc__p_lldb__SBProcessInfoList, + _swigc__p_lldb__SBProgress, _swigc__p_lldb__SBQueue, _swigc__p_lldb__SBQueueItem, _swigc__p_lldb__SBReproducer, + _swigc__p_lldb__SBSaveCoreOptions, _swigc__p_lldb__SBScriptObject, _swigc__p_lldb__SBSection, _swigc__p_lldb__SBSourceManager, @@ -100020,6 +102168,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__shared_ptrT_lldb_private__JITLoader_t, _swigc__p_std__shared_ptrT_lldb_private__LanguageRuntime_t, _swigc__p_std__shared_ptrT_lldb_private__Listener_t, + _swigc__p_std__shared_ptrT_lldb_private__LockableStreamFile_t, _swigc__p_std__shared_ptrT_lldb_private__MemoryHistory_t, _swigc__p_std__shared_ptrT_lldb_private__MemoryRegionInfo_t, _swigc__p_std__shared_ptrT_lldb_private__Module_t, @@ -100044,8 +102193,10 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__shared_ptrT_lldb_private__ScriptInterpreter_t, _swigc__p_std__shared_ptrT_lldb_private__ScriptSummaryFormat_t, _swigc__p_std__shared_ptrT_lldb_private__ScriptedMetadata_t, + _swigc__p_std__shared_ptrT_lldb_private__ScriptedStopHookInterface_t, _swigc__p_std__shared_ptrT_lldb_private__ScriptedSyntheticChildren_t, _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadInterface_t, + _swigc__p_std__shared_ptrT_lldb_private__ScriptedThreadPlanInterface_t, _swigc__p_std__shared_ptrT_lldb_private__SearchFilter_t, _swigc__p_std__shared_ptrT_lldb_private__SectionLoadList_t, _swigc__p_std__shared_ptrT_lldb_private__Section_t, @@ -100106,6 +102257,7 @@ static swig_cast_info *swig_cast_initial[] = { _swigc__p_std__unique_ptrT_lldb_private__SectionList_t, _swigc__p_std__unique_ptrT_lldb_private__SourceManager_t, _swigc__p_std__unique_ptrT_lldb_private__StackFrameRecognizerManager_t, + _swigc__p_std__unique_ptrT_lldb_private__Stream_t, _swigc__p_std__unique_ptrT_lldb_private__StructuredDataImpl_t, _swigc__p_std__unique_ptrT_lldb_private__SymbolVendor_t, _swigc__p_std__unique_ptrT_lldb_private__SystemRuntime_t, @@ -100408,7 +102560,7 @@ extern "C" { } if (obj) { PyDict_SetItemString(d, constants[i].name, obj); - Py_DECREF(obj); + SWIG_Py_DECREF(obj); } } } @@ -100591,7 +102743,7 @@ SWIG_init(void) { (void)public_symbol; PyDict_SetItemString(md, "__all__", public_interface); - Py_DECREF(public_interface); + SWIG_Py_DECREF(public_interface); for (i = 0; SwigMethods[i].ml_name != NULL; ++i) SwigPyBuiltin_AddPublicSymbol(public_interface, SwigMethods[i].ml_name); for (i = 0; swig_const_table[i].name != 0; ++i) @@ -100692,6 +102844,8 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eOnlyThisThread",SWIG_From_int(static_cast< int >(lldb::eOnlyThisThread))); SWIG_Python_SetConstant(d, "eAllThreads",SWIG_From_int(static_cast< int >(lldb::eAllThreads))); SWIG_Python_SetConstant(d, "eOnlyDuringStepping",SWIG_From_int(static_cast< int >(lldb::eOnlyDuringStepping))); + SWIG_Python_SetConstant(d, "eRunForward",SWIG_From_int(static_cast< int >(lldb::eRunForward))); + SWIG_Python_SetConstant(d, "eRunReverse",SWIG_From_int(static_cast< int >(lldb::eRunReverse))); SWIG_Python_SetConstant(d, "eByteOrderInvalid",SWIG_From_int(static_cast< int >(lldb::eByteOrderInvalid))); SWIG_Python_SetConstant(d, "eByteOrderBig",SWIG_From_int(static_cast< int >(lldb::eByteOrderBig))); SWIG_Python_SetConstant(d, "eByteOrderPDP",SWIG_From_int(static_cast< int >(lldb::eByteOrderPDP))); @@ -100775,6 +102929,8 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eStopReasonFork",SWIG_From_int(static_cast< int >(lldb::eStopReasonFork))); SWIG_Python_SetConstant(d, "eStopReasonVFork",SWIG_From_int(static_cast< int >(lldb::eStopReasonVFork))); SWIG_Python_SetConstant(d, "eStopReasonVForkDone",SWIG_From_int(static_cast< int >(lldb::eStopReasonVForkDone))); + SWIG_Python_SetConstant(d, "eStopReasonInterrupt",SWIG_From_int(static_cast< int >(lldb::eStopReasonInterrupt))); + SWIG_Python_SetConstant(d, "eStopReasonHistoryBoundary",SWIG_From_int(static_cast< int >(lldb::eStopReasonHistoryBoundary))); SWIG_Python_SetConstant(d, "eReturnStatusInvalid",SWIG_From_int(static_cast< int >(lldb::eReturnStatusInvalid))); SWIG_Python_SetConstant(d, "eReturnStatusSuccessFinishNoResult",SWIG_From_int(static_cast< int >(lldb::eReturnStatusSuccessFinishNoResult))); SWIG_Python_SetConstant(d, "eReturnStatusSuccessFinishResult",SWIG_From_int(static_cast< int >(lldb::eReturnStatusSuccessFinishResult))); @@ -101052,6 +103208,8 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eArgTypeRemotePath",SWIG_From_int(static_cast< int >(lldb::eArgTypeRemotePath))); SWIG_Python_SetConstant(d, "eArgTypeRemoteFilename",SWIG_From_int(static_cast< int >(lldb::eArgTypeRemoteFilename))); SWIG_Python_SetConstant(d, "eArgTypeModule",SWIG_From_int(static_cast< int >(lldb::eArgTypeModule))); + SWIG_Python_SetConstant(d, "eArgTypeCPUName",SWIG_From_int(static_cast< int >(lldb::eArgTypeCPUName))); + SWIG_Python_SetConstant(d, "eArgTypeCPUFeatures",SWIG_From_int(static_cast< int >(lldb::eArgTypeCPUFeatures))); SWIG_Python_SetConstant(d, "eArgTypeLastArg",SWIG_From_int(static_cast< int >(lldb::eArgTypeLastArg))); SWIG_Python_SetConstant(d, "eSymbolTypeAny",SWIG_From_int(static_cast< int >(lldb::eSymbolTypeAny))); SWIG_Python_SetConstant(d, "eSymbolTypeInvalid",SWIG_From_int(static_cast< int >(lldb::eSymbolTypeInvalid))); @@ -101146,6 +103304,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eSectionTypeDWARFDebugTuIndex",SWIG_From_int(static_cast< int >(lldb::eSectionTypeDWARFDebugTuIndex))); SWIG_Python_SetConstant(d, "eSectionTypeCTF",SWIG_From_int(static_cast< int >(lldb::eSectionTypeCTF))); SWIG_Python_SetConstant(d, "eSectionTypeLLDBTypeSummaries",SWIG_From_int(static_cast< int >(lldb::eSectionTypeLLDBTypeSummaries))); + SWIG_Python_SetConstant(d, "eSectionTypeLLDBFormatters",SWIG_From_int(static_cast< int >(lldb::eSectionTypeLLDBFormatters))); SWIG_Python_SetConstant(d, "eSectionTypeSwiftModules",SWIG_From_int(static_cast< int >(lldb::eSectionTypeSwiftModules))); SWIG_Python_SetConstant(d, "eEmulateInstructionOptionNone",SWIG_From_int(static_cast< int >(lldb::eEmulateInstructionOptionNone))); SWIG_Python_SetConstant(d, "eEmulateInstructionOptionAutoAdvancePC",SWIG_From_int(static_cast< int >(lldb::eEmulateInstructionOptionAutoAdvancePC))); @@ -101330,6 +103489,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eMatchTypeNormal",SWIG_From_int(static_cast< int >(lldb::eMatchTypeNormal))); SWIG_Python_SetConstant(d, "eMatchTypeRegex",SWIG_From_int(static_cast< int >(lldb::eMatchTypeRegex))); SWIG_Python_SetConstant(d, "eMatchTypeStartsWith",SWIG_From_int(static_cast< int >(lldb::eMatchTypeStartsWith))); + SWIG_Python_SetConstant(d, "eMatchTypeRegexInsensitive",SWIG_From_int(static_cast< int >(lldb::eMatchTypeRegexInsensitive))); SWIG_Python_SetConstant(d, "eTypeHasChildren",SWIG_From_int(static_cast< int >(lldb::eTypeHasChildren))); SWIG_Python_SetConstant(d, "eTypeHasValue",SWIG_From_int(static_cast< int >(lldb::eTypeHasValue))); SWIG_Python_SetConstant(d, "eTypeIsArray",SWIG_From_int(static_cast< int >(lldb::eTypeIsArray))); @@ -101380,6 +103540,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eSaveCoreFull",SWIG_From_int(static_cast< int >(lldb::eSaveCoreFull))); SWIG_Python_SetConstant(d, "eSaveCoreDirtyOnly",SWIG_From_int(static_cast< int >(lldb::eSaveCoreDirtyOnly))); SWIG_Python_SetConstant(d, "eSaveCoreStackOnly",SWIG_From_int(static_cast< int >(lldb::eSaveCoreStackOnly))); + SWIG_Python_SetConstant(d, "eSaveCoreCustomOnly",SWIG_From_int(static_cast< int >(lldb::eSaveCoreCustomOnly))); SWIG_Python_SetConstant(d, "eTraceEventDisabledSW",SWIG_From_int(static_cast< int >(lldb::eTraceEventDisabledSW))); SWIG_Python_SetConstant(d, "eTraceEventDisabledHW",SWIG_From_int(static_cast< int >(lldb::eTraceEventDisabledHW))); SWIG_Python_SetConstant(d, "eTraceEventCPUChanged",SWIG_From_int(static_cast< int >(lldb::eTraceEventCPUChanged))); @@ -101444,9 +103605,13 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eBroadcastBitError",SWIG_From_int(static_cast< int >(lldb::eBroadcastBitError))); SWIG_Python_SetConstant(d, "eBroadcastSymbolChange",SWIG_From_int(static_cast< int >(lldb::eBroadcastSymbolChange))); SWIG_Python_SetConstant(d, "eBroadcastBitProgressCategory",SWIG_From_int(static_cast< int >(lldb::eBroadcastBitProgressCategory))); + SWIG_Python_SetConstant(d, "eBroadcastBitExternalProgress",SWIG_From_int(static_cast< int >(lldb::eBroadcastBitExternalProgress))); + SWIG_Python_SetConstant(d, "eBroadcastBitExternalProgressCategory",SWIG_From_int(static_cast< int >(lldb::eBroadcastBitExternalProgressCategory))); SWIG_Python_SetConstant(d, "eSeverityError",SWIG_From_int(static_cast< int >(lldb::eSeverityError))); SWIG_Python_SetConstant(d, "eSeverityWarning",SWIG_From_int(static_cast< int >(lldb::eSeverityWarning))); SWIG_Python_SetConstant(d, "eSeverityInfo",SWIG_From_int(static_cast< int >(lldb::eSeverityInfo))); + SWIG_Python_SetConstant(d, "eCommandReturnObjectPrintCallbackSkipped",SWIG_From_int(static_cast< int >(lldb::eCommandReturnObjectPrintCallbackSkipped))); + SWIG_Python_SetConstant(d, "eCommandReturnObjectPrintCallbackHandled",SWIG_From_int(static_cast< int >(lldb::eCommandReturnObjectPrintCallbackHandled))); SWIG_Python_SetConstant(d, "SBCommandInterpreter_eBroadcastBitThreadShouldExit",SWIG_From_int(static_cast< int >(lldb::SBCommandInterpreter::eBroadcastBitThreadShouldExit))); SWIG_Python_SetConstant(d, "SBCommandInterpreter_eBroadcastBitResetPrompt",SWIG_From_int(static_cast< int >(lldb::SBCommandInterpreter::eBroadcastBitResetPrompt))); SWIG_Python_SetConstant(d, "SBCommandInterpreter_eBroadcastBitQuitCommandReceived",SWIG_From_int(static_cast< int >(lldb::SBCommandInterpreter::eBroadcastBitQuitCommandReceived))); @@ -101462,6 +103627,8 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "SBDebugger_eBroadcastBitWarning",SWIG_From_int(static_cast< int >(lldb::SBDebugger::eBroadcastBitWarning))); SWIG_Python_SetConstant(d, "SBDebugger_eBroadcastBitError",SWIG_From_int(static_cast< int >(lldb::SBDebugger::eBroadcastBitError))); SWIG_Python_SetConstant(d, "SBDebugger_eBroadcastBitProgressCategory",SWIG_From_int(static_cast< int >(lldb::SBDebugger::eBroadcastBitProgressCategory))); + SWIG_Python_SetConstant(d, "SBDebugger_eBroadcastBitExternalProgress",SWIG_From_int(static_cast< int >(lldb::SBDebugger::eBroadcastBitExternalProgress))); + SWIG_Python_SetConstant(d, "SBDebugger_eBroadcastBitExternalProgressCategory",SWIG_From_int(static_cast< int >(lldb::SBDebugger::eBroadcastBitExternalProgressCategory))); SWIG_Python_SetConstant(d, "eLanguageNameAda",SWIG_From_int(static_cast< int >(lldb::eLanguageNameAda))); SWIG_Python_SetConstant(d, "eLanguageNameBLISS",SWIG_From_int(static_cast< int >(lldb::eLanguageNameBLISS))); SWIG_Python_SetConstant(d, "eLanguageNameC",SWIG_From_int(static_cast< int >(lldb::eLanguageNameC))); @@ -101502,6 +103669,7 @@ SWIG_init(void) { SWIG_Python_SetConstant(d, "eLanguageNameRuby",SWIG_From_int(static_cast< int >(lldb::eLanguageNameRuby))); SWIG_Python_SetConstant(d, "eLanguageNameMove",SWIG_From_int(static_cast< int >(lldb::eLanguageNameMove))); SWIG_Python_SetConstant(d, "eLanguageNameHylo",SWIG_From_int(static_cast< int >(lldb::eLanguageNameHylo))); + SWIG_Python_SetConstant(d, "eLanguageNameMetal",SWIG_From_int(static_cast< int >(lldb::eLanguageNameMetal))); SWIG_Python_SetConstant(d, "SBProcess_eBroadcastBitStateChanged",SWIG_From_int(static_cast< int >(lldb::SBProcess::eBroadcastBitStateChanged))); SWIG_Python_SetConstant(d, "SBProcess_eBroadcastBitInterrupt",SWIG_From_int(static_cast< int >(lldb::SBProcess::eBroadcastBitInterrupt))); SWIG_Python_SetConstant(d, "SBProcess_eBroadcastBitSTDOUT",SWIG_From_int(static_cast< int >(lldb::SBProcess::eBroadcastBitSTDOUT))); diff --git a/lldb/bindings/python/static-binding/lldb.py b/lldb/bindings/python/static-binding/lldb.py index 9b57cae9a6b29..4def436d7af43 100644 --- a/lldb/bindings/python/static-binding/lldb.py +++ b/lldb/bindings/python/static-binding/lldb.py @@ -1,5 +1,5 @@ # This file was automatically generated by SWIG (https://www.swig.org). -# Version 4.2.1 +# Version 4.3.1 # # Do not make changes to this file unless you know what you are doing - modify # the SWIG interface file instead. @@ -99,7 +99,7 @@ class _SwigNonDynamicMeta(type): #3.0.18. def _to_int(hex): return hex // 0x10 % 0x10 * 10 + hex % 0x10 -swig_version = (_to_int(0x040201 // 0x10000), _to_int(0x040201 // 0x100), _to_int(0x040201)) +swig_version = (_to_int(0x040301 // 0x10000), _to_int(0x040301 // 0x100), _to_int(0x040301)) del _to_int @@ -297,6 +297,10 @@ def lldb_iter(obj, getsize, getelem): eOnlyDuringStepping = _lldb.eOnlyDuringStepping +eRunForward = _lldb.eRunForward + +eRunReverse = _lldb.eRunReverse + eByteOrderInvalid = _lldb.eByteOrderInvalid eByteOrderBig = _lldb.eByteOrderBig @@ -463,6 +467,10 @@ def lldb_iter(obj, getsize, getelem): eStopReasonVForkDone = _lldb.eStopReasonVForkDone +eStopReasonInterrupt = _lldb.eStopReasonInterrupt + +eStopReasonHistoryBoundary = _lldb.eStopReasonHistoryBoundary + eReturnStatusInvalid = _lldb.eReturnStatusInvalid eReturnStatusSuccessFinishNoResult = _lldb.eReturnStatusSuccessFinishNoResult @@ -1017,6 +1025,10 @@ def lldb_iter(obj, getsize, getelem): eArgTypeModule = _lldb.eArgTypeModule +eArgTypeCPUName = _lldb.eArgTypeCPUName + +eArgTypeCPUFeatures = _lldb.eArgTypeCPUFeatures + eArgTypeLastArg = _lldb.eArgTypeLastArg eSymbolTypeAny = _lldb.eSymbolTypeAny @@ -1205,6 +1217,8 @@ def lldb_iter(obj, getsize, getelem): eSectionTypeLLDBTypeSummaries = _lldb.eSectionTypeLLDBTypeSummaries +eSectionTypeLLDBFormatters = _lldb.eSectionTypeLLDBFormatters + eSectionTypeSwiftModules = _lldb.eSectionTypeSwiftModules eEmulateInstructionOptionNone = _lldb.eEmulateInstructionOptionNone @@ -1573,6 +1587,8 @@ def lldb_iter(obj, getsize, getelem): eMatchTypeStartsWith = _lldb.eMatchTypeStartsWith +eMatchTypeRegexInsensitive = _lldb.eMatchTypeRegexInsensitive + eTypeHasChildren = _lldb.eTypeHasChildren eTypeHasValue = _lldb.eTypeHasValue @@ -1673,6 +1689,8 @@ def lldb_iter(obj, getsize, getelem): eSaveCoreStackOnly = _lldb.eSaveCoreStackOnly +eSaveCoreCustomOnly = _lldb.eSaveCoreCustomOnly + eTraceEventDisabledSW = _lldb.eTraceEventDisabledSW eTraceEventDisabledHW = _lldb.eTraceEventDisabledHW @@ -1801,12 +1819,20 @@ def lldb_iter(obj, getsize, getelem): eBroadcastBitProgressCategory = _lldb.eBroadcastBitProgressCategory +eBroadcastBitExternalProgress = _lldb.eBroadcastBitExternalProgress + +eBroadcastBitExternalProgressCategory = _lldb.eBroadcastBitExternalProgressCategory + eSeverityError = _lldb.eSeverityError eSeverityWarning = _lldb.eSeverityWarning eSeverityInfo = _lldb.eSeverityInfo +eCommandReturnObjectPrintCallbackSkipped = _lldb.eCommandReturnObjectPrintCallbackSkipped + +eCommandReturnObjectPrintCallbackHandled = _lldb.eCommandReturnObjectPrintCallbackHandled + class SBAddress(object): r""" A section + offset based address class. @@ -2511,7 +2537,7 @@ def breakpoint_ignore_count_python(self): #lldbutil.print_stacktraces(process) from lldbutil import get_stopped_thread thread = get_stopped_thread(process, lldb.eStopReasonBreakpoint) - self.assertTrue(thread != None, 'There should be a thread stopped due to breakpoint') + self.assertTrue(thread is not None, 'There should be a thread stopped due to breakpoint') frame0 = thread.GetFrameAtIndex(0) frame1 = thread.GetFrameAtIndex(1) frame2 = thread.GetFrameAtIndex(2) @@ -3555,6 +3581,10 @@ def InterruptCommand(self): r"""InterruptCommand(SBCommandInterpreter self) -> bool""" return _lldb.SBCommandInterpreter_InterruptCommand(self) + def SetCommandOverrideCallback(self, command_name, callback): + r"""SetCommandOverrideCallback(SBCommandInterpreter self, char const * command_name, lldb::CommandOverrideCallback callback) -> bool""" + return _lldb.SBCommandInterpreter_SetCommandOverrideCallback(self, command_name, callback) + def IsActive(self): r"""IsActive(SBCommandInterpreter self) -> bool""" return _lldb.SBCommandInterpreter_IsActive(self) @@ -3595,6 +3625,10 @@ def GetTranscript(self): r"""GetTranscript(SBCommandInterpreter self) -> SBStructuredData""" return _lldb.SBCommandInterpreter_GetTranscript(self) + def SetPrintCallback(self, callback): + r"""SetPrintCallback(SBCommandInterpreter self, lldb::SBCommandPrintCallback callback)""" + return _lldb.SBCommandInterpreter_SetPrintCallback(self, callback) + # Register SBCommandInterpreter in _lldb: _lldb.SBCommandInterpreter_swigregister(SBCommandInterpreter) class SBCommandInterpreterRunOptions(object): @@ -3610,7 +3644,10 @@ class SBCommandInterpreterRunOptions(object): * PrintResults: true * PrintErrors: true * AddToHistory: true + * AllowRepeats false + Interactive debug sessions always allow repeats, the AllowRepeats + run option only affects non-interactive sessions. """ @@ -3705,6 +3742,14 @@ def SetSpawnThread(self, arg2): r"""SetSpawnThread(SBCommandInterpreterRunOptions self, bool arg2)""" return _lldb.SBCommandInterpreterRunOptions_SetSpawnThread(self, arg2) + def GetAllowRepeats(self): + r"""GetAllowRepeats(SBCommandInterpreterRunOptions self) -> bool""" + return _lldb.SBCommandInterpreterRunOptions_GetAllowRepeats(self) + + def SetAllowRepeats(self, arg2): + r"""SetAllowRepeats(SBCommandInterpreterRunOptions self, bool arg2)""" + return _lldb.SBCommandInterpreterRunOptions_SetAllowRepeats(self, arg2) + # Register SBCommandInterpreterRunOptions in _lldb: _lldb.SBCommandInterpreterRunOptions_swigregister(SBCommandInterpreterRunOptions) class SBCommandReturnObject(object): @@ -3736,6 +3781,14 @@ def IsValid(self): r"""IsValid(SBCommandReturnObject self) -> bool""" return _lldb.SBCommandReturnObject_IsValid(self) + def GetCommand(self): + r"""GetCommand(SBCommandReturnObject self) -> char const *""" + return _lldb.SBCommandReturnObject_GetCommand(self) + + def GetErrorData(self): + r"""GetErrorData(SBCommandReturnObject self) -> SBStructuredData""" + return _lldb.SBCommandReturnObject_GetErrorData(self) + def PutOutput(self, *args): r""" PutOutput(SBCommandReturnObject self, SBFile file) -> size_t @@ -3815,6 +3868,10 @@ def SetError(self, *args): """ return _lldb.SBCommandReturnObject_SetError(self, *args) + def GetValues(self, use_dynamic): + r"""GetValues(SBCommandReturnObject self, lldb::DynamicValueType use_dynamic) -> SBValueList""" + return _lldb.SBCommandReturnObject_GetValues(self, use_dynamic) + def __repr__(self): r"""__repr__(SBCommandReturnObject self) -> std::string""" return _lldb.SBCommandReturnObject___repr__(self) @@ -4119,6 +4176,137 @@ def __ne__(self, rhs): # Register SBCompileUnit in _lldb: _lldb.SBCompileUnit_swigregister(SBCompileUnit) +class SBSaveCoreOptions(object): + r""" + A container to specify how to save a core file. + + SBSaveCoreOptions includes API's to specify the memory regions and threads to include + when generating a core file. It extends the existing SaveCoreStyle option. + + * eSaveCoreFull will save off all thread and memory regions, ignoring the memory regions and threads in the options object. + + * eSaveCoreDirtyOnly pages will capture all threads and all rw- memory regions, in addition to the regions specified in the options object if they are not already captured. + + * eSaveCoreStackOnly will capture all threads, but no memory regions unless specified. + + * eSaveCoreCustomOnly Custom defers entirely to the SBSaveCoreOptions object and will only save what is specified. Picking custom and specifying nothing will result in an error being returned. + + Note that currently ELF Core files are not supported. + """ + + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + + def __init__(self, *args): + r""" + __init__(SBSaveCoreOptions self) -> SBSaveCoreOptions + __init__(SBSaveCoreOptions self, SBSaveCoreOptions rhs) -> SBSaveCoreOptions + """ + _lldb.SBSaveCoreOptions_swiginit(self, _lldb.new_SBSaveCoreOptions(*args)) + __swig_destroy__ = _lldb.delete_SBSaveCoreOptions + + def SetPluginName(self, plugin): + r""" + SetPluginName(SBSaveCoreOptions self, char const * plugin) -> SBError + + Set the plugin name to save a Core file with. Only plugins registered with Plugin manager will be accepted + Examples are Minidump and Mach-O. + """ + return _lldb.SBSaveCoreOptions_SetPluginName(self, plugin) + + def GetPluginName(self): + r""" + GetPluginName(SBSaveCoreOptions self) -> char const * + + Get the specified plugin name, or None if the name is not set. + """ + return _lldb.SBSaveCoreOptions_GetPluginName(self) + + def SetStyle(self, style): + r""" + SetStyle(SBSaveCoreOptions self, lldb::SaveCoreStyle style) + + Set the lldb.SaveCoreStyle. + """ + return _lldb.SBSaveCoreOptions_SetStyle(self, style) + + def GetStyle(self): + r""" + GetStyle(SBSaveCoreOptions self) -> lldb::SaveCoreStyle + + Get the specified lldb.SaveCoreStyle, or eSaveCoreUnspecified if not set. + """ + return _lldb.SBSaveCoreOptions_GetStyle(self) + + def SetOutputFile(self, output_file): + r""" + SetOutputFile(SBSaveCoreOptions self, SBFileSpec output_file) + + Set the file path to save the Core file at. + """ + return _lldb.SBSaveCoreOptions_SetOutputFile(self, output_file) + + def GetOutputFile(self): + r""" + GetOutputFile(SBSaveCoreOptions self) -> SBFileSpec + + Get an SBFileSpec corresponding to the specified output path, or none if not set. + """ + return _lldb.SBSaveCoreOptions_GetOutputFile(self) + + def SetProcess(self, process): + r""" + SetProcess(SBSaveCoreOptions self, SBProcess process) -> SBError + + Set the process to save, or unset a process by providing a default SBProcess. + Resetting will result in the reset of all process specific options, such as Threads to save. + """ + return _lldb.SBSaveCoreOptions_SetProcess(self, process) + + def AddThread(self, thread): + r""" + AddThread(SBSaveCoreOptions self, SBThread thread) -> SBError + + Add an SBThread to be saved, an error will be returned if an SBThread from a different process is specified. + The process is set either by the first SBThread added to the options container, or explicitly by the SetProcess call. + """ + return _lldb.SBSaveCoreOptions_AddThread(self, thread) + + def RemoveThread(self, thread): + r""" + RemoveThread(SBSaveCoreOptions self, SBThread thread) -> bool + + Remove an SBthread if present in the container, returns true if a matching thread was found and removed. + """ + return _lldb.SBSaveCoreOptions_RemoveThread(self, thread) + + def AddMemoryRegionToSave(self, region): + r""" + AddMemoryRegionToSave(SBSaveCoreOptions self, SBMemoryRegionInfo region) -> SBError + + Add a memory region to save, an error will be returned in the region is invalid. + Ranges that overlap will be unioned into a single region. + """ + return _lldb.SBSaveCoreOptions_AddMemoryRegionToSave(self, region) + + def GetThreadsToSave(self): + r""" + GetThreadsToSave(SBSaveCoreOptions self) -> SBThreadCollection + + Get an SBThreadCollection of all threads marked to be saved. This collection is not sorted according to insertion order. + """ + return _lldb.SBSaveCoreOptions_GetThreadsToSave(self) + + def Clear(self): + r""" + Clear(SBSaveCoreOptions self) + + Unset all options. + """ + return _lldb.SBSaveCoreOptions_Clear(self) + +# Register SBSaveCoreOptions in _lldb: +_lldb.SBSaveCoreOptions_swigregister(SBSaveCoreOptions) class SBData(object): r"""Represents a data buffer.""" @@ -4333,19 +4521,19 @@ def CreateDataFromInt (cls, value, size = None, target = None, ptr_size = None, lldbtarget = lldbdict['target'] else: lldbtarget = None - if target == None and lldbtarget != None and lldbtarget.IsValid(): + if target is None and lldbtarget is not None and lldbtarget.IsValid(): target = lldbtarget - if ptr_size == None: + if ptr_size is None: if target and target.IsValid(): ptr_size = target.addr_size else: ptr_size = 8 - if endian == None: + if endian is None: if target and target.IsValid(): endian = target.byte_order else: endian = lldbdict['eByteOrderLittle'] - if size == None: + if size is None: if value > 2147483647: size = 8 elif value < -2147483648: @@ -4571,6 +4759,10 @@ def disassemble_instructions (insts): eBroadcastBitProgressCategory = _lldb.SBDebugger_eBroadcastBitProgressCategory + eBroadcastBitExternalProgress = _lldb.SBDebugger_eBroadcastBitExternalProgress + + eBroadcastBitExternalProgressCategory = _lldb.SBDebugger_eBroadcastBitExternalProgressCategory + def __init__(self, *args): r""" @@ -4585,6 +4777,11 @@ def GetBroadcasterClass(): r"""GetBroadcasterClass() -> char const *""" return _lldb.SBDebugger_GetBroadcasterClass() + @staticmethod + def SupportsLanguage(language): + r"""SupportsLanguage(lldb::LanguageType language) -> bool""" + return _lldb.SBDebugger_SupportsLanguage(language) + def GetBroadcaster(self): r"""GetBroadcaster(SBDebugger self) -> SBBroadcaster""" return _lldb.SBDebugger_GetBroadcaster(self) @@ -4884,6 +5081,10 @@ def GetUseColor(self): r"""GetUseColor(SBDebugger self) -> bool""" return _lldb.SBDebugger_GetUseColor(self) + def SetShowInlineDiagnostics(self, arg2): + r"""SetShowInlineDiagnostics(SBDebugger self, bool arg2) -> bool""" + return _lldb.SBDebugger_SetShowInlineDiagnostics(self, arg2) + def SetUseSourceCache(self, use_source_cache): r"""SetUseSourceCache(SBDebugger self, bool use_source_cache) -> bool""" return _lldb.SBDebugger_SetUseSourceCache(self, use_source_cache) @@ -4998,6 +5199,14 @@ def SetTerminalWidth(self, term_width): r"""SetTerminalWidth(SBDebugger self, uint32_t term_width)""" return _lldb.SBDebugger_SetTerminalWidth(self, term_width) + def GetTerminalHeight(self): + r"""GetTerminalHeight(SBDebugger self) -> uint32_t""" + return _lldb.SBDebugger_GetTerminalHeight(self) + + def SetTerminalHeight(self, term_height): + r"""SetTerminalHeight(SBDebugger self, uint32_t term_height)""" + return _lldb.SBDebugger_SetTerminalHeight(self, term_height) + def GetID(self): r"""GetID(SBDebugger self) -> lldb::user_id_t""" return _lldb.SBDebugger_GetID(self) @@ -5081,6 +5290,10 @@ def GetSyntheticForType(self, arg2): r"""GetSyntheticForType(SBDebugger self, SBTypeNameSpecifier arg2) -> SBTypeSynthetic""" return _lldb.SBDebugger_GetSyntheticForType(self, arg2) + def ResetStatistics(self): + r"""ResetStatistics(SBDebugger self)""" + return _lldb.SBDebugger_ResetStatistics(self) + def RunCommandInterpreter(self, auto_handle_events, spawn_thread, options, num_errors, quit_requested, stopped_for_crash): r""" RunCommandInterpreter(SBDebugger self, bool auto_handle_events, bool spawn_thread, SBCommandInterpreterRunOptions options, int & num_errors, bool & quit_requested, bool & stopped_for_crash) @@ -5266,8 +5479,10 @@ def hello_world_attach_with_id_api(self): # Spawn a new process and don't display the stdout if not in TraceOn() mode. import subprocess - popen = subprocess.Popen([self.exe, 'abc', 'xyz'], - stdout = open(os.devnull, 'w') if not self.TraceOn() else None) + popen = subprocess.Popen( + [self.exe, 'abc', 'xyz'], + stdout=subprocess.DEVNULL if not self.TraceOn() else None, + ) listener = lldb.SBListener('my.attach.listener') error = lldb.SBError() @@ -5333,6 +5548,10 @@ def GetError(self): r"""GetError(SBError self) -> uint32_t""" return _lldb.SBError_GetError(self) + def GetErrorData(self): + r"""GetErrorData(SBError self) -> SBStructuredData""" + return _lldb.SBError_GetErrorData(self) + def GetType(self): r"""GetType(SBError self) -> lldb::ErrorType""" return _lldb.SBError_GetType(self) @@ -6343,10 +6562,6 @@ def IsSwiftThunk(self): r"""IsSwiftThunk(SBFrame self) -> bool""" return _lldb.SBFrame_IsSwiftThunk(self) - def GetLanguageSpecificData(self): - r"""GetLanguageSpecificData(SBFrame self) -> SBStructuredData""" - return _lldb.SBFrame_GetLanguageSpecificData(self) - def IsInlined(self, *args): r""" IsInlined(SBFrame self) -> bool @@ -6369,6 +6584,10 @@ def IsArtificial(self, *args): """ return _lldb.SBFrame_IsArtificial(self, *args) + def IsHidden(self): + r"""IsHidden(SBFrame self) -> bool""" + return _lldb.SBFrame_IsHidden(self) + def EvaluateExpression(self, *args): r""" EvaluateExpression(SBFrame self, char const * expr) -> SBValue @@ -6381,6 +6600,10 @@ def EvaluateExpression(self, *args): """ return _lldb.SBFrame_EvaluateExpression(self, *args) + def GetLanguageSpecificData(self): + r"""GetLanguageSpecificData(SBFrame self) -> SBStructuredData""" + return _lldb.SBFrame_GetLanguageSpecificData(self) + def GetFrameBlock(self): r""" GetFrameBlock(SBFrame self) -> SBBlock @@ -6436,7 +6659,22 @@ def GetVariables(self, *args): return _lldb.SBFrame_GetVariables(self, *args) def GetRegisters(self): - r"""GetRegisters(SBFrame self) -> SBValueList""" + r""" + GetRegisters(SBFrame self) -> SBValueList + + Returns an SBValueList which is an array of one or more register + sets that exist for this thread. + Each SBValue in the SBValueList represents one register-set. + The first register-set will be the general purpose registers -- + the registers printed by the `register read` command-line in lldb, with + no additional arguments. + The register-set SBValue will have a name, e.g. + SBFrame::GetRegisters().GetValueAtIndex(0).GetName() + By convention, certain stubs choose to name their general-purpose + register-set the 'General Purpose Registers', but that is not required. + A register-set SBValue will have children, one child per register + in the register-set. + """ return _lldb.SBFrame_GetRegisters(self) def FindRegister(self, name): @@ -6597,8 +6835,8 @@ def __getitem__(self, key): args = property(get_arguments, None, doc='''A read only property that returns a list() that contains a collection of lldb.SBValue objects that represent the argument variables in this stack frame.''') arguments = property(get_arguments, None, doc='''A read only property that returns a list() that contains a collection of lldb.SBValue objects that represent the argument variables in this stack frame.''') statics = property(get_statics, None, doc='''A read only property that returns a list() that contains a collection of lldb.SBValue objects that represent the static variables in this stack frame.''') - registers = property(GetRegisters, None, doc='''A read only property that returns a list() that contains a collection of lldb.SBValue objects that represent the CPU registers for this stack frame.''') - regs = property(GetRegisters, None, doc='''A read only property that returns a list() that contains a collection of lldb.SBValue objects that represent the CPU registers for this stack frame.''') + registers = property(GetRegisters, None, doc='''Returns the register sets for this thread as a list(). See SBFrame::GetRegisters() for details.''') + regs = property(GetRegisters, None, doc='''Returns the register sets for this thread as a list(). See SBFrame::GetRegisters() for details.''') register = property(get_registers_access, None, doc='''A read only property that returns an helper object providing a flattened indexable view of the CPU registers for this stack frame.''') reg = property(get_registers_access, None, doc='''A read only property that returns an helper object providing a flattened indexable view of the CPU registers for this stack frame''') parent = property(get_parent_frame, None, doc='''A read only property that returns the parent (caller) frame of the current frame.''') @@ -7146,6 +7384,8 @@ def __getitem__(self, key): eLanguageNameHylo = _lldb.eLanguageNameHylo +eLanguageNameMetal = _lldb.eLanguageNameMetal + class SBLanguageRuntime(object): r"""Utility functions for :ref:`LanguageType`""" @@ -7162,6 +7402,41 @@ def GetNameForLanguageType(language): r"""GetNameForLanguageType(lldb::LanguageType language) -> char const *""" return _lldb.SBLanguageRuntime_GetNameForLanguageType(language) + @staticmethod + def LanguageIsCPlusPlus(language): + r"""LanguageIsCPlusPlus(lldb::LanguageType language) -> bool""" + return _lldb.SBLanguageRuntime_LanguageIsCPlusPlus(language) + + @staticmethod + def LanguageIsObjC(language): + r"""LanguageIsObjC(lldb::LanguageType language) -> bool""" + return _lldb.SBLanguageRuntime_LanguageIsObjC(language) + + @staticmethod + def LanguageIsCFamily(language): + r"""LanguageIsCFamily(lldb::LanguageType language) -> bool""" + return _lldb.SBLanguageRuntime_LanguageIsCFamily(language) + + @staticmethod + def SupportsExceptionBreakpointsOnThrow(language): + r"""SupportsExceptionBreakpointsOnThrow(lldb::LanguageType language) -> bool""" + return _lldb.SBLanguageRuntime_SupportsExceptionBreakpointsOnThrow(language) + + @staticmethod + def SupportsExceptionBreakpointsOnCatch(language): + r"""SupportsExceptionBreakpointsOnCatch(lldb::LanguageType language) -> bool""" + return _lldb.SBLanguageRuntime_SupportsExceptionBreakpointsOnCatch(language) + + @staticmethod + def GetThrowKeywordForLanguage(language): + r"""GetThrowKeywordForLanguage(lldb::LanguageType language) -> char const *""" + return _lldb.SBLanguageRuntime_GetThrowKeywordForLanguage(language) + + @staticmethod + def GetCatchKeywordForLanguage(language): + r"""GetCatchKeywordForLanguage(lldb::LanguageType language) -> char const *""" + return _lldb.SBLanguageRuntime_GetCatchKeywordForLanguage(language) + def __init__(self): r"""__init__(SBLanguageRuntime self) -> SBLanguageRuntime""" _lldb.SBLanguageRuntime_swiginit(self, _lldb.new_SBLanguageRuntime()) @@ -7760,7 +8035,12 @@ def __len__(self): def __iter__(self): '''Iterate over all the memory regions in a lldb.SBMemoryRegionInfoList object.''' - return lldb_iter(self, 'GetSize', 'GetMemoryRegionAtIndex') + import lldb + size = self.GetSize() + region = lldb.SBMemoryRegionInfo() + for i in range(size): + self.GetMemoryRegionAtIndex(i, region) + yield region # Register SBMemoryRegionInfoList in _lldb: @@ -9124,6 +9404,10 @@ def Continue(self): r"""Continue(SBProcess self) -> SBError""" return _lldb.SBProcess_Continue(self) + def ContinueInDirection(self, direction): + r"""ContinueInDirection(SBProcess self, lldb::RunDirection direction) -> SBError""" + return _lldb.SBProcess_ContinueInDirection(self, direction) + def Stop(self): r"""Stop(SBProcess self) -> SBError""" return _lldb.SBProcess_Stop(self) @@ -9257,6 +9541,14 @@ def ReadPointerFromMemory(self, addr, error): """ return _lldb.SBProcess_ReadPointerFromMemory(self, addr, error) + def FindRangesInMemory(self, buf, ranges, alignment, max_matches, error): + r"""FindRangesInMemory(SBProcess self, void const * buf, SBAddressRangeList ranges, uint32_t alignment, uint32_t max_matches, SBError error) -> SBAddressRangeList""" + return _lldb.SBProcess_FindRangesInMemory(self, buf, ranges, alignment, max_matches, error) + + def FindInMemory(self, buf, range, alignment, error): + r"""FindInMemory(SBProcess self, void const * buf, SBAddressRange range, uint32_t alignment, SBError error) -> lldb::addr_t""" + return _lldb.SBProcess_FindInMemory(self, buf, range, alignment, error) + @staticmethod def GetStateFromEvent(event): r"""GetStateFromEvent(SBEvent event) -> lldb::StateType""" @@ -9391,6 +9683,7 @@ def SaveCore(self, *args): r""" SaveCore(SBProcess self, char const * file_name, char const * flavor, lldb::SaveCoreStyle core_style) -> SBError SaveCore(SBProcess self, char const * file_name) -> SBError + SaveCore(SBProcess self, SBSaveCoreOptions options) -> SBError """ return _lldb.SBProcess_SaveCore(self, *args) @@ -9399,7 +9692,18 @@ def GetMemoryRegionInfo(self, load_addr, region_info): return _lldb.SBProcess_GetMemoryRegionInfo(self, load_addr, region_info) def GetMemoryRegions(self): - r"""GetMemoryRegions(SBProcess self) -> SBMemoryRegionInfoList""" + r""" + GetMemoryRegions(SBProcess self) -> SBMemoryRegionInfoList + + Get a list of all the memory regions associated with this process. :: + + readable_regions = [] + for region in process.GetMemoryRegions(): + if region.IsReadable(): + readable_regions.append(region) + + + """ return _lldb.SBProcess_GetMemoryRegions(self) def GetProcessInfo(self): @@ -9735,6 +10039,92 @@ def __iter__(self): # Register SBProcessInfoList in _lldb: _lldb.SBProcessInfoList_swigregister(SBProcessInfoList) +class SBProgress(object): + r""" + A Progress indicator helper class. + + Any potentially long running sections of code in LLDB should report + progress so that clients are aware of delays that might appear during + debugging. Delays commonly include indexing debug information, parsing + symbol tables for object files, downloading symbols from remote + repositories, and many more things. + + The Progress class helps make sure that progress is correctly reported + and will always send an initial progress update, updates when + Progress::Increment() is called, and also will make sure that a progress + completed update is reported even if the user doesn't explicitly cause one + to be sent. + + Progress can either be deterministic, incrementing up to a known total or non-deterministic + with an unbounded total. Deterministic is better if you know the items of work in advance, but non-deterministic + exposes a way to update a user during a long running process that work is taking place. + + For all progresses the details provided in the constructor will be sent until an increment detail + is provided. This detail will also continue to be broadcasted on any subsequent update that doesn't + specify a new detail. Some implementations differ on throttling updates and this behavior differs primarily + if the progress is deterministic or non-deterministic. For DAP, non-deterministic update messages have a higher + throttling rate than deterministic ones. + + Below are examples in Python for deterministic and non-deterministic progresses. :: + + deterministic_progress1 = lldb.SBProgress('Deterministic Progress', 'Detail', 3, lldb.SBDebugger) + for i in range(3): + deterministic_progress1.Increment(1, f'Update {i}') + # The call to Finalize() is a no-op as we already incremented the right amount of + # times and caused the end event to be sent. + deterministic_progress1.Finalize() + + deterministic_progress2 = lldb.SBProgress('Deterministic Progress', 'Detail', 10, lldb.SBDebugger) + for i in range(3): + deterministic_progress2.Increment(1, f'Update {i}') + # Cause the progress end event to be sent even if we didn't increment the right + # number of times. Real world examples would be in a try-finally block to ensure + # progress clean-up. + deterministic_progress2.Finalize() + + If you don't call Finalize() when the progress is not done, the progress object will eventually get + garbage collected by the Python runtime, the end event will eventually get sent, but it is best not to + rely on the garbage collection when using lldb.SBProgress. + + Non-deterministic progresses behave the same, but omit the total in the constructor. :: + + non_deterministic_progress = lldb.SBProgress('Non deterministic progress, 'Detail', lldb.SBDebugger) + for i in range(10): + non_deterministic_progress.Increment(1) + # Explicitly send a progressEnd, otherwise this will be sent + # when the python runtime cleans up this object. + non_deterministic_progress.Finalize() + + """ + + thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag") + __repr__ = _swig_repr + + def __init__(self, *args): + r""" + __init__(SBProgress self, char const * title, char const * details, SBDebugger debugger) -> SBProgress + __init__(SBProgress self, char const * title, char const * details, uint64_t total_units, SBDebugger debugger) -> SBProgress + """ + _lldb.SBProgress_swiginit(self, _lldb.new_SBProgress(*args)) + __swig_destroy__ = _lldb.delete_SBProgress + + def Increment(self, amount, description=None): + r"""Increment(SBProgress self, uint64_t amount, char const * description=None)""" + return _lldb.SBProgress_Increment(self, amount, description) + + def Finalize(self): + r""" + Finalize(SBProgress self) + Finalize the SBProgress, which will cause a progress end event to be emitted. This + happens automatically when the SBProcess object is destroyed, but can be done explicitly + with Finalize to avoid having to rely on the language semantics for destruction. + + Note once finalized, no further increments will be processed. + """ + return _lldb.SBProgress_Finalize(self) + +# Register SBProgress in _lldb: +_lldb.SBProgress_swigregister(SBProgress) class SBQueue(object): r"""Represents a libdispatch queue in the process.""" @@ -10208,6 +10598,30 @@ def GetSummaryOnly(self): """ return _lldb.SBStatisticsOptions_GetSummaryOnly(self) + def SetIncludeTargets(self, b): + r"""SetIncludeTargets(SBStatisticsOptions self, bool b)""" + return _lldb.SBStatisticsOptions_SetIncludeTargets(self, b) + + def GetIncludeTargets(self): + r"""GetIncludeTargets(SBStatisticsOptions self) -> bool""" + return _lldb.SBStatisticsOptions_GetIncludeTargets(self) + + def SetIncludeModules(self, b): + r"""SetIncludeModules(SBStatisticsOptions self, bool b)""" + return _lldb.SBStatisticsOptions_SetIncludeModules(self, b) + + def GetIncludeModules(self): + r"""GetIncludeModules(SBStatisticsOptions self) -> bool""" + return _lldb.SBStatisticsOptions_GetIncludeModules(self) + + def SetIncludeTranscript(self, b): + r"""SetIncludeTranscript(SBStatisticsOptions self, bool b)""" + return _lldb.SBStatisticsOptions_SetIncludeTranscript(self, b) + + def GetIncludeTranscript(self): + r"""GetIncludeTranscript(SBStatisticsOptions self) -> bool""" + return _lldb.SBStatisticsOptions_GetIncludeTranscript(self) + def SetReportAllAvailableDebugInfo(self, b): r""" SetReportAllAvailableDebugInfo(SBStatisticsOptions self, bool b) @@ -11027,6 +11441,10 @@ def GetStatistics(self, *args): """ return _lldb.SBTarget_GetStatistics(self, *args) + def ResetStatistics(self): + r"""ResetStatistics(SBTarget self)""" + return _lldb.SBTarget_ResetStatistics(self) + def GetPlatform(self): r""" GetPlatform(SBTarget self) -> SBPlatform @@ -11953,11 +12371,11 @@ def __getitem__(self, key): module = self.sbtarget.GetModuleAtIndex(idx) if module.uuid == key: return module - elif type(key) is re.SRE_Pattern: + elif isinstance(key, type(re.compile(''))): matching_modules = [] for idx in range(num_modules): module = self.sbtarget.GetModuleAtIndex(idx) - re_match = key.search(module.path.fullpath) + re_match = key.search(module.file.fullpath) if re_match: matching_modules.append(module) return matching_modules @@ -12616,6 +13034,20 @@ def get_thread_frames(self): frames.append(frame) return frames + def get_stop_reason_data(self): + return [ + self.GetStopReasonDataAtIndex(idx) + for idx in range(self.GetStopReasonDataCount()) + ] + + def set_selected_frame(self, frame): + if isinstance(frame, SBFrame): + if frame.thread != self: + raise ValueError("cannot select frame from different thread") + self.SetSelectedFrame(frame.idx) + else: + self.SetSelectedFrame(frame) + id = property(GetThreadID, None, doc='''A read only property that returns the thread ID as an integer.''') idx = property(GetIndexID, None, doc='''A read only property that returns the thread index ID as an integer. Thread index ID values start at 1 and increment as threads come and go and can be used to uniquely identify threads.''') return_value = property(GetStopReturnValue, None, doc='''A read only property that returns an lldb object that represents the return value from the last stop (lldb.SBValue) if we just stopped due to stepping out of a function.''') @@ -12627,8 +13059,10 @@ def get_thread_frames(self): queue = property(GetQueueName, None, doc='''A read only property that returns the dispatch queue name of this thread as a string.''') queue_id = property(GetQueueID, None, doc='''A read only property that returns the dispatch queue id of this thread as an integer.''') stop_reason = property(GetStopReason, None, doc='''A read only property that returns an lldb enumeration value (see enumerations that start with "lldb.eStopReason") that represents the reason this thread stopped.''') + stop_reason_data = property(get_stop_reason_data, None, doc='''A read only property that returns the stop reason data as a list.''') is_suspended = property(IsSuspended, None, doc='''A read only property that returns a boolean value that indicates if this thread is suspended.''') is_stopped = property(IsStopped, None, doc='''A read only property that returns a boolean value that indicates if this thread is stopped but not exited.''') + selected_frame = property(GetSelectedFrame, set_selected_frame, doc='''A read/write property that gets and sets the selected frame of this SBThread.''') def __eq__(self, rhs): @@ -13812,6 +14246,10 @@ def GetTemplateArgumentType(self, idx): """ return _lldb.SBType_GetTemplateArgumentType(self, idx) + def GetTemplateArgumentValue(self, target, idx): + r"""GetTemplateArgumentValue(SBType self, SBTarget target, uint32_t idx) -> SBValue""" + return _lldb.SBType_GetTemplateArgumentValue(self, target, idx) + def GetTemplateArgumentKind(self, idx): r""" GetTemplateArgumentKind(SBType self, uint32_t idx) -> lldb::TemplateArgumentKind @@ -15437,6 +15875,10 @@ def GetNonSyntheticValue(self): r"""GetNonSyntheticValue(SBValue self) -> SBValue""" return _lldb.SBValue_GetNonSyntheticValue(self) + def GetSyntheticValue(self): + r"""GetSyntheticValue(SBValue self) -> SBValue""" + return _lldb.SBValue_GetSyntheticValue(self) + def GetPreferDynamicValue(self): r"""GetPreferDynamicValue(SBValue self) -> lldb::DynamicValueType""" return _lldb.SBValue_GetPreferDynamicValue(self) @@ -15519,6 +15961,10 @@ def CreateValueFromData(self, name, data, type): r"""CreateValueFromData(SBValue self, char const * name, SBData data, SBType type) -> SBValue""" return _lldb.SBValue_CreateValueFromData(self, name, data, type) + def CreateBoolValue(self, name, value): + r"""CreateBoolValue(SBValue self, char const * name, bool value) -> SBValue""" + return _lldb.SBValue_CreateBoolValue(self, name, value) + def GetChildAtIndex(self, *args): r""" GetChildAtIndex(SBValue self, uint32_t idx) -> SBValue @@ -15791,7 +16237,7 @@ def __get_dynamic__ (self): return self.GetDynamicValue (eDynamicCanRunTarget) class children_access(object): - '''A helper object that will lazily hand out thread for a process when supplied an index.''' + '''A helper object that will lazily hand out child values when supplied an index.''' def __init__(self, sbvalue): self.sbvalue = sbvalue @@ -15813,6 +16259,19 @@ def get_child_access_object(self): '''An accessor function that returns a children_access() object which allows lazy member variable access from a lldb.SBValue object.''' return self.children_access (self) + def get_member_access_object(self): + '''An accessor function that returns an interface which provides subscript based lookup of child members.''' + class member_access: + def __init__(self, valobj): + self.valobj = valobj + + def __getitem__(self, key): + if isinstance(key, str): + return self.valobj.GetChildMemberWithName(key) + raise TypeError("member key must be a string") + + return member_access(self) + def get_value_child_list(self): '''An accessor function that returns a list() that contains all children in a lldb.SBValue object.''' children = [] @@ -15834,6 +16293,7 @@ def __len__(self): children = property(get_value_child_list, None, doc='''A read only property that returns a list() of lldb.SBValue objects for the children of the value.''') child = property(get_child_access_object, None, doc='''A read only property that returns an object that can access children of a variable by index (child_value = value.children[12]).''') + member = property(get_member_access_object, None, doc='''A read only property that returns an object that can access child members by name.''') name = property(GetName, None, doc='''A read only property that returns the name of this value as a string.''') type = property(GetType, None, doc='''A read only property that returns a lldb.SBType object that represents the type for this value.''') size = property(GetByteSize, None, doc='''A read only property that returns the size in bytes of this value.''') diff --git a/lldb/source/Core/Mangled.cpp b/lldb/source/Core/Mangled.cpp index 40db58844fd43..c9f8ae5b94417 100644 --- a/lldb/source/Core/Mangled.cpp +++ b/lldb/source/Core/Mangled.cpp @@ -314,6 +314,7 @@ ConstString Mangled::GetDemangledName(// BEGIN SWIFT // explicitly unsupported on llvm.org. #ifdef LLDB_ENABLE_SWIFT { + const char *mangled_name = m_mangled.GetCString(); Log *log = GetLog(LLDBLog::Demangle); LLDB_LOGF(log, "demangle swift: %s", mangled_name); std::string demangled(SwiftLanguageRuntime::DemangleSymbolAsString( diff --git a/lldb/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp b/lldb/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp index 78d1596ec7635..5b94618d41e06 100644 --- a/lldb/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp +++ b/lldb/source/Host/macosx/objcxx/HostInfoMacOSXSwift.cpp @@ -285,12 +285,12 @@ HostInfoMacOSX::GetSwiftResourceDir(llvm::Triple triple, if (it != g_resource_dir_cache.end()) return it->getValue(); - auto value = DetectSwiftResourceDir( - platform_sdk_path, swift_stdlib_os_dir, - HostInfo::GetSwiftResourceDir().GetPath(), - HostInfo::GetXcodeContentsDirectory().GetPath(), - PlatformDarwin::GetCurrentToolchainDirectory().GetPath(), - PlatformDarwin::GetCurrentCommandLineToolsDirectory().GetPath()); + auto value = + DetectSwiftResourceDir(platform_sdk_path, swift_stdlib_os_dir, + HostInfo::GetSwiftResourceDir().GetPath(), + HostInfo::GetXcodeContentsDirectory().GetPath(), + GetCurrentXcodeToolchainDirectory().GetPath(), + GetCurrentCommandLineToolsDirectory().GetPath()); g_resource_dir_cache.insert({key, value}); return g_resource_dir_cache[key]; } diff --git a/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp b/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp index 718e7fe95e2a5..288079afb9d7e 100644 --- a/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp +++ b/lldb/source/Plugins/ExpressionParser/Swift/SwiftExpressionParser.cpp @@ -48,6 +48,7 @@ #include "llvm-c/Analysis.h" #include "llvm/ADT/ArrayRef.h" +#include "llvm/ADT/RewriteBuffer.h" #include "llvm/ADT/StringRef.h" #include "llvm/BinaryFormat/Dwarf.h" #include "llvm/IR/IRBuilder.h" @@ -62,7 +63,6 @@ #include "llvm/TargetParser/Host.h" #include "clang/Basic/Module.h" -#include "clang/Rewrite/Core/RewriteBuffer.h" #include "swift/AST/ASTContext.h" #include "swift/AST/DiagnosticConsumer.h" @@ -1050,9 +1050,12 @@ MaterializeVariable(SwiftASTManipulatorBase::VariableInfo &variable, // this check scattered in several places in the codebase, we should at // some point centralize it. lldb::StackFrameSP stack_frame_sp = stack_frame_wp.lock(); - std::optional size = + auto size_or_err = variable.GetType().GetByteSize(stack_frame_sp.get()); - if (repl && size && *size == 0) { + if (!size_or_err) + return size_or_err.takeError(); + uint64_t size = *size_or_err; + if (repl && size == 0) { auto &repl_mat = *llvm::cast(&materializer); offset = repl_mat.AddREPLResultVariable( variable.GetType(), variable.GetDecl(), @@ -2341,7 +2344,7 @@ bool SwiftExpressionParser::RewriteExpression( if (num_diags == 0) return false; - clang::RewriteBuffer rewrite_buf; + llvm::RewriteBuffer rewrite_buf; llvm::StringRef text_ref(m_expr.Text()); rewrite_buf.Initialize(text_ref); diff --git a/lldb/source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp b/lldb/source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp index 18c27607cac9e..6a4d10c8d9939 100644 --- a/lldb/source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp +++ b/lldb/source/Plugins/ExpressionParser/Swift/SwiftREPLMaterializer.cpp @@ -158,7 +158,13 @@ class EntityREPLResultVariable : public Materializer::Entity { ret->ValueUpdated(); if (variable) { - const size_t pvar_byte_size = ret->GetByteSize().value_or(0); + auto pvar_byte_size_or_err = ret->GetByteSize(); + if (!pvar_byte_size_or_err) { + err = Status::FromError(pvar_byte_size_or_err.takeError()); + return; + } + + const uint64_t pvar_byte_size = *pvar_byte_size_or_err; uint8_t *pvar_data = ret->GetValueBytes(); Status read_error; @@ -226,9 +232,13 @@ class EntityREPLResultVariable : public Materializer::Entity { demangle_ctx.clear(); } - std::optional size = + auto size_or_err = m_type.GetByteSize(execution_unit->GetBestExecutionContextScope()); - if (size && *size == 0) { + if (!size_or_err) { + err = Status::FromError(size_or_err.takeError()); + return; + } + if (*size_or_err == 0) { MakeREPLResult(*execution_unit, err, nullptr); return; } @@ -413,10 +423,15 @@ class EntityREPLPersistentVariable : public Materializer::Entity { FixupResilientGlobal(var_addr, compiler_type, *execution_unit, exe_scope->CalculateProcess(), read_error); + auto size_or_err = m_persistent_variable_sp->GetByteSize(); + if (!size_or_err) { + err = Status::FromError(size_or_err.takeError()); + return; + } + // FIXME: This may not work if the value is not bitwise-takable. - execution_unit->ReadMemory( - m_persistent_variable_sp->GetValueBytes(), var_addr, - m_persistent_variable_sp->GetByteSize().value_or(0), read_error); + execution_unit->ReadMemory(m_persistent_variable_sp->GetValueBytes(), + var_addr, *size_or_err, read_error); if (!read_error.Success()) { err = Status::FromErrorStringWithFormatv( @@ -477,12 +492,13 @@ class EntityREPLPersistentVariable : public Materializer::Entity { if (!err.Success()) { dump_stream.Printf(" \n"); } else { - DataBufferHeap data(m_persistent_variable_sp->GetByteSize().value_or(0), - 0); + uint64_t size = + llvm::expectedToOptional(m_persistent_variable_sp->GetByteSize()) + .value_or(0); + + DataBufferHeap data(size, 0); - map.ReadMemory(data.GetBytes(), target_address, - m_persistent_variable_sp->GetByteSize().value_or(0), - err); + map.ReadMemory(data.GetBytes(), target_address, size, err); if (!err.Success()) { dump_stream.Printf(" \n"); diff --git a/lldb/source/Plugins/Language/Swift/SwiftFormatters.cpp b/lldb/source/Plugins/Language/Swift/SwiftFormatters.cpp index 13b74e372c718..4a012a59a3d4d 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftFormatters.cpp +++ b/lldb/source/Plugins/Language/Swift/SwiftFormatters.cpp @@ -2005,8 +2005,8 @@ bool lldb_private::formatters::swift::SIMDVector_SummaryProvider( return false; ExecutionContext exe_ctx = valobj.GetExecutionContextRef().Lock(true); - std::optional opt_type_size = - simd_type.GetByteSize(exe_ctx.GetBestExecutionContextScope()); + std::optional opt_type_size = llvm::expectedToOptional( + simd_type.GetByteSize(exe_ctx.GetBestExecutionContextScope())); if (!opt_type_size) return false; uint64_t type_size = *opt_type_size; @@ -2020,8 +2020,8 @@ bool lldb_private::formatters::swift::SIMDVector_SummaryProvider( if (!arg_type) return false; - std::optional opt_arg_size = - arg_type.GetByteSize(exe_ctx.GetBestExecutionContextScope()); + std::optional opt_arg_size = llvm::expectedToOptional( + arg_type.GetByteSize(exe_ctx.GetBestExecutionContextScope())); if (!opt_arg_size) return false; uint64_t arg_size = *opt_arg_size; diff --git a/lldb/source/Plugins/Language/Swift/SwiftFrameRecognizers.cpp b/lldb/source/Plugins/Language/Swift/SwiftFrameRecognizers.cpp index 579dc076ebc66..cd26f96145772 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftFrameRecognizers.cpp +++ b/lldb/source/Plugins/Language/Swift/SwiftFrameRecognizers.cpp @@ -197,12 +197,14 @@ class SwiftHiddenFrameRecognizer : public StackFrameRecognizer { if (!sc.function) return {}; - FileSpec source_file; + SupportFileSP source_file_sp; uint32_t line_no; - sc.function->GetStartLineSourceInfo(source_file, line_no); + sc.function->GetStartLineSourceInfo(source_file_sp, line_no); // FIXME: these frames should be marked artificial // by the Swift compiler. - if (source_file.GetFilename() == "" && line_no == 0) + if (source_file_sp && + source_file_sp->GetSpecOnly().GetFilename() == "" && + line_no == 0) return m_hidden_frame; auto symbol_name = diff --git a/lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp b/lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp index eac33e3e5475e..693078f390e85 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp +++ b/lldb/source/Plugins/Language/Swift/SwiftLanguage.cpp @@ -841,7 +841,7 @@ ExtractSwiftTypeNameFromCxxInteropType(CompilerType type) { } const clang::RecordDecl *record_decl = record_type->getDecl(); - auto *metadata = tsc->GetMetadata(record_decl); + auto metadata = tsc->GetMetadata(record_decl); if (metadata && !metadata->GetIsPotentiallySwiftInteropType()) return {}; diff --git a/lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp b/lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp index b348717426d8f..fcfaf59ef721d 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp +++ b/lldb/source/Plugins/Language/Swift/SwiftOptionSet.cpp @@ -118,7 +118,7 @@ void lldb_private::formatters::swift::SwiftOptionSetSummaryProvider:: std::string lldb_private::formatters::swift::SwiftOptionSetSummaryProvider:: GetDescription() { StreamString sstr; - sstr.Printf("`%s `%s%s%s%s%s%s%s", "Swift OptionSet summary provider", + sstr.Printf("`%s `%s%s%s%s%s%s%s", GetName().c_str(), Cascades() ? "" : " (not cascading)", " (may show children)", !DoesPrintValue(nullptr) ? " (hide value)" : "", IsOneLiner() ? " (one-line printout)" : "", @@ -128,6 +128,11 @@ std::string lldb_private::formatters::swift::SwiftOptionSetSummaryProvider:: return sstr.GetString().str(); } +std::string +lldb_private::formatters::swift::SwiftOptionSetSummaryProvider::GetName() { + return "Swift OptionSet summary provider"; +} + bool lldb_private::formatters::swift::SwiftOptionSetSummaryProvider:: FormatObject(ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options) { diff --git a/lldb/source/Plugins/Language/Swift/SwiftOptionSet.h b/lldb/source/Plugins/Language/Swift/SwiftOptionSet.h index 3516d0890b53b..300fcd05e58c0 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftOptionSet.h +++ b/lldb/source/Plugins/Language/Swift/SwiftOptionSet.h @@ -34,6 +34,7 @@ struct SwiftOptionSetSummaryProvider : public TypeSummaryImpl { bool FormatObject(ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options) override; std::string GetDescription() override; + std::string GetName() override; bool DoesPrintChildren(ValueObject *valobj) const override; private: diff --git a/lldb/source/Plugins/Language/Swift/SwiftOptional.cpp b/lldb/source/Plugins/Language/Swift/SwiftOptional.cpp index 04ab534b276cd..443e3d0e6e542 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftOptional.cpp +++ b/lldb/source/Plugins/Language/Swift/SwiftOptional.cpp @@ -28,7 +28,7 @@ using namespace lldb_private::formatters::swift; std::string lldb_private::formatters::swift::SwiftOptionalSummaryProvider:: GetDescription() { StreamString sstr; - sstr.Printf("`%s `%s%s%s%s%s%s%s", "Swift.Optional summary provider", + sstr.Printf("`%s `%s%s%s%s%s%s%s", GetName().c_str(), Cascades() ? "" : " (not cascading)", " (may show children)", !DoesPrintValue(nullptr) ? " (hide value)" : "", IsOneLiner() ? " (one-line printout)" : "", @@ -38,6 +38,11 @@ std::string lldb_private::formatters::swift::SwiftOptionalSummaryProvider:: return sstr.GetString().str(); } +std::string +lldb_private::formatters::swift::SwiftOptionalSummaryProvider::GetName() { + return "Swift.Optional summary provider"; +} + /// If this ValueObject is an Optional with the Some(T) case selected, /// retrieve the value of the Some case. /// diff --git a/lldb/source/Plugins/Language/Swift/SwiftOptional.h b/lldb/source/Plugins/Language/Swift/SwiftOptional.h index 9196d8778abf7..a7a59b8e2e731 100644 --- a/lldb/source/Plugins/Language/Swift/SwiftOptional.h +++ b/lldb/source/Plugins/Language/Swift/SwiftOptional.h @@ -31,6 +31,7 @@ struct SwiftOptionalSummaryProvider : public TypeSummaryImpl { bool FormatObject(ValueObject *valobj, std::string &dest, const TypeSummaryOptions &options) override; std::string GetDescription() override; + std::string GetName() override; bool DoesPrintChildren(ValueObject *valobj) const override; bool DoesPrintValue(ValueObject *valobj) const override; diff --git a/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp b/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp index 5b64aaa2b9b81..9ef06da75ff94 100644 --- a/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp +++ b/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntime.cpp @@ -2538,7 +2538,7 @@ static llvm::Expected ReadAsyncContextRegisterFromUnwind( pc.GetFileAddress()); const RegisterKind unwind_regkind = unwind_plan->GetRegisterKind(); - UnwindPlan::RowSP row = unwind_plan->GetRowForFunctionOffset( + auto *row = unwind_plan->GetRowForFunctionOffset( pc.GetFileAddress() - func_start_addr.GetFileAddress()); // To request info about a register from the unwind plan, the register must @@ -2707,26 +2707,26 @@ SwiftLanguageRuntime::GetRuntimeUnwindPlan(ProcessSP process_sp, if (!async_ctx) return log_expected(async_ctx.takeError()); - UnwindPlan::RowSP row(new UnwindPlan::Row); + UnwindPlan::Row row; const int32_t ptr_size = 8; - row->SetOffset(0); + row.SetOffset(0); // The CFA of a funclet is its own async context. - row->GetCFAValue().SetIsConstant(*async_ctx); + row.GetCFAValue().SetIsConstant(*async_ctx); // The value of the async register in the parent frame (which is the // continuation funclet) is the async context of this frame. - row->SetRegisterLocationToIsConstant(regnums->async_ctx_regnum, *async_ctx, - /*can_replace=*/false); + row.SetRegisterLocationToIsConstant(regnums->async_ctx_regnum, *async_ctx, + /*can_replace=*/false); if (std::optional pc_after_prologue = TrySkipVirtualParentProlog(*async_ctx, *process_sp)) - row->SetRegisterLocationToIsConstant(regnums->pc_regnum, *pc_after_prologue, - false); + row.SetRegisterLocationToIsConstant(regnums->pc_regnum, *pc_after_prologue, + false); else - row->SetRegisterLocationToAtCFAPlusOffset(regnums->pc_regnum, ptr_size, - false); - row->SetUnspecifiedRegistersAreUndefined(true); + row.SetRegisterLocationToAtCFAPlusOffset(regnums->pc_regnum, ptr_size, + false); + row.SetUnspecifiedRegistersAreUndefined(true); UnwindPlanSP plan = std::make_shared(lldb::eRegisterKindDWARF); plan->AppendRow(row); @@ -2744,31 +2744,31 @@ UnwindPlanSP SwiftLanguageRuntime::GetFollowAsyncContextUnwindPlan( bool &behaves_like_zeroth_frame) { LLDB_SCOPED_TIMER(); - UnwindPlan::RowSP row(new UnwindPlan::Row); + UnwindPlan::Row row; const int32_t ptr_size = 8; - row->SetOffset(0); + row.SetOffset(0); std::optional regnums = GetAsyncUnwindRegisterNumbers(arch.GetMachine()); if (!regnums) return UnwindPlanSP(); - row->GetCFAValue().SetIsRegisterDereferenced(regnums->async_ctx_regnum); + row.GetCFAValue().SetIsRegisterDereferenced(regnums->async_ctx_regnum); // The value of the async register in the parent frame (which is the // continuation funclet) is the async context of this frame. - row->SetRegisterLocationToIsCFAPlusOffset(regnums->async_ctx_regnum, - /*offset*/ 0, false); + row.SetRegisterLocationToIsCFAPlusOffset(regnums->async_ctx_regnum, + /*offset*/ 0, false); const unsigned num_indirections = 1; if (std::optional pc_after_prologue = TrySkipVirtualParentProlog( GetAsyncContext(regctx), *process_sp, num_indirections)) - row->SetRegisterLocationToIsConstant(regnums->pc_regnum, *pc_after_prologue, - false); + row.SetRegisterLocationToIsConstant(regnums->pc_regnum, *pc_after_prologue, + false); else - row->SetRegisterLocationToAtCFAPlusOffset(regnums->pc_regnum, ptr_size, - false); + row.SetRegisterLocationToAtCFAPlusOffset(regnums->pc_regnum, ptr_size, + false); - row->SetUnspecifiedRegistersAreUndefined(true); + row.SetUnspecifiedRegistersAreUndefined(true); UnwindPlanSP plan = std::make_shared(lldb::eRegisterKindDWARF); plan->AppendRow(row); diff --git a/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp b/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp index 431c4029b3ff4..b15dc41d20996 100644 --- a/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp +++ b/lldb/source/Plugins/LanguageRuntime/Swift/SwiftLanguageRuntimeDynamicTypeResolution.cpp @@ -2905,8 +2905,7 @@ std::optional GetSwiftClass(ValueObject &valobj, auto isa_load_addr = descriptor_sp->GetISA(); Address isa; - const auto §ions = objc_runtime.GetTargetRef().GetSectionLoadList(); - if (!sections.ResolveLoadAddress(isa_load_addr, isa)) + if (!objc_runtime.GetTargetRef().ResolveLoadAddress(isa_load_addr, isa)) return {}; // Next, iterate over the Module's symbol table, looking for a symbol with diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.cpp index 1e84d4911a669..79383a1ccfaa9 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.cpp @@ -32,6 +32,8 @@ #include "lldb/Utility/Log.h" #include "lldb/Utility/Status.h" +#include "llvm/DebugInfo/DWARF/DWARFAddressRange.h" + #include "clang/AST/DeclObjC.h" using namespace lldb; @@ -254,10 +256,8 @@ DWARFASTParserSwift::ConstructDemangledNameFromDWARF(const DWARFDIE &die) { Function *DWARFASTParserSwift::ParseFunctionFromDWARF( lldb_private::CompileUnit &comp_unit, const DWARFDIE &die, - const lldb_private::AddressRange &func_range) { - assert(func_range.GetBaseAddress().IsValid()); - - DWARFRangeList func_ranges; + lldb_private::AddressRanges ranges) { + llvm::DWARFAddressRangesVector unused_ranges; const char *name = NULL; const char *mangled = NULL; std::optional decl_file = 0; @@ -271,9 +271,9 @@ Function *DWARFASTParserSwift::ParseFunctionFromDWARF( if (die.Tag() != DW_TAG_subprogram) return NULL; - if (die.GetDIENamesAndRanges(name, mangled, func_ranges, decl_file, decl_line, - decl_column, call_file, call_line, call_column, - &frame_base)) { + if (die.GetDIENamesAndRanges(name, mangled, unused_ranges, decl_file, + decl_line, decl_column, call_file, call_line, + call_column, &frame_base)) { // Union of all ranges in the function DIE (if the function is // discontiguous) @@ -309,10 +309,28 @@ Function *DWARFASTParserSwift::ParseFunctionFromDWARF( const user_id_t func_user_id = die.GetID(); bool is_generic_trampoline = die.IsGenericTrampoline(); + + // The base address of the scope for any of the debugging information + // entries listed above is given by either the DW_AT_low_pc attribute or the + // first address in the first range entry in the list of ranges given by the + // DW_AT_ranges attribute. + // -- DWARFv5, Section 2.17 Code Addresses, Ranges and Base Addresses + // + // If no DW_AT_entry_pc attribute is present, then the entry address is + // assumed to be the same as the base address of the containing scope. + // -- DWARFv5, Section 2.18 Entry Address + // + // We currently don't support Debug Info Entries with + // DW_AT_low_pc/DW_AT_entry_pc and DW_AT_ranges attributes (the latter + // attributes are ignored even though they should be used for the address of + // the function), but compilers also don't emit that kind of information. If + // this becomes a problem we need to plumb these attributes separately. + Address func_addr = ranges[0].GetBaseAddress(); + func_sp.reset(new Function(&comp_unit, func_user_id, func_user_id, - func_name, nullptr, - func_range, // first address range - can_throw, is_generic_trampoline)); + func_name, nullptr, std::move(func_addr), + std::move(ranges), can_throw, + is_generic_trampoline)); if (func_sp.get() != NULL) { if (frame_base.IsValid()) diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.h b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.h index 1aacf38ec86b7..03f7f73c19444 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.h +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFASTParserSwift.h @@ -47,11 +47,11 @@ class DWARFASTParserSwift : public lldb_private::plugin::dwarf::DWARFASTParser, lldb_private::Function * ParseFunctionFromDWARF(lldb_private::CompileUnit &comp_unit, const DWARFDIE &die, - const lldb_private::AddressRange &func_range) override; + lldb_private::AddressRanges ranges) override; - bool - CompleteTypeFromDWARF(const DWARFDIE &die, lldb_private::Type *type, - lldb_private::CompilerType &compiler_type) override { + bool CompleteTypeFromDWARF( + const DWARFDIE &die, lldb_private::Type *type, + const lldb_private::CompilerType &compiler_type) override { return false; } @@ -70,8 +70,7 @@ class DWARFASTParserSwift : public lldb_private::plugin::dwarf::DWARFASTParser, lldb_private::CompilerDeclContext decl_context) override {} // FIXME: What should this do? - std::string - GetDIEClassTemplateParams(const DWARFDIE &die) override { + std::string GetDIEClassTemplateParams(DWARFDIE die) override { assert(false && "DWARFASTParserSwift::GetDIEClassTemplateParams has not " "yet been implemented"); return {}; diff --git a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp index ab9c88d695682..c2eb9cf853f51 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/SwiftASTContext.cpp @@ -4871,7 +4871,7 @@ static CompilerType ValueDeclToType(swift::ValueDecl *decl) { swift::TypeAliasDecl *alias_decl = swift::cast(decl); swift::Type swift_type = swift::TypeAliasType::get( - alias_decl, swift::Type(), swift::SubstitutionMap(), + alias_decl, swift::Type(), llvm::ArrayRef(), alias_decl->getUnderlyingType()); return ToCompilerType({swift_type.getPointer()}); } @@ -4930,7 +4930,7 @@ static SwiftASTContext::TypeOrDecl DeclToTypeOrDecl(swift::Decl *decl) { swift::TypeAliasDecl *alias_decl = swift::cast(decl); swift::Type swift_type = swift::TypeAliasType::get( - alias_decl, swift::Type(), swift::SubstitutionMap(), + alias_decl, swift::Type(), llvm::ArrayRef(), alias_decl->getUnderlyingType()); return ToCompilerType(swift_type.getPointer()); } @@ -4959,7 +4959,6 @@ static SwiftASTContext::TypeOrDecl DeclToTypeOrDecl(swift::Decl *decl) { break; case swift::DeclKind::Accessor: - case swift::DeclKind::PoundDiagnostic: break; } } @@ -5289,7 +5288,7 @@ swift::irgen::IRGenModule &SwiftASTContext::GetIRGenModule() { PSPs.MainInputFilenameForDebugInfo, "")); llvm::Module *llvm_module = m_ir_gen_module_ap->getModule(); llvm_module->setDataLayout(data_layout.getStringRepresentation()); - llvm_module->setTargetTriple(llvm_triple.str()); + llvm_module->setTargetTriple(llvm_triple); } } }); diff --git a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp index c897b2dc824e6..12613fc6eca94 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp +++ b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.cpp @@ -389,16 +389,19 @@ CompilerType TypeSystemSwiftTypeRef::GetTypeFromTypeMetadataNode( TypeSP TypeSystemSwiftTypeRef::LookupClangType(StringRef name_ref) { llvm::SmallVector decl_context; // Make up a decl context for non-nested types. - decl_context.push_back({CompilerContextKind::AnyModule, ConstString()}); decl_context.push_back({CompilerContextKind::AnyType, ConstString(name_ref)}); - return LookupClangType(name_ref, decl_context); + return LookupClangType(name_ref, decl_context, /*ignore_modules=*/true); } /// Look up one Clang type in a module. static TypeSP LookupClangType(Module &m, - llvm::ArrayRef decl_context) { - TypeQuery query(decl_context, TypeQueryOptions::e_find_one | - TypeQueryOptions::e_module_search); + llvm::ArrayRef decl_context, + bool ignore_modules) { + auto opts = TypeQueryOptions::e_find_one | TypeQueryOptions::e_module_search; + if (ignore_modules) { + opts |= TypeQueryOptions::e_ignore_modules; + } + TypeQuery query(decl_context, opts); query.SetLanguages(TypeSystemClang::GetSupportedLanguagesForTypes()); TypeResults results; m.FindTypes(query, results); @@ -407,16 +410,17 @@ static TypeSP LookupClangType(Module &m, TypeSP TypeSystemSwiftTypeRef::LookupClangType( StringRef name_ref, llvm::ArrayRef decl_context, - ExecutionContext *exe_ctx) { + bool ignore_modules, ExecutionContext *exe_ctx) { Module *m = GetModule(); if (!m) return {}; - return ::LookupClangType(const_cast(*m), decl_context); + return ::LookupClangType(const_cast(*m), decl_context, + ignore_modules); } TypeSP TypeSystemSwiftTypeRefForExpressions::LookupClangType( StringRef name_ref, llvm::ArrayRef decl_context, - ExecutionContext *exe_ctx) { + bool ignore_modules, ExecutionContext *exe_ctx) { // Check the cache first. Negative results are also cached. TypeSP result; ConstString name(name_ref); @@ -440,7 +444,8 @@ TypeSP TypeSystemSwiftTypeRefForExpressions::LookupClangType( // Don't recursively call into LookupClangTypes() to avoid filling // hundreds of image caches with negative results. - result = ::LookupClangType(const_cast(*m), decl_context); + result = ::LookupClangType(const_cast(*m), decl_context, + ignore_modules); // Cache it in the expression context. if (result) m_clang_type_cache.Insert(name.AsCString(), result); @@ -458,8 +463,9 @@ TypeSP TypeSystemSwiftTypeRefForExpressions::LookupClangType( /// Find a Clang type by name in module \p M. CompilerType TypeSystemSwiftTypeRef::LookupClangForwardType( - StringRef name, llvm::ArrayRef decl_context) { - if (TypeSP type = LookupClangType(name, decl_context)) + StringRef name, llvm::ArrayRef decl_context, + bool ignore_modules) { + if (TypeSP type = LookupClangType(name, decl_context, ignore_modules)) return type->GetForwardCompilerType(); return {}; } @@ -939,10 +945,11 @@ GetBuiltinAnyObjectNode(swift::Demangle::Demangler &dem) { /// Builds the decl context to look up clang types with. static bool IsClangImportedType(NodePointer node, - llvm::SmallVectorImpl &decl_context) { + llvm::SmallVectorImpl &decl_context, + bool &ignore_modules) { if (node->getKind() == Node::Kind::Module && node->hasText() && node->getText() == swift::MANGLING_MODULE_OBJC) { - decl_context.push_back({CompilerContextKind::AnyModule, ConstString()}); + ignore_modules = true; return true; } @@ -954,7 +961,8 @@ IsClangImportedType(NodePointer node, case Node::Kind::Class: case Node::Kind::Enum: case Node::Kind::TypeAlias: - if (!IsClangImportedType(node->getFirstChild(), decl_context)) + if (!IsClangImportedType(node->getFirstChild(), decl_context, + ignore_modules)) return false; // When C++ interop is enabled, Swift enums represent Swift namespaces. @@ -996,12 +1004,13 @@ TypeSystemSwiftTypeRef::ResolveTypeAlias(swift::Demangle::Demangler &dem, auto resolve_clang_type = [&]() -> CompilerType { // This is an imported Objective-C type; look it up in the debug info. llvm::SmallVector decl_context; - if (!IsClangImportedType(node, decl_context)) + bool ignore_modules = false; + if (!IsClangImportedType(node, decl_context, ignore_modules)) return {}; // Resolve the typedef within the Clang debug info. - auto clang_type = - LookupClangForwardType(mangled.GetStringRef(), decl_context); + auto clang_type = LookupClangForwardType(mangled.GetStringRef(), + decl_context, ignore_modules); if (!clang_type) return {}; @@ -1269,7 +1278,7 @@ TypeSystemSwiftTypeRef::Canonicalize(swift::Demangle::Demangler &dem, if (node->getKind() != Node::Kind::BoundGenericTypeAlias && node->getKind() != Node::Kind::TypeAlias) // Resolve any type aliases in the resolved type. - return GetCanonicalNode(dem, node); + return GetCanonicalNode(dem, node, flavor); // This type alias resolved to another type alias. } // Hit the safeguard limit. @@ -1474,12 +1483,14 @@ swift::Demangle::NodePointer TypeSystemSwiftTypeRef::GetSwiftified( } llvm::SmallVector decl_context; - if (!IsClangImportedType(node, decl_context)) + bool ignore_modules = false; + if (!IsClangImportedType(node, decl_context, ignore_modules)) return node; // This is an imported Objective-C type; look it up in the // debug info. - TypeSP clang_type = LookupClangType(mangling.result(), decl_context); + TypeSP clang_type = + LookupClangType(mangling.result(), decl_context, ignore_modules); if (!clang_type) return node; @@ -1644,24 +1655,6 @@ swift::Demangle::NodePointer TypeSystemSwiftTypeRef::GetDemangleTreeForPrinting( return GetNodeForPrintingImpl(dem, node, flavor, resolve_objc_module); } -static bool ProtocolCompositionContainsSingleObjcProtocol( - swift::Demangle::NodePointer node) { -// Kind=ProtocolList -// Kind=TypeList -// Kind=Type -// Kind=Protocol -// Kind=Module, text="__C" -// Kind=Identifier, text="SomeIdentifier" -if (node->getKind() != Node::Kind::ProtocolList) - return false; -NodePointer type_list = node->getFirstChild(); -if (type_list->getKind() != Node::Kind::TypeList || - type_list->getNumChildren() != 1) - return false; -NodePointer type = type_list->getFirstChild(); -return Contains(type, Node::Kind::Module, swift::MANGLING_MODULE_OBJC); -} - /// Determine wether this demangle tree contains a node of kind \c kind and with /// text \c text (if provided). static bool Contains(swift::Demangle::NodePointer node, @@ -1856,7 +1849,8 @@ uint32_t TypeSystemSwiftTypeRef::CollectTypeInfo( // Clang-imported types. llvm::SmallVector decl_context; - if (!IsClangImportedType(node, decl_context)) + bool ignore_modules = false; + if (!IsClangImportedType(node, decl_context, ignore_modules)) break; auto mangling = GetMangledName(dem, node, flavor); @@ -1868,7 +1862,8 @@ uint32_t TypeSystemSwiftTypeRef::CollectTypeInfo( return {}; } // Resolve the typedef within the Clang debug info. - auto clang_type = LookupClangForwardType(mangling.result(), decl_context); + auto clang_type = + LookupClangForwardType(mangling.result(), decl_context, ignore_modules); collect_clang_type(clang_type.GetCanonicalType()); return swift_flags; } @@ -4409,10 +4404,12 @@ bool TypeSystemSwiftTypeRef::IsImportedType(opaque_compiler_type_t type, // This is an imported Objective-C type; look it up in the debug info. llvm::SmallVector decl_context; - if (!IsClangImportedType(node, decl_context)) + bool ignore_modules = false; + if (!IsClangImportedType(node, decl_context, ignore_modules)) return false; if (original_type) - if (TypeSP clang_type = LookupClangType(AsMangledName(type), decl_context)) + if (TypeSP clang_type = LookupClangType(AsMangledName(type), decl_context, + ignore_modules)) *original_type = clang_type->GetForwardCompilerType(); return true; }; diff --git a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h index 26ae85e387597..2308daefb7a2e 100644 --- a/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h +++ b/lldb/source/Plugins/TypeSystem/Swift/TypeSystemSwiftTypeRef.h @@ -427,7 +427,7 @@ class TypeSystemSwiftTypeRef : public TypeSystemSwift { virtual lldb::TypeSP LookupClangType(llvm::StringRef name_ref, llvm::ArrayRef decl_context, - ExecutionContext *exe_ctx = nullptr); + bool ignore_modules, ExecutionContext *exe_ctx = nullptr); /// Attempts to convert a Clang type into a Swift type. /// For example, int is converted to Int32. @@ -526,8 +526,10 @@ class TypeSystemSwiftTypeRef : public TypeSystemSwift { clang::api_notes::APINotesManager * GetAPINotesManager(ClangExternalASTSourceCallbacks *source, unsigned id); - CompilerType LookupClangForwardType(llvm::StringRef name, - llvm::ArrayRef decl_context); + CompilerType + LookupClangForwardType(llvm::StringRef name, + llvm::ArrayRef decl_context, + bool ignore_modules); /// Resolve a type alias node and return a demangle tree for the /// resolved type. If the type alias resolves to a Clang type, return @@ -649,11 +651,10 @@ class TypeSystemSwiftTypeRefForExpressions : public TypeSystemSwiftTypeRef { unsigned GetGeneration() const { return m_generation; } /// Performs a target-wide search. /// \param exe_ctx is a hint for where to look first. - lldb::TypeSP - LookupClangType(llvm::StringRef name_ref, - llvm::ArrayRef decl_context, - ExecutionContext *exe_ctx) override; - + lldb::TypeSP LookupClangType(llvm::StringRef name_ref, + llvm::ArrayRef decl_context, + bool ignore_modules, + ExecutionContext *exe_ctx) override; friend class SwiftASTContextForExpressions; protected: