LLVM::DIBuilder
EXPERIMENTAL The C API wrapped by this type is marked as experimental by LLVM.
Constructors
new(mod : LLVM::Module)
SourceInstance methods
context
Sourcecreate_array_type(size_in_bits, align_in_bits, type, subs : LibLLVM::MetadataRef)
DEPRECATED Pass an array for subs directly
create_array_type(size_in_bits, align_in_bits, type, subs)
Sourcecreate_auto_variable(scope, name, file, line, type, align_in_bits, flags = DIFlags::Zero)
Sourcecreate_basic_type(name, size_in_bits, align_in_bits, encoding)
Sourcecreate_compile_unit(lang : DwarfSourceLanguage, file, dir, producer, optimized, flags, runtime_version)
Sourcecreate_compile_unit(lang cpp_lang_code, file, dir, producer, optimized, flags, runtime_version)
DEPRECATED Pass an LLVM::DwarfSourceLanguage for lang instead
create_debug_location(line, column, scope, inlined_at = nil)
Sourcecreate_enumeration_type(scope, name, file, line_number, size_in_bits, align_in_bits, elements : LibLLVM::MetadataRef, underlying_type)
DEPRECATED Pass an array for elements directly
create_enumeration_type(scope, name, file, line_number, size_in_bits, align_in_bits, elements, underlying_type)
Sourcecreate_enumerator(name, value)
Sourcecreate_expression(addr, length)
Sourcecreate_file(file, dir)
Sourcecreate_function(scope, name, linkage_name, file, line, composite_type, is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
Sourcecreate_global_variable_expression(scope, name, linkage_name, file, line, type, local_to_unit, expr = nil, decl = nil, align_in_bits = 0_u32)
Sourcecreate_lexical_block(scope, file_scope, line, column)
Sourcecreate_lexical_block_file(scope, file_scope, discriminator = 0)
Sourcecreate_member_type(scope, name, file, line, size_in_bits, align_in_bits, offset_in_bits, flags, ty)
Sourcecreate_parameter_variable(scope, name, argno, file, line, type, flags = DIFlags::Zero)
Sourcecreate_pointer_type(pointee, size_in_bits, align_in_bits, name)
Sourcecreate_replaceable_composite_type(scope, name, file, line)
Sourcecreate_struct_type(scope, name, file, line, size_in_bits, align_in_bits, flags, derived_from, element_types : LibLLVM::MetadataRef)
DEPRECATED Pass an array for element_types directly
create_struct_type(scope, name, file, line, size_in_bits, align_in_bits, flags, derived_from, element_types)
Sourcecreate_subroutine_type(file, parameter_types : LibLLVM::MetadataRef)
DEPRECATED Pass an array for parameter_types directly
create_subroutine_type(file, parameter_types)
Sourcecreate_union_type(scope, name, file, line, size_in_bits, align_in_bits, flags, element_types : LibLLVM::MetadataRef)
DEPRECATED Pass an array for element_types directly
create_union_type(scope, name, file, line, size_in_bits, align_in_bits, flags, element_types)
Sourcedispose
Sourceend
Sourceget_or_create_array_subrange(lo, count)
Sourceinsert_declare_at_end(storage, var_info, expr, dl : LibLLVM::MetadataRef, block)
SourceDEPRECATED Use a LibLLVM::MetadataRef for dl instead
replace_temporary(from, to)
Sourceto_unsafe
Source