Skip to main content

Module utils

Module utils 

Source

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ยง

WidePtrKind ๐Ÿ”’

Functionsยง

DIB ๐Ÿ”’
create_DIArray ๐Ÿ”’
debug_context ๐Ÿ”’
get_namespace_for_item ๐Ÿ”’
is_node_local_to_unit ๐Ÿ”’
wide_pointer_kind ๐Ÿ”’
Determines if pointee_ty is slice-like or trait-object-like, i.e. if the second field of the wide pointer is a length or a vtable-pointer. If pointee_ty does not require a wide pointer (because it is Sized) then the function returns None.