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 coroutine.
For a coroutine, 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.
Returns the DIFlags
corresponding to the visibility of the item identified by did
.