 | DebugInfoBuilder Class |
[This is preliminary documentation and is subject to change.]
DebugInfoBuilder is a factory class for creating DebugInformation for an LLVM
NativeModule
Inheritance Hierarchy
Namespace:
Llvm.NET.DebugInfo
Assembly:
Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntaxpublic sealed class DebugInfoBuilder : IDisposable
The DebugInfoBuilder type exposes the following members.
Methods
| Name | Description |
---|
 | CreateArgument | |
 | CreateArrayType(UInt64, UInt64, DIType, DINode) | |
 | CreateArrayType(UInt64, UInt64, DIType, DINodeArray) | |
 | CreateBasicType | Construct debug information for a basic type (a.k.a. primitive type) |
 | CreateCompileUnit(SourceLanguage, String, String, Boolean, String, UInt32) | |
 | CreateCompileUnit(SourceLanguage, String, String, String, Boolean, String, UInt32) | |
 | CreateEnumerationType | |
 | CreateEnumeratorValue | |
 | CreateExpression(ExpressionOp) | |
 | CreateExpression(IEnumerableExpressionOp) | |
 | CreateFile(String) | |
 | CreateFile(String, String) | |
 | CreateFunction | |
 | CreateGlobalVariable | |
 | CreateLexicalBlock | |
 | CreateLexicalBlockFile | |
 | CreateLocalVariable | |
 | CreateMemberType | |
 | CreateNamespace | |
 | CreatePointerType | |
 | CreateQualifiedType | |
 | CreateReplaceableCompositeType | |
 | CreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, DebugInfoFlags, DIType, DINode) | |
 | CreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, DebugInfoFlags, DIType, IEnumerableDINode) | |
 | CreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, UInt32, DIType, DINodeArray) | |
 | CreateSubRange | |
 | CreateSubroutineType(DebugInfoFlags) | |
 | CreateSubroutineType(DebugInfoFlags, DITypeArray) | |
 | CreateSubroutineType(DebugInfoFlags, DIType, IEnumerableDIType) | |
 | CreateTypeArray(DIType) | |
 | CreateTypeArray(IEnumerableDIType) | |
 | CreateTypedef | |
 | Dispose | Releases all resources used by the DebugInfoBuilder |
 | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
 | Finish | |
 | ForwardDeclareFunction | Creates a new forward declaration to a function |
 | GetHashCode | Serves as the default hash function. (Inherited from Object.) |
 | GetOrCreateArray | |
 | GetOrCreateTypeArray(DIType) | |
 | GetOrCreateTypeArray(IEnumerableDIType) | |
 | GetType | Gets the Type of the current instance. (Inherited from Object.) |
 | InsertDeclare(Value, DILocalVariable, DILocation, Instruction) | |
 | InsertDeclare(Value, DILocalVariable, DILocation, BasicBlock) | |
 | InsertDeclare(Value, DILocalVariable, DIExpression, DILocation, Instruction) | |
 | InsertDeclare(Value, DILocalVariable, DIExpression, DILocation, BasicBlock) | |
 | InsertValue(Value, DILocalVariable, DIExpression, DILocation, BasicBlock) | |
 | InsertValue(Value, UInt64, DILocalVariable, DILocation, Instruction) | |
 | InsertValue(Value, UInt64, DILocalVariable, DILocation, BasicBlock) | |
 | InsertValue(Value, UInt64, DILocalVariable, DIExpression, DILocation, Instruction) | |
 | InsertValue(Value, UInt64, DILocalVariable, DIExpression, DILocation, BasicBlock) | |
 | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
Many Debug information metadata nodes are created with unresolved references to additional
metadata. To ensure such metadata is resolved applications should call the
Finish
method to resolve and finalize the metadata. After this point only fully resolved nodes may
be added to ensure that the data remains valid.
See Also