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 Contextllmod: &'a Modulebuilder: &'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>>