Beispiel #1
0
 public LLDB.Module GetModule()
 {
     var __ret = new LLDB.Module.Internal();
     Internal.GetModule_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment));
     return LLDB.Module.__CreateInstance(__ret);
 }
Beispiel #2
0
 public LLDB.Module FindModule(LLDB.FileSpec file_spec)
 {
     if (ReferenceEquals(file_spec, null))
         throw new global::System.ArgumentNullException("file_spec", "Cannot be null because it is a C++ reference (&).");
     var arg0 = file_spec.__Instance;
     var __ret = new LLDB.Module.Internal();
     Internal.FindModule_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0);
     return LLDB.Module.__CreateInstance(__ret);
 }
Beispiel #3
0
 public static LLDB.Module GetModuleAtIndexFromEvent(uint idx, LLDB.Event @event)
 {
     if (ReferenceEquals(@event, null))
         throw new global::System.ArgumentNullException("@event", "Cannot be null because it is a C++ reference (&).");
     var arg1 = @event.__Instance;
     var __ret = new LLDB.Module.Internal();
     Internal.GetModuleAtIndexFromEvent_0(new IntPtr(&__ret), idx, arg1);
     return LLDB.Module.__CreateInstance(__ret);
 }
Beispiel #4
0
 public LLDB.Module AddModule(string path, string triple, string uuid_cstr, string symfile)
 {
     var arg0 = Marshal.StringToHGlobalAnsi(path);
     var arg1 = Marshal.StringToHGlobalAnsi(triple);
     var arg2 = Marshal.StringToHGlobalAnsi(uuid_cstr);
     var arg3 = Marshal.StringToHGlobalAnsi(symfile);
     var __ret = new LLDB.Module.Internal();
     Internal.AddModule_2(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1, arg2, arg3);
     Marshal.FreeHGlobal(arg0);
     Marshal.FreeHGlobal(arg1);
     Marshal.FreeHGlobal(arg2);
     Marshal.FreeHGlobal(arg3);
     return LLDB.Module.__CreateInstance(__ret);
 }
Beispiel #5
0
 public LLDB.Module GetModuleAtIndex(uint idx)
 {
     var __ret = new LLDB.Module.Internal();
     Internal.GetModuleAtIndex_0((__Instance + __PointerAdjustment), new IntPtr(&__ret), idx);
     return LLDB.Module.__CreateInstance(__ret);
 }