Function rustc_codegen_llvm::debuginfo::metadata::create_global_var_metadata[][src]

pub fn create_global_var_metadata<'ll>(
    cx: &CodegenCx<'ll, '_>,
    def_id: DefId,
    global: &'ll Value
)
Expand description

Creates debug information for the given global variable.

Adds the created metadata nodes directly to the crate’s IR.