Modules§
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§
- Msvc
Basic πName
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 giventype_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]
andstr
. 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 bydid
.
Type Aliases§
- Definition
Location π - Small
Vec π