Function rustc::middle::trans::debuginfo::create_function_debug_context[src]
pub fn create_function_debug_context(cx: &CrateContext, fn_ast_id: NodeId, param_substs: ¶m_substs, llfn: ValueRef) -> FunctionDebugContext
Creates the function-specific debug context.
Returns the FunctionDebugContext for the function which holds state needed for debug info creation. The function may also return another variant of the FunctionDebugContext enum which indicates why no debuginfo should be created for the function.