git: edde3195f9d5 - stable/12 - Regenerate lib/clang/liblldb/LLDBWrapLua.cpp with swig 4.0.2.

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Wed, 22 Dec 2021 10:05:50 UTC
The branch stable/12 has been updated by dim:

URL: https://cgit.FreeBSD.org/src/commit/?id=edde3195f9d53499565320844931e984090762b3

commit edde3195f9d53499565320844931e984090762b3
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2020-08-06 19:28:00 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2021-12-22 09:58:25 +0000

    Regenerate lib/clang/liblldb/LLDBWrapLua.cpp with swig 4.0.2.
    
    (cherry picked from commit 0bbb5849a355d0220a356eee3f5a421b7e3264fa)
---
 lib/clang/liblldb/LLDBWrapLua.cpp | 2447 +++++++++++++++++++++++++------------
 1 file changed, 1648 insertions(+), 799 deletions(-)

diff --git a/lib/clang/liblldb/LLDBWrapLua.cpp b/lib/clang/liblldb/LLDBWrapLua.cpp
index 6919b235ad8d..702ea1ce2169 100644
--- a/lib/clang/liblldb/LLDBWrapLua.cpp
+++ b/lib/clang/liblldb/LLDBWrapLua.cpp
@@ -1,6 +1,6 @@
 /* ----------------------------------------------------------------------------
  * This file was automatically generated by SWIG (http://www.swig.org).
- * Version 3.0.12
+ * Version 4.0.2
  *
  * This file is not intended to be easily readable and contains a number of
  * coding conventions designed to improve portability and efficiency. Do not make
@@ -209,6 +209,7 @@ template <typename T> T SwigValueInit() {
 /* Flags for pointer conversions */
 #define SWIG_POINTER_DISOWN        0x1
 #define SWIG_CAST_NEW_MEMORY       0x2
+#define SWIG_POINTER_NO_NULL       0x4
 
 /* Flags for new pointer objects */
 #define SWIG_POINTER_OWN           0x1
@@ -737,6 +738,23 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
 }
 #endif
 
+/*  Errors in SWIG */
+#define  SWIG_UnknownError    	   -1
+#define  SWIG_IOError        	   -2
+#define  SWIG_RuntimeError   	   -3
+#define  SWIG_IndexError     	   -4
+#define  SWIG_TypeError      	   -5
+#define  SWIG_DivisionByZero 	   -6
+#define  SWIG_OverflowError  	   -7
+#define  SWIG_SyntaxError    	   -8
+#define  SWIG_ValueError     	   -9
+#define  SWIG_SystemError    	   -10
+#define  SWIG_AttributeError 	   -11
+#define  SWIG_MemoryError    	   -12
+#define  SWIG_NullReferenceError   -13
+
+
+
 /* -----------------------------------------------------------------------------
  * luarun.swg
  *
@@ -919,8 +937,8 @@ typedef struct swig_elua_entry {
  * -------------------------------------------------------------------------- */
 
 /* Push the string STR on the Lua stack, like lua_pushstring, but
-   prefixed with the the location of the innermost Lua call-point
-   (as formated by luaL_where).  */
+   prefixed with the location of the innermost Lua call-point
+   (as formatted by luaL_where).  */
 SWIGRUNTIME void
 SWIG_Lua_pusherrstring (lua_State *L, const char *str)
 {
@@ -930,8 +948,8 @@ SWIG_Lua_pusherrstring (lua_State *L, const char *str)
 }
 
 /* Push a formatted string generated from FMT and following args on
-   the Lua stack, like lua_pushfstring, but prefixed with the the
-   location of the innermost Lua call-point (as formated by luaL_where).  */
+   the Lua stack, like lua_pushfstring, but prefixed with the
+   location of the innermost Lua call-point (as formatted by luaL_where).  */
 SWIGRUNTIME void
 SWIG_Lua_pushferrstring (lua_State *L, const char *fmt, ...)
 {
@@ -1028,7 +1046,7 @@ to tell the two structures apart within SWIG, other than by looking at the type
 typedef struct {
   swig_type_info   *type;
   int     own;  /* 1 if owned & must be destroyed */
-  char data[1];       /* arbitary amount of data */    
+  char data[1];       /* arbitrary amount of data */
 } swig_lua_rawdata;
 
 /* Common SWIG API */
@@ -1080,7 +1098,7 @@ typedef struct {
 #define SWIG_isptrtype(L,I) (lua_isuserdata(L,I) || lua_isnil(L,I))
 
 #ifdef __cplusplus
-/* Special helper for member function pointers 
+/* Special helper for member function pointers
 it gets the address, casts it, then dereferences it */
 /*#define SWIG_mem_fn_as_voidptr(a)  (*((char**)&(a))) */
 #endif
@@ -1183,7 +1201,7 @@ SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_ent
           lua_pop(L,1); /*remove nil */
           lua_newtable(L);
           SWIG_Lua_elua_emulate_register(L,entry->value.value.table);
-        } 
+        }
         if(is_metatable) {
           assert(lua_istable(L,-1));
           lua_pushvalue(L,-1);
@@ -1192,11 +1210,11 @@ SWIGINTERN void SWIG_Lua_elua_emulate_register(lua_State *L, const swig_elua_ent
 
         break;
       case LUA_TUSERDATA:
-        if(entry->value.value.userdata.member) 
+        if(entry->value.value.userdata.member)
           SWIG_NewMemberObj(L,entry->value.value.userdata.pvalue,
               entry->value.value.userdata.lvalue,
               *(entry->value.value.userdata.ptype));
-        else 
+        else
           SWIG_NewPointerObj(L,entry->value.value.userdata.pvalue,
               *(entry->value.value.userdata.ptype),0);
         break;
@@ -1241,7 +1259,7 @@ SWIGINTERN int SWIG_Lua_emulate_elua_getmetatable(lua_State *L)
   }
   assert(lua_gettop(L) == 2);
   return 1;
-  
+
 fail:
   lua_error(L);
   return 0;
@@ -1259,7 +1277,7 @@ SWIGINTERN void SWIG_Lua_emulate_elua_swap_getmetatable(lua_State *L)
   lua_pushcfunction(L, SWIG_Lua_emulate_elua_getmetatable);
   lua_rawset(L,-3);
   lua_pop(L,2);
-      
+
 }
 /* END OF REMOVE */
 
@@ -1778,17 +1796,11 @@ SWIGINTERN int  SWIG_Lua_class_tostring(lua_State *L)
 {
 /*  there should be 1 param passed in
   (1) userdata (not the metatable) */
-  const char *className;
-  void* userData;
+  swig_lua_userdata* userData;
   assert(lua_isuserdata(L,1));  /* just in case */
-  userData = lua_touserdata(L,1); /* get the userdata address for later */
-  lua_getmetatable(L,1);    /* get the meta table */
-  assert(lua_istable(L,-1));  /* just in case */
+  userData = (swig_lua_userdata*)lua_touserdata(L,1); /* get the userdata address */
 
-  lua_getfield(L, -1, ".type");
-  className = lua_tostring(L, -1);
-
-  lua_pushfstring(L, "<%s userdata: %p>", className, userData);
+  lua_pushfstring(L, "<userdata of type '%s' at %p>", userData->type->str, userData->ptr);
   return 1;
 }
 
@@ -1800,7 +1812,7 @@ SWIGINTERN int  SWIG_Lua_class_disown(lua_State *L)
   swig_lua_userdata *usr;
   assert(lua_isuserdata(L,-1));  /* just in case */
   usr=(swig_lua_userdata*)lua_touserdata(L,-1);  /* get it */
-  
+
   usr->own = 0; /* clear our ownership */
   return 0;
 }
@@ -1909,7 +1921,7 @@ SWIGINTERN void  SWIG_Lua_get_class_metatable(lua_State *L,const char *cname)
 Each class structure has a list of pointers to the base class structures.
 This function fills them.
 It cannot be done at compile time, as this will not work with hireachies
-spread over more than one swig file. 
+spread over more than one swig file.
 Therefore it must be done at runtime, querying the SWIG type system.
 */
 SWIGINTERN void SWIG_Lua_init_base_class(lua_State *L,swig_lua_class *clss)
@@ -2143,11 +2155,11 @@ SWIGRUNTIME int SWIG_Lua_resolve_metamethod(lua_State *L)
 
   lua_checkstack(L,5);
   numargs = lua_gettop(L); /* number of arguments to pass to actual metamethod */
-  
+
   /* Get upvalues from closure */
   lua_pushvalue(L, lua_upvalueindex(1)); /*Get function name*/
   metamethod_name_idx = lua_gettop(L);
-  
+
   lua_pushvalue(L, lua_upvalueindex(2));
   clss = (const swig_lua_class*)(lua_touserdata(L,-1));
   lua_pop(L,1); /* remove lightuserdata with clss from stack */
@@ -2179,7 +2191,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *
 
   /* metamethod name - on the top of the stack */
   assert(lua_isstring(L,-1));
-  
+
   key_index = lua_gettop(L);
 
   /* Check whether method is already defined in metatable */
@@ -2189,7 +2201,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *
     lua_pop(L,1);
     return -1;
   }
-  lua_pop(L,1); 
+  lua_pop(L,1);
 
   /* Iterating over immediate bases */
   for(i=0;clss->bases[i];i++)
@@ -2199,13 +2211,13 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *
     lua_pushvalue(L, key_index);
     lua_rawget(L, -2);
     if( !lua_isnil(L,-1) ) {
-      lua_pushvalue(L, key_index); 
+      lua_pushvalue(L, key_index);
 
       /* Add proxy function */
       lua_pushvalue(L, key_index); /* first closure value is function name */
       lua_pushlightuserdata(L, clss); /* second closure value is swig_lua_class structure */
       lua_pushcclosure(L, SWIG_Lua_resolve_metamethod, 2);
-      
+
       lua_rawset(L, metatable_index);
       success = 1;
     }
@@ -2216,7 +2228,7 @@ SWIGINTERN int SWIG_Lua_add_class_user_metamethod(lua_State *L, swig_lua_class *
       break;
   }
 
-  return success; 
+  return success;
 }
 
 SWIGINTERN void SWIG_Lua_add_class_user_metamethods(lua_State *L, swig_lua_class *clss)
@@ -2504,7 +2516,17 @@ SWIGRUNTIME int  SWIG_Lua_ConvertPtr(lua_State *L,int index,void **ptr,swig_type
 {
   swig_lua_userdata *usr;
   swig_cast_info *cast;
-  if (lua_isnil(L,index)){*ptr=0; return SWIG_OK;}    /* special case: lua nil => NULL pointer */
+  /* special case: lua nil => NULL pointer */
+  if (lua_isnil(L,index))
+  {
+    *ptr=0;
+    return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
+  }
+  if (lua_islightuserdata(L,index))
+  {
+    *ptr=lua_touserdata(L,index);
+    return (flags & SWIG_POINTER_NO_NULL) ? SWIG_NullReferenceError : SWIG_OK;
+  }
   usr=(swig_lua_userdata*)lua_touserdata(L,index);  /* get data */
   if (usr)
   {
@@ -2550,7 +2572,7 @@ SWIGRUNTIME void SWIG_Lua_NewPackedObj(lua_State *L,void *ptr,size_t size,swig_t
   memcpy(raw->data,ptr,size); /* copy the data */
   SWIG_Lua_AddMetatable(L,type); /* add metatable */
 }
-    
+
 /* converts a packed userdata. user for member fn pointers only */
 SWIGRUNTIME int  SWIG_Lua_ConvertPacked(lua_State *L,int index,void *ptr,size_t size,swig_type_info *type)
 {
@@ -2599,7 +2621,7 @@ SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]) {
     switch(constants[i].type) {
     case SWIG_LUA_INT:
       lua_pushstring(L,constants[i].name);
-      lua_pushinteger(L,(lua_Number)constants[i].lvalue);
+      lua_pushinteger(L,(lua_Integer)constants[i].lvalue);
       lua_rawset(L,-3);
       break;
     case SWIG_LUA_FLOAT:
@@ -2610,7 +2632,7 @@ SWIG_Lua_InstallConstants(lua_State *L, swig_lua_const_info constants[]) {
     case SWIG_LUA_CHAR:
       lua_pushstring(L,constants[i].name);
       {
-        char c = constants[i].lvalue;
+        char c = (char)constants[i].lvalue;
         lua_pushlstring(L,&c,1);
       }
       lua_rawset(L,-3);
@@ -2649,7 +2671,7 @@ Unfortunately lua keeps changing its APIs, so we need a conditional compile
 In lua 5.0.X it's lua_dostring()
 In lua 5.1.X it's luaL_dostring()
 */
-SWIGINTERN int 
+SWIGINTERN int
 SWIG_Lua_dostring(lua_State *L, const char *str) {
   int ok,top;
   if (str==0 || str[0]==0) return 0; /* nothing to do */
@@ -2664,7 +2686,7 @@ SWIG_Lua_dostring(lua_State *L, const char *str) {
   }
   lua_settop(L,top); /* restore the stack */
   return ok;
-}    
+}
 
 #ifdef __cplusplus
 }
@@ -2698,87 +2720,87 @@ SWIG_Lua_dostring(lua_State *L, const char *str) {
 #define SWIGTYPE_p_lldb__SBData swig_types[20]
 #define SWIGTYPE_p_lldb__SBDebugger swig_types[21]
 #define SWIGTYPE_p_lldb__SBDeclaration swig_types[22]
-#define SWIGTYPE_p_lldb__SBError swig_types[23]
-#define SWIGTYPE_p_lldb__SBEvent swig_types[24]
-#define SWIGTYPE_p_lldb__SBExecutionContext swig_types[25]
-#define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[26]
-#define SWIGTYPE_p_lldb__SBFile swig_types[27]
-#define SWIGTYPE_p_lldb__SBFileSpec swig_types[28]
-#define SWIGTYPE_p_lldb__SBFileSpecList swig_types[29]
-#define SWIGTYPE_p_lldb__SBFrame swig_types[30]
-#define SWIGTYPE_p_lldb__SBFunction swig_types[31]
-#define SWIGTYPE_p_lldb__SBHostOS swig_types[32]
-#define SWIGTYPE_p_lldb__SBInstruction swig_types[33]
-#define SWIGTYPE_p_lldb__SBInstructionList swig_types[34]
-#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[35]
-#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[36]
-#define SWIGTYPE_p_lldb__SBLineEntry swig_types[37]
-#define SWIGTYPE_p_lldb__SBListener swig_types[38]
-#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[39]
-#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[40]
-#define SWIGTYPE_p_lldb__SBModule swig_types[41]
-#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[42]
-#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[43]
-#define SWIGTYPE_p_lldb__SBPlatform swig_types[44]
-#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[45]
-#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[46]
-#define SWIGTYPE_p_lldb__SBProcess swig_types[47]
-#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[48]
-#define SWIGTYPE_p_lldb__SBQueue swig_types[49]
-#define SWIGTYPE_p_lldb__SBQueueItem swig_types[50]
-#define SWIGTYPE_p_lldb__SBSection swig_types[51]
-#define SWIGTYPE_p_lldb__SBSourceManager swig_types[52]
-#define SWIGTYPE_p_lldb__SBStream swig_types[53]
-#define SWIGTYPE_p_lldb__SBStringList swig_types[54]
-#define SWIGTYPE_p_lldb__SBStructuredData swig_types[55]
-#define SWIGTYPE_p_lldb__SBSymbol swig_types[56]
-#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[57]
-#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[58]
-#define SWIGTYPE_p_lldb__SBTarget swig_types[59]
-#define SWIGTYPE_p_lldb__SBThread swig_types[60]
-#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[61]
-#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[62]
-#define SWIGTYPE_p_lldb__SBTrace swig_types[63]
-#define SWIGTYPE_p_lldb__SBTraceOptions swig_types[64]
-#define SWIGTYPE_p_lldb__SBType swig_types[65]
-#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[66]
-#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[67]
-#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[68]
-#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[69]
-#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[70]
-#define SWIGTYPE_p_lldb__SBTypeList swig_types[71]
-#define SWIGTYPE_p_lldb__SBTypeMember swig_types[72]
-#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[73]
-#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[74]
-#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[75]
-#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[76]
-#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[77]
-#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[78]
-#define SWIGTYPE_p_lldb__SBValue swig_types[79]
-#define SWIGTYPE_p_lldb__SBValueList swig_types[80]
-#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[81]
-#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[82]
-#define SWIGTYPE_p_lldb_private__SharingPtrT_lldb_private__ValueObject_t swig_types[83]
-#define SWIGTYPE_p_long_double swig_types[84]
-#define SWIGTYPE_p_long_long swig_types[85]
-#define SWIGTYPE_p_p_char swig_types[86]
-#define SWIGTYPE_p_p_void swig_types[87]
-#define SWIGTYPE_p_pthread_rwlock_t swig_types[88]
-#define SWIGTYPE_p_pthread_t swig_types[89]
-#define SWIGTYPE_p_short swig_types[90]
-#define SWIGTYPE_p_signed_char swig_types[91]
-#define SWIGTYPE_p_size_t swig_types[92]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[93]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[94]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[95]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[96]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[97]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[98]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[99]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[100]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[101]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[102]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ClangASTImporter_t swig_types[103]
+#define SWIGTYPE_p_lldb__SBEnvironment swig_types[23]
+#define SWIGTYPE_p_lldb__SBError swig_types[24]
+#define SWIGTYPE_p_lldb__SBEvent swig_types[25]
+#define SWIGTYPE_p_lldb__SBExecutionContext swig_types[26]
+#define SWIGTYPE_p_lldb__SBExpressionOptions swig_types[27]
+#define SWIGTYPE_p_lldb__SBFile swig_types[28]
+#define SWIGTYPE_p_lldb__SBFileSpec swig_types[29]
+#define SWIGTYPE_p_lldb__SBFileSpecList swig_types[30]
+#define SWIGTYPE_p_lldb__SBFrame swig_types[31]
+#define SWIGTYPE_p_lldb__SBFunction swig_types[32]
+#define SWIGTYPE_p_lldb__SBHostOS swig_types[33]
+#define SWIGTYPE_p_lldb__SBInstruction swig_types[34]
+#define SWIGTYPE_p_lldb__SBInstructionList swig_types[35]
+#define SWIGTYPE_p_lldb__SBLanguageRuntime swig_types[36]
+#define SWIGTYPE_p_lldb__SBLaunchInfo swig_types[37]
+#define SWIGTYPE_p_lldb__SBLineEntry swig_types[38]
+#define SWIGTYPE_p_lldb__SBListener swig_types[39]
+#define SWIGTYPE_p_lldb__SBMemoryRegionInfo swig_types[40]
+#define SWIGTYPE_p_lldb__SBMemoryRegionInfoList swig_types[41]
+#define SWIGTYPE_p_lldb__SBModule swig_types[42]
+#define SWIGTYPE_p_lldb__SBModuleSpec swig_types[43]
+#define SWIGTYPE_p_lldb__SBModuleSpecList swig_types[44]
+#define SWIGTYPE_p_lldb__SBPlatform swig_types[45]
+#define SWIGTYPE_p_lldb__SBPlatformConnectOptions swig_types[46]
+#define SWIGTYPE_p_lldb__SBPlatformShellCommand swig_types[47]
+#define SWIGTYPE_p_lldb__SBProcess swig_types[48]
+#define SWIGTYPE_p_lldb__SBProcessInfo swig_types[49]
+#define SWIGTYPE_p_lldb__SBQueue swig_types[50]
+#define SWIGTYPE_p_lldb__SBQueueItem swig_types[51]
+#define SWIGTYPE_p_lldb__SBReproducer swig_types[52]
+#define SWIGTYPE_p_lldb__SBSection swig_types[53]
+#define SWIGTYPE_p_lldb__SBSourceManager swig_types[54]
+#define SWIGTYPE_p_lldb__SBStream swig_types[55]
+#define SWIGTYPE_p_lldb__SBStringList swig_types[56]
+#define SWIGTYPE_p_lldb__SBStructuredData swig_types[57]
+#define SWIGTYPE_p_lldb__SBSymbol swig_types[58]
+#define SWIGTYPE_p_lldb__SBSymbolContext swig_types[59]
+#define SWIGTYPE_p_lldb__SBSymbolContextList swig_types[60]
+#define SWIGTYPE_p_lldb__SBTarget swig_types[61]
+#define SWIGTYPE_p_lldb__SBThread swig_types[62]
+#define SWIGTYPE_p_lldb__SBThreadCollection swig_types[63]
+#define SWIGTYPE_p_lldb__SBThreadPlan swig_types[64]
+#define SWIGTYPE_p_lldb__SBTrace swig_types[65]
+#define SWIGTYPE_p_lldb__SBTraceOptions swig_types[66]
+#define SWIGTYPE_p_lldb__SBType swig_types[67]
+#define SWIGTYPE_p_lldb__SBTypeCategory swig_types[68]
+#define SWIGTYPE_p_lldb__SBTypeEnumMember swig_types[69]
+#define SWIGTYPE_p_lldb__SBTypeEnumMemberList swig_types[70]
+#define SWIGTYPE_p_lldb__SBTypeFilter swig_types[71]
+#define SWIGTYPE_p_lldb__SBTypeFormat swig_types[72]
+#define SWIGTYPE_p_lldb__SBTypeList swig_types[73]
+#define SWIGTYPE_p_lldb__SBTypeMember swig_types[74]
+#define SWIGTYPE_p_lldb__SBTypeMemberFunction swig_types[75]
+#define SWIGTYPE_p_lldb__SBTypeNameSpecifier swig_types[76]
+#define SWIGTYPE_p_lldb__SBTypeSummary swig_types[77]
+#define SWIGTYPE_p_lldb__SBTypeSummaryOptions swig_types[78]
+#define SWIGTYPE_p_lldb__SBTypeSynthetic swig_types[79]
+#define SWIGTYPE_p_lldb__SBUnixSignals swig_types[80]
+#define SWIGTYPE_p_lldb__SBValue swig_types[81]
+#define SWIGTYPE_p_lldb__SBValueList swig_types[82]
+#define SWIGTYPE_p_lldb__SBVariablesOptions swig_types[83]
+#define SWIGTYPE_p_lldb__SBWatchpoint swig_types[84]
+#define SWIGTYPE_p_long_double swig_types[85]
+#define SWIGTYPE_p_long_long swig_types[86]
+#define SWIGTYPE_p_p_char swig_types[87]
+#define SWIGTYPE_p_p_void swig_types[88]
+#define SWIGTYPE_p_pthread_rwlock_t swig_types[89]
+#define SWIGTYPE_p_pthread_t swig_types[90]
+#define SWIGTYPE_p_short swig_types[91]
+#define SWIGTYPE_p_signed_char swig_types[92]
+#define SWIGTYPE_p_size_t swig_types[93]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ABI_t swig_types[94]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Baton_t swig_types[95]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Block_t swig_types[96]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointLocation_t swig_types[97]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointPrecondition_t swig_types[98]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointResolver_t swig_types[99]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BreakpointSite_t swig_types[100]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Breakpoint_t swig_types[101]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__BroadcasterManager_t swig_types[102]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Broadcaster_t swig_types[103]
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CommandObject_t swig_types[104]
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__Communication_t swig_types[105]
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__CompileUnit_t swig_types[106]
@@ -2886,55 +2908,53 @@ SWIG_Lua_dostring(lua_State *L, const char *str) {
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__UtilityFunction_t swig_types[208]
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueList_t swig_types[209]
 #define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObjectList_t swig_types[210]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[211]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[212]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[213]
-#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[214]
-#define SWIGTYPE_p_std__string swig_types[215]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangASTContext_t swig_types[216]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangModulesDeclVendor_t swig_types[217]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ClangPersistentVariables_t swig_types[218]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[219]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[220]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[221]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[222]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[223]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[224]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptInterpreter_t swig_types[225]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SectionList_t swig_types[226]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SourceManager_t swig_types[227]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StackFrame_t swig_types[228]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[229]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[230]
-#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_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__BreakpointSite_t swig_types[233]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[234]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[235]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[236]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[237]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[238]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[239]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFile_t swig_types[240]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__OptionValue_t swig_types[241]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Process_t swig_types[242]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Queue_t swig_types[243]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Section_t swig_types[244]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StackFrame_t swig_types[245]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Stream_t swig_types[246]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[247]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__SymbolFileType_t swig_types[248]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[249]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_t swig_types[250]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Type_t swig_types[251]
-#define SWIGTYPE_p_std__weak_ptrT_lldb_private__UnixSignals_t swig_types[252]
-#define SWIGTYPE_p_unsigned_char swig_types[253]
-#define SWIGTYPE_p_unsigned_int swig_types[254]
-#define SWIGTYPE_p_unsigned_long_long swig_types[255]
-#define SWIGTYPE_p_unsigned_short swig_types[256]
-#define SWIGTYPE_p_void swig_types[257]
-static swig_type_info *swig_types[259];
-static swig_module_info swig_module = {swig_types, 258, 0, 0, 0, 0};
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__ValueObject_t swig_types[211]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Value_t swig_types[212]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__VariableList_t swig_types[213]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Variable_t swig_types[214]
+#define SWIGTYPE_p_std__shared_ptrT_lldb_private__Watchpoint_t swig_types[215]
+#define SWIGTYPE_p_std__string swig_types[216]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicCheckerFunctions_t swig_types[217]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__DynamicLoader_t swig_types[218]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__File_t swig_types[219]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__JITLoaderList_t swig_types[220]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__MemoryRegionInfo_t swig_types[221]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__OperatingSystem_t swig_types[222]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__ScriptInterpreter_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__StackFrame_t swig_types[226]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__StructuredDataImpl_t swig_types[227]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SymbolVendor_t swig_types[228]
+#define SWIGTYPE_p_std__unique_ptrT_lldb_private__SystemRuntime_t swig_types[229]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointLocation_t swig_types[230]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BreakpointSite_t swig_types[231]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Breakpoint_t swig_types[232]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__BroadcasterManager_t swig_types[233]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Debugger_t swig_types[234]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Listener_t swig_types[235]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Module_t swig_types[236]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFileJITDelegate_t swig_types[237]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__ObjectFile_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__Stream_t swig_types[244]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__StructuredDataPlugin_t swig_types[245]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__SymbolFileType_t swig_types[246]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Target_t swig_types[247]
+#define SWIGTYPE_p_std__weak_ptrT_lldb_private__Thread_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)
 
@@ -3132,18 +3152,20 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ
 #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/SBFileSpec.h"
 #include "lldb/API/SBFile.h"
+#include "lldb/API/SBFileSpec.h"
 #include "lldb/API/SBFileSpecList.h"
 #include "lldb/API/SBFrame.h"
 #include "lldb/API/SBFunction.h"
@@ -3163,6 +3185,7 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ
 #include "lldb/API/SBProcessInfo.h"
 #include "lldb/API/SBQueue.h"
 #include "lldb/API/SBQueueItem.h"
+#include "lldb/API/SBReproducer.h"
 #include "lldb/API/SBSection.h"
 #include "lldb/API/SBSourceManager.h"
 #include "lldb/API/SBStream.h"
@@ -3185,11 +3208,11 @@ SWIGINTERN void SWIG_write_ptr_array(lua_State* L,void **array,int size,swig_typ
 #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/SBUnixSignals.h"
 
 
 using namespace lldb_private;
@@ -3455,9 +3478,6 @@ SWIGINTERN std::string lldb_SBSection___str__(lldb::SBSection *self){
     }
     return std::string(desc, desc_len);
   }
-SWIGINTERN void lldb_SBStream_Print(lldb::SBStream *self,char const *str){
-            self->Printf("%s", str);
-        }
 SWIGINTERN void lldb_SBStream_RedirectToFileHandle(lldb::SBStream *self,lldb::FileSP file,bool transfer_fh_ownership){
             self->RedirectToFile(file);
         }
@@ -4027,7 +4047,7 @@ static int _wrap_new_SBAddress(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAddress, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -4041,7 +4061,7 @@ static int _wrap_new_SBAddress(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBSection, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -4064,7 +4084,7 @@ static int _wrap_new_SBAddress(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -4772,7 +4792,7 @@ static int _wrap_new_SBAttachInfo(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBAttachInfo, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -4964,7 +4984,7 @@ static int _wrap_SBAttachInfo_SetExecutable(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFileSpec, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -5853,7 +5873,7 @@ static int _wrap_new_SBBlock(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBlock, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -6386,7 +6406,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -6425,7 +6445,7 @@ static int _wrap_SBBlock_GetVariables(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBFrame, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -6609,7 +6629,7 @@ static int _wrap_new_SBBreakpoint(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -7454,7 +7474,7 @@ static int _wrap_SBBreakpoint_SetScriptCallbackFunction(lua_State* L) {
       if (_v) {
         {
           void *ptr;
-          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
+          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
             _v = 0;
           } else {
             _v = 1;
@@ -7593,6 +7613,36 @@ fail:
 }
 
 
+static int _wrap_SBBreakpoint_AddNameWithErrorHandling(lua_State* L) {
+  int SWIG_arg = 0;
+  lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
+  char *arg2 = (char *) 0 ;
+  lldb::SBError result;
+  
+  SWIG_check_num_args("lldb::SBBreakpoint::AddNameWithErrorHandling",2,2)
+  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",1,"lldb::SBBreakpoint *");
+  if(!SWIG_lua_isnilstring(L,2)) SWIG_fail_arg("lldb::SBBreakpoint::AddNameWithErrorHandling",2,"char const *");
+  
+  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBBreakpoint,0))){
+    SWIG_fail_ptr("SBBreakpoint_AddNameWithErrorHandling",1,SWIGTYPE_p_lldb__SBBreakpoint);
+  }
+  
+  arg2 = (char *)lua_tostring(L, 2);
+  result = (arg1)->AddNameWithErrorHandling((char const *)arg2);
+  {
+    lldb::SBError * resultptr = new lldb::SBError((const lldb::SBError &) result);
+    SWIG_NewPointerObj(L,(void *) resultptr,SWIGTYPE_p_lldb__SBError,1); SWIG_arg++;
+  }
+  return SWIG_arg;
+  
+  if(0) SWIG_fail;
+  
+fail:
+  lua_error(L);
+  return SWIG_arg;
+}
+
+
 static int _wrap_SBBreakpoint_RemoveName(lua_State* L) {
   int SWIG_arg = 0;
   lldb::SBBreakpoint *arg1 = (lldb::SBBreakpoint *) 0 ;
@@ -7809,7 +7859,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -7833,7 +7883,7 @@ static int _wrap_SBBreakpoint_GetDescription(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBStream, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -8119,6 +8169,7 @@ static swig_lua_method swig_SBBreakpoint_methods[]= {
     { "SetCommandLineCommands", _wrap_SBBreakpoint_SetCommandLineCommands},
     { "GetCommandLineCommands", _wrap_SBBreakpoint_GetCommandLineCommands},
     { "AddName", _wrap_SBBreakpoint_AddName},
+    { "AddNameWithErrorHandling", _wrap_SBBreakpoint_AddNameWithErrorHandling},
     { "RemoveName", _wrap_SBBreakpoint_RemoveName},
     { "MatchesName", _wrap_SBBreakpoint_MatchesName},
     { "GetNames", _wrap_SBBreakpoint_GetNames},
@@ -8494,7 +8545,7 @@ static int _wrap_new_SBBreakpointLocation(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointLocation, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -8943,7 +8994,7 @@ static int _wrap_SBBreakpointLocation_SetScriptCallbackFunction(lua_State* L) {
       if (_v) {
         {
           void *ptr;
-          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
+          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
             _v = 0;
           } else {
             _v = 1;
@@ -9551,7 +9602,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpointName, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -9565,7 +9616,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBreakpoint, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -9584,7 +9635,7 @@ static int _wrap_new_SBBreakpointName(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBTarget, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -10247,7 +10298,7 @@ static int _wrap_SBBreakpointName_SetScriptCallbackFunction(lua_State* L) {
       if (_v) {
         {
           void *ptr;
-          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, 0)) {
+          if (lua_isuserdata(L,argv[2])==0 || SWIG_ConvertPtr(L,argv[2], (void **) &ptr, SWIGTYPE_p_lldb__SBStructuredData, SWIG_POINTER_NO_NULL)) {
             _v = 0;
           } else {
             _v = 1;
@@ -10773,7 +10824,7 @@ static int _wrap_new_SBBroadcaster(lua_State* L) {
     int _v;
     {
       void *ptr;
-      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, 0)) {
+      if (lua_isuserdata(L,argv[0])==0 || SWIG_ConvertPtr(L,argv[0], (void **) &ptr, SWIGTYPE_p_lldb__SBBroadcaster, SWIG_POINTER_NO_NULL)) {
         _v = 0;
       } else {
         _v = 1;
@@ -11048,7 +11099,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -11072,7 +11123,7 @@ static int _wrap_SBBroadcaster_BroadcastEvent(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBEvent, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -11304,7 +11355,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -11328,7 +11379,7 @@ static int _wrap_SBBroadcaster_RemoveListener(lua_State* L) {
     if (_v) {
       {
         void *ptr;
-        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, 0)) {
+        if (lua_isuserdata(L,argv[1])==0 || SWIG_ConvertPtr(L,argv[1], (void **) &ptr, SWIGTYPE_p_lldb__SBListener, SWIG_POINTER_NO_NULL)) {
           _v = 0;
         } else {
           _v = 1;
@@ -11442,382 +11493,6 @@ static swig_lua_class *swig_SBBroadcaster_bases[] = {0};
 static const char *swig_SBBroadcaster_base_names[] = {0};
 static swig_lua_class _wrap_class_SBBroadcaster = { "SBBroadcaster", "SBBroadcaster", &SWIGTYPE_p_lldb__SBBroadcaster,_proxy__wrap_new_SBBroadcaster, swig_delete_SBBroadcaster, swig_SBBroadcaster_methods, swig_SBBroadcaster_attributes, &swig_SBBroadcaster_Sf_SwigStatic, swig_SBBroadcaster_meta, swig_SBBroadcaster_bases, swig_SBBroadcaster_base_names };
 
-static int _wrap_new_SBCommandInterpreterRunOptions(lua_State* L) {
-  int SWIG_arg = 0;
-  lldb::SBCommandInterpreterRunOptions *result = 0 ;
-  
-  SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SBCommandInterpreterRunOptions",0,0)
-  result = (lldb::SBCommandInterpreterRunOptions *)new lldb::SBCommandInterpreterRunOptions();
-  SWIG_NewPointerObj(L,result,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,1); SWIG_arg++; 
-  return SWIG_arg;
-  
-  if(0) SWIG_fail;
-  
-fail:
-  lua_error(L);
-  return SWIG_arg;
-}
-
-
-static int _wrap_SBCommandInterpreterRunOptions_GetStopOnContinue(lua_State* L) {
-  int SWIG_arg = 0;
-  lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
-  bool result;
-  
-  SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,1)
-  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions const *");
-  
-  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
-    SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
-  }
-  
-  result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnContinue();
-  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
-  return SWIG_arg;
-  
-  if(0) SWIG_fail;
-  
-fail:
-  lua_error(L);
-  return SWIG_arg;
-}
-
-
-static int _wrap_SBCommandInterpreterRunOptions_SetStopOnContinue(lua_State* L) {
-  int SWIG_arg = 0;
-  lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
-  bool arg2 ;
-  
-  SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,2)
-  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",1,"lldb::SBCommandInterpreterRunOptions *");
-  if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnContinue",2,"bool");
-  
-  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
-    SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnContinue",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
-  }
-  
-  arg2 = (lua_toboolean(L, 2)!=0);
-  (arg1)->SetStopOnContinue(arg2);
-  
-  return SWIG_arg;
-  
-  if(0) SWIG_fail;
-  
-fail:
-  lua_error(L);
-  return SWIG_arg;
-}
-
-
-static int _wrap_SBCommandInterpreterRunOptions_GetStopOnError(lua_State* L) {
-  int SWIG_arg = 0;
-  lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
-  bool result;
-  
-  SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,1)
-  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::GetStopOnError",1,"lldb::SBCommandInterpreterRunOptions const *");
-  
-  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
-    SWIG_fail_ptr("SBCommandInterpreterRunOptions_GetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
-  }
-  
-  result = (bool)((lldb::SBCommandInterpreterRunOptions const *)arg1)->GetStopOnError();
-  lua_pushboolean(L,(int)(result!=0)); SWIG_arg++;
-  return SWIG_arg;
-  
-  if(0) SWIG_fail;
-  
-fail:
-  lua_error(L);
-  return SWIG_arg;
-}
-
-
-static int _wrap_SBCommandInterpreterRunOptions_SetStopOnError(lua_State* L) {
-  int SWIG_arg = 0;
-  lldb::SBCommandInterpreterRunOptions *arg1 = (lldb::SBCommandInterpreterRunOptions *) 0 ;
-  bool arg2 ;
-  
-  SWIG_check_num_args("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,2)
-  if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",1,"lldb::SBCommandInterpreterRunOptions *");
-  if(!lua_isboolean(L,2)) SWIG_fail_arg("lldb::SBCommandInterpreterRunOptions::SetStopOnError",2,"bool");
-  
-  if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions,0))){
-    SWIG_fail_ptr("SBCommandInterpreterRunOptions_SetStopOnError",1,SWIGTYPE_p_lldb__SBCommandInterpreterRunOptions);
-  }
-  
*** 3707 LINES SKIPPED ***