Builds the debuginfo node for a closure environment.
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”).
Creates a DW_TAG_member
entry inside the DIE represented by the given type_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.
Computes the type parameters for a type, if any, for the given metadata.
Creates debug information for the given global variable.
Creates debuginfo for built-in pointer-like things:
Create debuginfo for [T]
and str
. These are unsized.
Creates the debuginfo node for a Rust struct type. Maybe be a regular struct or a tuple-struct.
Builds the DW_TAG_structure_type debuginfo node for a Rust tuple type.
Build the debuginfo node for a Rust union
type.
Builds the DW_TAG_member debuginfo nodes for the upvars of a closure or generator.
For a generator, this will handle upvars shared by all states.
Generates LLVM debuginfo for a vtable.
Creates debug information for the given vtable, which is for the
given type.
Creates an “extension” of an existing DIScope
into another file.
Extract size and alignment from a TyAndLayout.
Get the debuginfo node for the given type.