Function rustc_codegen_llvm::debuginfo::metadata::build_global_var_di_node
source · pub fn build_global_var_di_node<'ll>(
cx: &CodegenCx<'ll, '_>,
def_id: DefId,
global: &'ll Value
)
Expand description
Creates debug information for the given global variable.
Adds the created debuginfo nodes directly to the crate’s IR.