|
unsigned | LLVMDebugMetadataVersion (void) |
| The current debug metadata version number.
|
|
unsigned | LLVMGetModuleDebugMetadataVersion (LLVMModuleRef Module) |
| The version of debug metadata that's present in the provided Module .
|
|
LLVMBool | LLVMStripModuleDebugInfo (LLVMModuleRef Module) |
| Strip debug info in the module if it exists.
|
|
LLVMDIBuilderRef | LLVMCreateDIBuilderDisallowUnresolved (LLVMModuleRef M) |
| Construct a builder for a module, and do not allow for unresolved nodes attached to the module.
|
|
LLVMDIBuilderRef | LLVMCreateDIBuilder (LLVMModuleRef M) |
| Construct a builder for a module and collect unresolved nodes attached to the module in order to resolve cycles during a call to LLVMDIBuilderFinalize .
|
|
void | LLVMDisposeDIBuilder (LLVMDIBuilderRef Builder) |
| Deallocates the DIBuilder and everything it owns.
|
|
void | LLVMDIBuilderFinalize (LLVMDIBuilderRef Builder) |
| Construct any deferred debug info descriptors.
|
|
void | LLVMDIBuilderFinalizeSubprogram (LLVMDIBuilderRef Builder, LLVMMetadataRef Subprogram) |
| Finalize a specific subprogram.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateCompileUnit (LLVMDIBuilderRef Builder, LLVMDWARFSourceLanguage Lang, LLVMMetadataRef FileRef, const char *Producer, size_t ProducerLen, LLVMBool isOptimized, const char *Flags, size_t FlagsLen, unsigned RuntimeVer, const char *SplitName, size_t SplitNameLen, LLVMDWARFEmissionKind Kind, unsigned DWOId, LLVMBool SplitDebugInlining, LLVMBool DebugInfoForProfiling, const char *SysRoot, size_t SysRootLen, const char *SDK, size_t SDKLen) |
| A CompileUnit provides an anchor for all debugging information generated during this instance of compilation.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateFile (LLVMDIBuilderRef Builder, const char *Filename, size_t FilenameLen, const char *Directory, size_t DirectoryLen) |
| Create a file descriptor to hold debugging information for a file.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateModule (LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, const char *ConfigMacros, size_t ConfigMacrosLen, const char *IncludePath, size_t IncludePathLen, const char *APINotesFile, size_t APINotesFileLen) |
| Creates a new descriptor for a module with the specified parent scope.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateNameSpace (LLVMDIBuilderRef Builder, LLVMMetadataRef ParentScope, const char *Name, size_t NameLen, LLVMBool ExportSymbols) |
| Creates a new descriptor for a namespace with the specified parent scope.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateFunction (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *LinkageName, size_t LinkageNameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool IsLocalToUnit, LLVMBool IsDefinition, unsigned ScopeLine, LLVMDIFlags Flags, LLVMBool IsOptimized) |
| Create a new descriptor for the specified subprogram.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateLexicalBlock (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned Column) |
| Create a descriptor for a lexical block with the specified parent context.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateLexicalBlockFile (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Discriminator) |
| Create a descriptor for a lexical block with a new file attached.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateImportedModuleFromNamespace (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef NS, LLVMMetadataRef File, unsigned Line) |
| Create a descriptor for an imported namespace.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateImportedModuleFromAlias (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef ImportedEntity, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef *Elements, unsigned NumElements) |
| Create a descriptor for an imported module that aliases another imported entity descriptor.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateImportedModuleFromModule (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef M, LLVMMetadataRef File, unsigned Line, LLVMMetadataRef *Elements, unsigned NumElements) |
| Create a descriptor for an imported module.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateImportedDeclaration (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, LLVMMetadataRef Decl, LLVMMetadataRef File, unsigned Line, const char *Name, size_t NameLen, LLVMMetadataRef *Elements, unsigned NumElements) |
| Create a descriptor for an imported function, type, or variable.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateDebugLocation (LLVMContextRef Ctx, unsigned Line, unsigned Column, LLVMMetadataRef Scope, LLVMMetadataRef InlinedAt) |
| Creates a new DebugLocation that describes a source location.
|
|
unsigned | LLVMDILocationGetLine (LLVMMetadataRef Location) |
| Get the line number of this debug location.
|
|
unsigned | LLVMDILocationGetColumn (LLVMMetadataRef Location) |
| Get the column number of this debug location.
|
|
LLVMMetadataRef | LLVMDILocationGetScope (LLVMMetadataRef Location) |
| Get the local scope associated with this debug location.
|
|
LLVMMetadataRef | LLVMDILocationGetInlinedAt (LLVMMetadataRef Location) |
| Get the "inline at" location associated with this debug location.
|
|
LLVMMetadataRef | LLVMDIScopeGetFile (LLVMMetadataRef Scope) |
| Get the metadata of the file associated with a given scope.
|
|
const char * | LLVMDIFileGetDirectory (LLVMMetadataRef File, unsigned *Len) |
| Get the directory of a given file.
|
|
const char * | LLVMDIFileGetFilename (LLVMMetadataRef File, unsigned *Len) |
| Get the name of a given file.
|
|
const char * | LLVMDIFileGetSource (LLVMMetadataRef File, unsigned *Len) |
| Get the source of a given file.
|
|
LLVMMetadataRef | LLVMDIBuilderGetOrCreateTypeArray (LLVMDIBuilderRef Builder, LLVMMetadataRef *Data, size_t NumElements) |
| Create a type array.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateSubroutineType (LLVMDIBuilderRef Builder, LLVMMetadataRef File, LLVMMetadataRef *ParameterTypes, unsigned NumParameterTypes, LLVMDIFlags Flags) |
| Create subroutine type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateMacro (LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMDWARFMacinfoRecordType RecordType, const char *Name, size_t NameLen, const char *Value, size_t ValueLen) |
| Create debugging information entry for a macro.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateTempMacroFile (LLVMDIBuilderRef Builder, LLVMMetadataRef ParentMacroFile, unsigned Line, LLVMMetadataRef File) |
| Create debugging information temporary entry for a macro file.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateEnumerator (LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, int64_t Value, LLVMBool IsUnsigned) |
| Create debugging information entry for an enumerator.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateEnumerationType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMMetadataRef *Elements, unsigned NumElements, LLVMMetadataRef ClassTy) |
| Create debugging information entry for an enumeration.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateUnionType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef *Elements, unsigned NumElements, unsigned RunTimeLang, const char *UniqueId, size_t UniqueIdLen) |
| Create debugging information entry for a union.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateArrayType (LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, unsigned NumSubscripts) |
| Create debugging information entry for an array.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateVectorType (LLVMDIBuilderRef Builder, uint64_t Size, uint32_t AlignInBits, LLVMMetadataRef Ty, LLVMMetadataRef *Subscripts, unsigned NumSubscripts) |
| Create debugging information entry for a vector type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateUnspecifiedType (LLVMDIBuilderRef Builder, const char *Name, size_t NameLen) |
| Create a DWARF unspecified type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateBasicType (LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, uint64_t SizeInBits, LLVMDWARFTypeEncoding Encoding, LLVMDIFlags Flags) |
| Create debugging information entry for a basic type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreatePointerType (LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeTy, uint64_t SizeInBits, uint32_t AlignInBits, unsigned AddressSpace, const char *Name, size_t NameLen) |
| Create debugging information entry for a pointer.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateStructType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, LLVMMetadataRef DerivedFrom, LLVMMetadataRef *Elements, unsigned NumElements, unsigned RunTimeLang, LLVMMetadataRef VTableHolder, const char *UniqueId, size_t UniqueIdLen) |
| Create debugging information entry for a struct.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateMemberType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Ty) |
| Create debugging information entry for a member.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateStaticMemberType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, LLVMMetadataRef Type, LLVMDIFlags Flags, LLVMValueRef ConstantVal, uint32_t AlignInBits) |
| Create debugging information entry for a C++ static data member.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateMemberPointerType (LLVMDIBuilderRef Builder, LLVMMetadataRef PointeeType, LLVMMetadataRef ClassType, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags) |
| Create debugging information entry for a pointer to member.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateObjCIVar (LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Ty, LLVMMetadataRef PropertyNode) |
| Create debugging information entry for Objective-C instance variable.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateObjCProperty (LLVMDIBuilderRef Builder, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, const char *GetterName, size_t GetterNameLen, const char *SetterName, size_t SetterNameLen, unsigned PropertyAttributes, LLVMMetadataRef Ty) |
| Create debugging information entry for Objective-C property.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateObjectPointerType (LLVMDIBuilderRef Builder, LLVMMetadataRef Type) |
| Create a uniqued DIType* clone with FlagObjectPointer and FlagArtificial set.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateQualifiedType (LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type) |
| Create debugging information entry for a qualified type, e.g.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateReferenceType (LLVMDIBuilderRef Builder, unsigned Tag, LLVMMetadataRef Type) |
| Create debugging information entry for a c++ style reference or rvalue reference type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateNullPtrType (LLVMDIBuilderRef Builder) |
| Create C++11 nullptr type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateTypedef (LLVMDIBuilderRef Builder, LLVMMetadataRef Type, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Scope, uint32_t AlignInBits) |
| Create debugging information entry for a typedef.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateInheritance (LLVMDIBuilderRef Builder, LLVMMetadataRef Ty, LLVMMetadataRef BaseTy, uint64_t BaseOffset, uint32_t VBPtrOffset, LLVMDIFlags Flags) |
| Create debugging information entry to establish inheritance relationship between two types.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateForwardDecl (LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, const char *UniqueIdentifier, size_t UniqueIdentifierLen) |
| Create a permanent forward-declared type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateReplaceableCompositeType (LLVMDIBuilderRef Builder, unsigned Tag, const char *Name, size_t NameLen, LLVMMetadataRef Scope, LLVMMetadataRef File, unsigned Line, unsigned RuntimeLang, uint64_t SizeInBits, uint32_t AlignInBits, LLVMDIFlags Flags, const char *UniqueIdentifier, size_t UniqueIdentifierLen) |
| Create a temporary forward-declared type.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateBitFieldMemberType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint64_t OffsetInBits, uint64_t StorageOffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef Type) |
| Create debugging information entry for a bit field member.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateClassType (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits, uint32_t AlignInBits, uint64_t OffsetInBits, LLVMDIFlags Flags, LLVMMetadataRef DerivedFrom, LLVMMetadataRef *Elements, unsigned NumElements, LLVMMetadataRef VTableHolder, LLVMMetadataRef TemplateParamsNode, const char *UniqueIdentifier, size_t UniqueIdentifierLen) |
| Create debugging information entry for a class.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateArtificialType (LLVMDIBuilderRef Builder, LLVMMetadataRef Type) |
| Create a uniqued DIType* clone with FlagArtificial set.
|
|
const char * | LLVMDITypeGetName (LLVMMetadataRef DType, size_t *Length) |
| Get the name of this DIType.
|
|
uint64_t | LLVMDITypeGetSizeInBits (LLVMMetadataRef DType) |
| Get the size of this DIType in bits.
|
|
uint64_t | LLVMDITypeGetOffsetInBits (LLVMMetadataRef DType) |
| Get the offset of this DIType in bits.
|
|
uint32_t | LLVMDITypeGetAlignInBits (LLVMMetadataRef DType) |
| Get the alignment of this DIType in bits.
|
|
unsigned | LLVMDITypeGetLine (LLVMMetadataRef DType) |
| Get the source line where this DIType is declared.
|
|
LLVMDIFlags | LLVMDITypeGetFlags (LLVMMetadataRef DType) |
| Get the flags associated with this DIType.
|
|
LLVMMetadataRef | LLVMDIBuilderGetOrCreateSubrange (LLVMDIBuilderRef Builder, int64_t LowerBound, int64_t Count) |
| Create a descriptor for a value range.
|
|
LLVMMetadataRef | LLVMDIBuilderGetOrCreateArray (LLVMDIBuilderRef Builder, LLVMMetadataRef *Data, size_t NumElements) |
| Create an array of DI Nodes.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateExpression (LLVMDIBuilderRef Builder, uint64_t *Addr, size_t Length) |
| Create a new descriptor for the specified variable which has a complex address expression for its address.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateConstantValueExpression (LLVMDIBuilderRef Builder, uint64_t Value) |
| Create a new descriptor for the specified variable that does not have an address, but does have a constant value.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateGlobalVariableExpression (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LinkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, LLVMMetadataRef Expr, LLVMMetadataRef Decl, uint32_t AlignInBits) |
| Create a new descriptor for the specified variable.
|
|
uint16_t | LLVMGetDINodeTag (LLVMMetadataRef MD) |
| Get the dwarf::Tag of a DINode.
|
|
LLVMMetadataRef | LLVMDIGlobalVariableExpressionGetVariable (LLVMMetadataRef GVE) |
| Retrieves the DIVariable associated with this global variable expression.
|
|
LLVMMetadataRef | LLVMDIGlobalVariableExpressionGetExpression (LLVMMetadataRef GVE) |
| Retrieves the DIExpression associated with this global variable expression.
|
|
LLVMMetadataRef | LLVMDIVariableGetFile (LLVMMetadataRef Var) |
| Get the metadata of the file associated with a given variable.
|
|
LLVMMetadataRef | LLVMDIVariableGetScope (LLVMMetadataRef Var) |
| Get the metadata of the scope associated with a given variable.
|
|
unsigned | LLVMDIVariableGetLine (LLVMMetadataRef Var) |
| Get the source line where this DIVariable is declared.
|
|
LLVMMetadataRef | LLVMTemporaryMDNode (LLVMContextRef Ctx, LLVMMetadataRef *Data, size_t NumElements) |
| Create a new temporary MDNode .
|
|
void | LLVMDisposeTemporaryMDNode (LLVMMetadataRef TempNode) |
| Deallocate a temporary node.
|
|
void | LLVMMetadataReplaceAllUsesWith (LLVMMetadataRef TempTargetMetadata, LLVMMetadataRef Replacement) |
| Replace all uses of temporary metadata.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateTempGlobalVariableFwdDecl (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, const char *Linkage, size_t LnkLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool LocalToUnit, LLVMMetadataRef Decl, uint32_t AlignInBits) |
| Create a new descriptor for the specified global variable that is temporary and meant to be RAUWed.
|
|
LLVMDbgRecordRef | LLVMDIBuilderInsertDeclareRecordBefore (LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr) |
| Only use in "new debug format" (LLVMIsNewDbgInfoFormat() is true).
|
|
LLVMDbgRecordRef | LLVMDIBuilderInsertDeclareRecordAtEnd (LLVMDIBuilderRef Builder, LLVMValueRef Storage, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block) |
| Only use in "new debug format" (LLVMIsNewDbgInfoFormat() is true).
|
|
LLVMDbgRecordRef | LLVMDIBuilderInsertDbgValueRecordBefore (LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMValueRef Instr) |
| Only use in "new debug format" (LLVMIsNewDbgInfoFormat() is true).
|
|
LLVMDbgRecordRef | LLVMDIBuilderInsertDbgValueRecordAtEnd (LLVMDIBuilderRef Builder, LLVMValueRef Val, LLVMMetadataRef VarInfo, LLVMMetadataRef Expr, LLVMMetadataRef DebugLoc, LLVMBasicBlockRef Block) |
| Only use in "new debug format" (LLVMIsNewDbgInfoFormat() is true).
|
|
LLVMMetadataRef | LLVMDIBuilderCreateAutoVariable (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags, uint32_t AlignInBits) |
| Create a new descriptor for a local auto variable.
|
|
LLVMMetadataRef | LLVMDIBuilderCreateParameterVariable (LLVMDIBuilderRef Builder, LLVMMetadataRef Scope, const char *Name, size_t NameLen, unsigned ArgNo, LLVMMetadataRef File, unsigned LineNo, LLVMMetadataRef Ty, LLVMBool AlwaysPreserve, LLVMDIFlags Flags) |
| Create a new descriptor for a function parameter variable.
|
|
LLVMMetadataRef | LLVMGetSubprogram (LLVMValueRef Func) |
| Get the metadata of the subprogram attached to a function.
|
|
void | LLVMSetSubprogram (LLVMValueRef Func, LLVMMetadataRef SP) |
| Set the subprogram attached to a function.
|
|
unsigned | LLVMDISubprogramGetLine (LLVMMetadataRef Subprogram) |
| Get the line associated with a given subprogram.
|
|
LLVMMetadataRef | LLVMInstructionGetDebugLoc (LLVMValueRef Inst) |
| Get the debug location for the given instruction.
|
|
void | LLVMInstructionSetDebugLoc (LLVMValueRef Inst, LLVMMetadataRef Loc) |
| Set the debug location for the given instruction.
|
|
LLVMMetadataKind | LLVMGetMetadataKind (LLVMMetadataRef Metadata) |
| Obtain the enumerated type of a Metadata instance.
|
|