Struct rustc_codegen_llvm::debuginfo::CrateDebugContext [−][src]
pub struct CrateDebugContext<'a, 'tcx> {
llcontext: &'a Context,
llmod: &'a Module,
builder: &'a mut DIBuilder<'a>,
created_files: RefCell<FxHashMap<(Option<String>, Option<String>), &'a DIFile>>,
created_enum_disr_types: RefCell<FxHashMap<(DefId, Primitive), &'a DIType>>,
type_map: RefCell<TypeMap<'a, 'tcx>>,
namespace_map: RefCell<DefIdMap<&'a DIScope>>,
composite_types_completed: RefCell<FxHashSet<&'a DIType>>,
}
Expand description
A context object for maintaining all state needed by the debuginfo module.
Fields
llcontext: &'a Context
llmod: &'a Module
builder: &'a mut DIBuilder<'a>
created_files: RefCell<FxHashMap<(Option<String>, Option<String>), &'a DIFile>>
created_enum_disr_types: RefCell<FxHashMap<(DefId, Primitive), &'a DIType>>
type_map: RefCell<TypeMap<'a, 'tcx>>
namespace_map: RefCell<DefIdMap<&'a DIScope>>
composite_types_completed: RefCell<FxHashSet<&'a DIType>>
Implementations
Trait Implementations
Auto Trait Implementations
impl<'a, 'tcx> !RefUnwindSafe for CrateDebugContext<'a, 'tcx>
impl<'a, 'tcx> !Send for CrateDebugContext<'a, 'tcx>
impl<'a, 'tcx> !Sync for CrateDebugContext<'a, 'tcx>
impl<'a, 'tcx> Unpin for CrateDebugContext<'a, 'tcx>
impl<'a, 'tcx> !UnwindSafe for CrateDebugContext<'a, 'tcx>
Blanket Implementations
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 392 bytes