Click or drag to resize
Llvm.NET LogoDebugInfoBuilder Class

[This is preliminary documentation and is subject to change.]

DebugInfoBuilder is a factory class for creating DebugInformation for an LLVM NativeModule
Inheritance Hierarchy
SystemObject
  Llvm.NET.DebugInfoDebugInfoBuilder

Namespace:  Llvm.NET.DebugInfo
Assembly:  Llvm.NET (in Llvm.NET.dll) Version: 3.8.6158
Syntax
C#
public sealed class DebugInfoBuilder : IDisposable

The DebugInfoBuilder type exposes the following members.

Methods
  NameDescription
Public methodCreateArgument
Creates an argument for a function as a DILocalVariable
Public methodCreateArrayType(UInt64, UInt64, DIType, DINode)
Public methodCreateArrayType(UInt64, UInt64, DIType, DINodeArray)
Public methodCreateBasicType
Construct debug information for a basic type (a.k.a. primitive type)
Public methodCreateCompileUnit(SourceLanguage, String, String, Boolean, String, UInt32)
Creates a new DICompileUnit
Public methodCreateCompileUnit(SourceLanguage, String, String, String, Boolean, String, UInt32)
Creates a new DICompileUnit
Public methodCreateEnumerationType
Public methodCreateEnumeratorValue
Public methodCreateExpression(ExpressionOp)
Public methodCreateExpression(IEnumerableExpressionOp)
Public methodCreateFile(String)
Creates a DIFile
Public methodCreateFile(String, String)
Creates a DIFile
Public methodCreateFunction
Create a DISubProgram with debug information
Public methodCreateGlobalVariable
Public methodCreateLexicalBlock
Creates a new DILexicalBlock
Public methodCreateLexicalBlockFile
Public methodCreateLocalVariable
Public methodCreateMemberType
Public methodCreateNamespace
Creates a DINamespace
Public methodCreatePointerType
Public methodCreateQualifiedType
Public methodCreateReplaceableCompositeType
Public methodCreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, DebugInfoFlags, DIType, DINode)
Public methodCreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, DebugInfoFlags, DIType, IEnumerableDINode)
Public methodCreateStructType(DIScope, String, DIFile, UInt32, UInt64, UInt64, UInt32, DIType, DINodeArray)
Public methodCreateSubRange
Public methodCreateSubroutineType(DebugInfoFlags)
Public methodCreateSubroutineType(DebugInfoFlags, DITypeArray)
Public methodCreateSubroutineType(DebugInfoFlags, DIType, IEnumerableDIType)
Public methodCreateTypeArray(DIType)
Public methodCreateTypeArray(IEnumerableDIType)
Public methodCreateTypedef
Public methodDispose
Releases all resources used by the DebugInfoBuilder
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFinish
Public methodForwardDeclareFunction
Creates a new forward declaration to a function
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetOrCreateArray
Public methodGetOrCreateTypeArray(DIType)
Public methodGetOrCreateTypeArray(IEnumerableDIType)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertDeclare(Value, DILocalVariable, DILocation, Instruction)
Public methodInsertDeclare(Value, DILocalVariable, DILocation, BasicBlock)
Public methodInsertDeclare(Value, DILocalVariable, DIExpression, DILocation, Instruction)
Public methodInsertDeclare(Value, DILocalVariable, DIExpression, DILocation, BasicBlock)
Public methodInsertValue(Value, DILocalVariable, DIExpression, DILocation, BasicBlock)
Public methodInsertValue(Value, UInt64, DILocalVariable, DILocation, Instruction)
Public methodInsertValue(Value, UInt64, DILocalVariable, DILocation, BasicBlock)
Public methodInsertValue(Value, UInt64, DILocalVariable, DIExpression, DILocation, Instruction)
Public methodInsertValue(Value, UInt64, DILocalVariable, DIExpression, DILocation, BasicBlock)
Public methodToString
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