pub struct CodegenUnitDebugContext<'ll, 'tcx> {
llcontext: &'ll Context,
llmod: &'ll Module,
builder: &'ll mut DIBuilder<'ll>,
created_files: RefCell<FxHashMap<Option<(u128, SourceFileHash)>, &'ll DIFile>>,
type_map: TypeMap<'ll, 'tcx>,
namespace_map: RefCell<DefIdMap<&'ll DIScope>>,
recursion_marker_type: OnceCell<&'ll DIType>,
}
Expand description
A context object for maintaining all state needed by the debuginfo module.
Fields§
§llcontext: &'ll Context
§llmod: &'ll Module
§builder: &'ll mut DIBuilder<'ll>
§created_files: RefCell<FxHashMap<Option<(u128, SourceFileHash)>, &'ll DIFile>>
§type_map: TypeMap<'ll, 'tcx>
§namespace_map: RefCell<DefIdMap<&'ll DIScope>>
§recursion_marker_type: OnceCell<&'ll DIType>
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'ll, 'tcx> !RefUnwindSafe for CodegenUnitDebugContext<'ll, 'tcx>
impl<'ll, 'tcx> !Send for CodegenUnitDebugContext<'ll, 'tcx>
impl<'ll, 'tcx> !Sync for CodegenUnitDebugContext<'ll, 'tcx>
impl<'ll, 'tcx> Unpin for CodegenUnitDebugContext<'ll, 'tcx>
impl<'ll, 'tcx> !UnwindSafe for CodegenUnitDebugContext<'ll, '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: 152 bytes