Function rustc_trans::trans::debuginfo::create_global_var_metadataExperimental [-]  [+] [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.