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

pub fn set_source_location(fcx: &FunctionContext, node_id: NodeId, span: Span)

Sets the current debug location at the beginning of the span.

Maps to a call to llvm::LLVMSetCurrentDebugLocation(...). The node_id parameter is used to reliably find the correct visibility scope for the code position.