struct

LLVM::DIBuilder

Inherits Struct / Value / Object

EXPERIMENTAL The C API wrapped by this type is marked as experimental by LLVM.

Constructors

Instance methods

context
Source
create_array_type(size_in_bits, align_in_bits, type, subs : LibLLVM::MetadataRef)

DEPRECATED Pass an array for subs directly

Source
create_array_type(size_in_bits, align_in_bits, type, subs)
Source
create_auto_variable(scope, name, file, line, type, align_in_bits, flags = DIFlags::Zero)
Source
create_basic_type(name, size_in_bits, align_in_bits, encoding)
Source
create_compile_unit(lang : DwarfSourceLanguage, file, dir, producer, optimized, flags, runtime_version)
Source
create_compile_unit(lang cpp_lang_code, file, dir, producer, optimized, flags, runtime_version)

DEPRECATED Pass an LLVM::DwarfSourceLanguage for lang instead

Source
create_debug_location(line, column, scope, inlined_at = nil)
Source
create_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

Source
create_enumeration_type(scope, name, file, line_number, size_in_bits, align_in_bits, elements, underlying_type)
Source
create_enumerator(name, value)
Source
create_expression(addr, length)
Source
create_file(file, dir)
Source
create_function(scope, name, linkage_name, file, line, composite_type, is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
Source
create_global_variable_expression(scope, name, linkage_name, file, line, type, local_to_unit, expr = nil, decl = nil, align_in_bits = 0_u32)
Source
create_lexical_block(scope, file_scope, line, column)
Source
create_lexical_block_file(scope, file_scope, discriminator = 0)
Source
create_member_type(scope, name, file, line, size_in_bits, align_in_bits, offset_in_bits, flags, ty)
Source
create_parameter_variable(scope, name, argno, file, line, type, flags = DIFlags::Zero)
Source
create_pointer_type(pointee, size_in_bits, align_in_bits, name)
Source
create_replaceable_composite_type(scope, name, file, line)
Source
create_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

Source
create_struct_type(scope, name, file, line, size_in_bits, align_in_bits, flags, derived_from, element_types)
Source
create_subroutine_type(file, parameter_types : LibLLVM::MetadataRef)

DEPRECATED Pass an array for parameter_types directly

Source
create_subroutine_type(file, parameter_types)
Source
create_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

Source
create_union_type(scope, name, file, line, size_in_bits, align_in_bits, flags, element_types)
Source
create_unspecified_type(name : String)
Source
dispose
Source
get_or_create_array(elements : Array(LibLLVM::MetadataRef))
Source
get_or_create_array_subrange(lo, count)
Source
get_or_create_type_array(types : Array(LibLLVM::MetadataRef))
Source
insert_declare_at_end(storage, var_info, expr, dl : LibLLVM::MetadataRef, block)
Source
insert_declare_at_end(storage, var_info, expr, dl : LibLLVM::ValueRef | LLVM::Value, block)

DEPRECATED Use a LibLLVM::MetadataRef for dl instead

Source
replace_temporary(from, to)
Source
to_unsafe
Source