9.1
10 Debug Information
Functions for creating and manipulating LLVM debug information metadata.
10.1 Debug Info Builder
procedure
(llvmdi-builder-create-compile-unit builder language file producer is-optimized? flags runtime-ver split-name kind dwoid split-debug-inlining? debug-info-for-profiling? gnuPubnames? gnuStrictDwarf?) → _LLVMMetadataRef builder : _LLVMDIBuilderRef language : _llvmdwarf-source-language file : _LLVMMetadataRef producer : string? is-optimized? : boolean? flags : string? runtime-ver : exact-nonnegative-integer? split-name : string? kind : _llvmdwarf-emission-kind dwoid : exact-nonnegative-integer? split-debug-inlining? : boolean? debug-info-for-profiling? : boolean? gnuPubnames? : boolean? gnuStrictDwarf? : boolean?
Creates a compile unit for debug information. language specifies the source language,
kind specifies the DWARF emission mode (none, full, or line-tables-only).
10.2 Debug Info Type Operations
procedure
(llvmdi-type-get-flags ditype) → _llvmdi-flags
ditype : _LLVMMetadataRef
Returns the debug information flags of a debug type node.