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§
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 - find_
vtable_ 🔒behind_ cast - Get the global variable for the vtable.
- 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
.