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

pub fn create_global_var_metadata<'ll>(
    cx: &CodegenCx<'ll, '_>,
    def_id: DefId,
    global: &'ll Value
)
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Creates debug information for the given global variable.

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