[−][src]Function rustc_middle::ty::query::profiling_support::alloc_self_profile_query_strings_for_query_cache

pub(in ty::query) fn alloc_self_profile_query_strings_for_query_cache<'tcx, C>(
    tcx: TyCtxt<'tcx>,
    query_name: &'static str,
    query_state: &QueryState<DepKind, <TyCtxt<'tcx> as QueryContext>::Query, C>,
    string_cache: &mut QueryKeyStringCache
) where
    C: QueryCache,
    C::Key: Debug + Clone, 

Allocate the self-profiling query strings for a single query cache. This method is called from alloc_self_profile_query_strings which knows all the queries via macro magic.