Function rustc::middle::trans::debuginfo::create_global_var_metadata[src]

pub fn create_global_var_metadata(cx: &CrateContext, node_id: NodeId, global: ValueRef)

Creates debug information for the given global variable.

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