本文整理汇总了C#中LLDB类的典型用法代码示例。如果您正苦于以下问题:C# LLDB类的具体用法?C# LLDB怎么用?C# LLDB使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LLDB类属于命名空间,在下文中一共展示了LLDB类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: GetLLDBPath
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);
}
示例2: LanguageRuntime
public LanguageRuntime(LLDB.LanguageRuntime _0)
{
__Instance = Marshal.AllocHGlobal(0);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
*((LanguageRuntime.Internal*) __Instance) = *((LanguageRuntime.Internal*) _0.__Instance);
}
示例3: HostOS
public HostOS(LLDB.HostOS _0)
{
__Instance = Marshal.AllocHGlobal(0);
__ownsNativeInstance = true;
NativeToManagedMap[__Instance] = this;
*((HostOS.Internal*) __Instance) = *((HostOS.Internal*) _0.__Instance);
}
示例4: TypeNameSpecifier
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);
}
示例5: TypeFormat
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);
}
示例6: ExecutionContext
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);
}
示例7: Address
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);
}
示例8: QueueItem
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);
}
示例9: SourceManager
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);
}
示例10: Thread
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);
}
示例11: SymbolContext
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);
}
示例12: Module
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);
}
示例13: ThreadPlan
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);
}
示例14: GetNameForLanguageType_0
internal static extern global::System.IntPtr GetNameForLanguageType_0(LLDB.LanguageType language);
示例15: SetSymbol_0
internal static extern void SetSymbol_0(global::System.IntPtr instance, LLDB.Symbol.Internal symbol);