Re-exportsยง
use rustc_hir::def_id::DefId;๐use rustc_middle::ty::layout::HasTypingEnv;๐use rustc_middle::ty::layout::LayoutOf;๐use rustc_middle::ty;๐use rustc_middle::ty::Ty;๐use tracing::trace;๐use super::CodegenUnitDebugContext;๐use super::namespace::item_namespace;๐use crate::common::CodegenCx;๐use crate::llvm;๐use crate::llvm::debuginfo::DIArray;๐use crate::llvm::debuginfo::DIBuilder;๐use crate::llvm::debuginfo::DIDescriptor;๐use crate::llvm::debuginfo::DIScope;๐
Enumsยง
- Wide
PtrKind ๐
Functionsยง
- DIB ๐
- create_
DIArray ๐ - debug_
context ๐ - get_
namespace_ ๐for_ item - is_
node_ ๐local_ to_ unit - wide_
pointer_ ๐kind - Determines if
pointee_tyis slice-like or trait-object-like, i.e. if the second field of the wide pointer is a length or a vtable-pointer. Ifpointee_tydoes not require a wide pointer (because it is Sized) then the function returnsNone.