rustc_codegen_llvm::debuginfo

Module metadata

Source

Modules§

enums πŸ”’
type_map πŸ”’

Macros§

return_if_di_node_created_in_meantime πŸ”’
Returns from the enclosing function if the type debuginfo node with the given unique ID can be found in the type map.

Constants§

NO_GENERICS πŸ”’
A function that returns an empty list of generic parameter debuginfo nodes.
NO_SCOPE_METADATA πŸ”’
UNKNOWN_COLUMN_NUMBER πŸ”’
UNKNOWN_LINE_NUMBER πŸ”’

Traits§

MsvcBasicName πŸ”’

Functions§

apply_vcall_visibility_metadata πŸ”’
build_basic_type_di_node πŸ”’
build_closure_env_di_node πŸ”’
Builds the debuginfo node for a closure environment.
build_compile_unit_di_node πŸ”’
build_cpp_f16_di_node πŸ”’
build_dyn_type_di_node πŸ”’
Create debuginfo for dyn SomeTrait types. Currently these are empty structs we with the correct type name (e.g. β€œdyn SomeTrait<Foo, Item=u32> + Sync”).
build_field_di_node πŸ”’
Creates a DW_TAG_member entry inside the DIE represented by the given type_di_node.
build_fixed_size_array_di_node πŸ”’
Creates debuginfo for a fixed size array (e.g. [u64; 123]). For slices (that is, β€œarrays” of unknown size) use build_slice_type_di_node.
build_foreign_type_di_node πŸ”’
build_generic_type_param_di_nodes πŸ”’
Computes the type parameters for a type, if any, for the given metadata.
build_global_var_di_node πŸ”’
Creates debug information for the given global variable.
build_pointer_or_reference_di_node πŸ”’
Creates debuginfo for built-in pointer-like things:
build_slice_type_di_node πŸ”’
Create debuginfo for [T] and str. These are unsized.
build_struct_type_di_node πŸ”’
Creates the debuginfo node for a Rust struct type. Maybe be a regular struct or a tuple-struct.
build_subroutine_type_di_node πŸ”’
build_tuple_type_di_node πŸ”’
Builds the DW_TAG_structure_type debuginfo node for a Rust tuple type.
build_union_type_di_node πŸ”’
Build the debuginfo node for a Rust union type.
build_upvar_field_di_nodes πŸ”’
Builds the DW_TAG_member debuginfo nodes for the upvars of a closure or coroutine. For a coroutine, this will handle upvars shared by all states.
build_vtable_type_di_node πŸ”’
Generates LLVM debuginfo for a vtable.
create_vtable_di_node πŸ”’
Creates debug information for the given vtable, which is for the given type.
extend_scope_to_file πŸ”’
Creates an β€œextension” of an existing DIScope into another file.
file_metadata πŸ”’
file_metadata_from_def_id πŸ”’
hex_encode πŸ”’
recursion_marker_type_di_node πŸ”’
size_and_align_of πŸ”’
Extract size and alignment from a TyAndLayout.
tuple_field_name πŸ”’
type_di_node πŸ”’
Get the debuginfo node for the given type.
unknown_file_metadata πŸ”’
visibility_di_flags πŸ”’
Returns the DIFlags corresponding to the visibility of the item identified by did.

Type Aliases§

DefinitionLocation πŸ”’
SmallVec πŸ”’