Exemplo n.º 1
0
 public static LLDB.FileSpec GetLLDBPath(LLDB.PathType path_type)
 {
     var arg0 = path_type;
     var __ret = new LLDB.FileSpec.Internal();
     Internal.GetLLDBPath_0(new IntPtr(&__ret), arg0);
     return LLDB.FileSpec.__CreateInstance(__ret);
 }
Exemplo n.º 2
0
 public LanguageRuntime(LLDB.LanguageRuntime _0)
 {
     __Instance = Marshal.AllocHGlobal(0);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     *((LanguageRuntime.Internal*) __Instance) = *((LanguageRuntime.Internal*) _0.__Instance);
 }
Exemplo n.º 3
0
 public HostOS(LLDB.HostOS _0)
 {
     __Instance = Marshal.AllocHGlobal(0);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     *((HostOS.Internal*) __Instance) = *((HostOS.Internal*) _0.__Instance);
 }
Exemplo n.º 4
0
 public TypeNameSpecifier(LLDB.Type type)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(type, null) ? new LLDB.Type.Internal() : *(LLDB.Type.Internal*) (type.__Instance);
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 5
0
 public TypeFormat(LLDB.Format format, uint options)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = format;
     Internal.ctor_1((__Instance + __PointerAdjustment), arg0, options);
 }
Exemplo n.º 6
0
 public ExecutionContext(LLDB.Thread thread)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(thread, null) ? new LLDB.Thread.Internal() : *(LLDB.Thread.Internal*) (thread.__Instance);
     Internal.ctor_5((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 7
0
 public Address(LLDB.Section section, ulong offset)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     var arg0 = ReferenceEquals(section, null) ? new LLDB.Section.Internal() : *(LLDB.Section.Internal*) (section.__Instance);
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0, offset);
 }
Exemplo n.º 8
0
 public ExecutionContext(LLDB.Frame frame)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(frame, null))
         throw new global::System.ArgumentNullException("frame", "Cannot be null because it is a C++ reference (&).");
     var arg0 = frame.__Instance;
     Internal.ctor_6((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 9
0
 public QueueItem(LLDB.QueueItem _0)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(_0, null))
         throw new global::System.ArgumentNullException("_0", "Cannot be null because it is a C++ reference (&).");
     var arg0 = _0.__Instance;
     Internal.cctor_2((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 10
0
 public Address(ulong load_addr, LLDB.Target target)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(target, null))
         throw new global::System.ArgumentNullException("target", "Cannot be null because it is a C++ reference (&).");
     var arg1 = target.__Instance;
     Internal.ctor_3((__Instance + __PointerAdjustment), load_addr, arg1);
 }
Exemplo n.º 11
0
 public SourceManager(LLDB.Debugger debugger)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(debugger, null))
         throw new global::System.ArgumentNullException("debugger", "Cannot be null because it is a C++ reference (&).");
     var arg0 = debugger.__Instance;
     Internal.ctor_0((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 12
0
 public Thread(LLDB.Thread thread)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(thread, null))
         throw new global::System.ArgumentNullException("thread", "Cannot be null because it is a C++ reference (&).");
     var arg0 = thread.__Instance;
     Internal.cctor_1((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 13
0
 public SymbolContext(LLDB.SymbolContext rhs)
 {
     __Instance = Marshal.AllocHGlobal(4);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(rhs, null))
         throw new global::System.ArgumentNullException("rhs", "Cannot be null because it is a C++ reference (&).");
     var arg0 = rhs.__Instance;
     Internal.cctor_1((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 14
0
 public Module(LLDB.ModuleSpec module_spec)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(module_spec, null))
         throw new global::System.ArgumentNullException("module_spec", "Cannot be null because it is a C++ reference (&).");
     var arg0 = module_spec.__Instance;
     Internal.ctor_2((__Instance + __PointerAdjustment), arg0);
 }
Exemplo n.º 15
0
 public Module(LLDB.Process process, ulong header_addr)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(process, null))
         throw new global::System.ArgumentNullException("process", "Cannot be null because it is a C++ reference (&).");
     var arg0 = process.__Instance;
     Internal.ctor_3((__Instance + __PointerAdjustment), arg0, header_addr);
 }
Exemplo n.º 16
0
 public ThreadPlan(LLDB.Thread thread, string class_name)
 {
     __Instance = Marshal.AllocHGlobal(8);
     __ownsNativeInstance = true;
     NativeToManagedMap[__Instance] = this;
     if (ReferenceEquals(thread, null))
         throw new global::System.ArgumentNullException("thread", "Cannot be null because it is a C++ reference (&).");
     var arg0 = thread.__Instance;
     var arg1 = Marshal.StringToHGlobalAnsi(class_name);
     Internal.ctor_3((__Instance + __PointerAdjustment), arg0, arg1);
     Marshal.FreeHGlobal(arg1);
 }
Exemplo n.º 17
0
 internal static extern global::System.IntPtr GetNameForLanguageType_0(LLDB.LanguageType language);
Exemplo n.º 18
0
 internal static extern void SetSymbol_0(global::System.IntPtr instance, LLDB.Symbol.Internal symbol);
Exemplo n.º 19
0
 internal static extern void SetModule_0(global::System.IntPtr instance, LLDB.Module.Internal module);
Exemplo n.º 20
0
 internal static extern void SetLineEntry_0(global::System.IntPtr instance, LLDB.LineEntry.Internal line_entry);
Exemplo n.º 21
0
 internal static extern void SetFunction_0(global::System.IntPtr instance, LLDB.Function.Internal function);
Exemplo n.º 22
0
 internal static extern void SetCompileUnit_0(global::System.IntPtr instance, LLDB.CompileUnit.Internal compile_unit);
Exemplo n.º 23
0
 internal static extern void SetBlock_0(global::System.IntPtr instance, LLDB.Block.Internal block);
Exemplo n.º 24
0
 public LLDB.SymbolContext GetParentOfInlinedScope(LLDB.Address curr_frame_pc, LLDB.Address parent_frame_addr)
 {
     if (ReferenceEquals(curr_frame_pc, null))
         throw new global::System.ArgumentNullException("curr_frame_pc", "Cannot be null because it is a C++ reference (&).");
     var arg0 = curr_frame_pc.__Instance;
     if (ReferenceEquals(parent_frame_addr, null))
         throw new global::System.ArgumentNullException("parent_frame_addr", "Cannot be null because it is a C++ reference (&).");
     var arg1 = parent_frame_addr.__Instance;
     var __ret = new LLDB.SymbolContext.Internal();
     Internal.GetParentOfInlinedScope_0(new IntPtr(&__ret), (__Instance + __PointerAdjustment), arg0, arg1);
     return LLDB.SymbolContext.__CreateInstance(__ret);
 }
Exemplo n.º 25
0
 public bool GetDescription(LLDB.Stream description)
 {
     if (ReferenceEquals(description, null))
         throw new global::System.ArgumentNullException("description", "Cannot be null because it is a C++ reference (&).");
     var arg0 = description.__Instance;
     var __ret = Internal.GetDescription_0((__Instance + __PointerAdjustment), arg0);
     return __ret;
 }
Exemplo n.º 26
0
 internal static extern void SetFileSpec_0(global::System.IntPtr instance, LLDB.FileSpec.Internal filespec);
Exemplo n.º 27
0
 internal static extern bool GetDescription_0(global::System.IntPtr instance, global::System.IntPtr description, LLDB.DescriptionLevel description_level);
Exemplo n.º 28
0
 public bool IsEqualTo(LLDB.TypeSynthetic rhs)
 {
     if (ReferenceEquals(rhs, null))
         throw new global::System.ArgumentNullException("rhs", "Cannot be null because it is a C++ reference (&).");
     var arg0 = rhs.__Instance;
     var __ret = Internal.IsEqualTo_0((__Instance + __PointerAdjustment), arg0);
     return __ret;
 }
Exemplo n.º 29
0
 public static string GetNameForLanguageType(LLDB.LanguageType language)
 {
     var arg0 = language;
     var __ret = Internal.GetNameForLanguageType_0(arg0);
     return Marshal.PtrToStringAnsi(__ret);
 }
Exemplo n.º 30
0
 internal static extern void StepOver_0(global::System.IntPtr instance, LLDB.RunMode stop_other_threads);