On this page:
10.1 Debug Info Builder
llvmdi-builder-create-compile-unit
10.2 Debug Info Type Operations
llvmdi-type-get-flags
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.