LCOV - code coverage report
Current view: top level - gcc/cp - error.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 88.1 % 2676 2357
Test Date: 2025-12-06 14:04:50 Functions: 94.4 % 108 102
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: - 0 0

Function Name Sort by function name Hit count Sort by function hit count
_Z11location_ofP9tree_node 2081971
_Z13cp_seen_errorv 8498895
_Z13pedwarn_cxx98mN11diagnostics9option_idEPKcz 3709630
_Z14decl_as_stringP9tree_nodei 39893621
_Z14expr_as_stringP9tree_nodei 4459
_Z14expr_to_stringP9tree_node 49966
_Z14lang_decl_nameP9tree_nodeib 159554391
_Z14type_as_stringP9tree_nodei 213
_Z16maybe_warn_cpp0x14cpp0x_warn_strm 64817596
_Z18language_to_string9languages 14386
_Z20decl_as_dwarf_stringP9tree_nodei 39835806
_Z20lang_decl_dwarf_nameP9tree_nodeib 159418670
_Z21pp_ggc_formatted_textP14pretty_printer 199615823
_Z24cxx_print_error_functionRN11diagnostics9text_sinkEPKcPKNS_15diagnostic_infoE 119
_Z24decl_as_string_translateP9tree_nodei 0
_Z24type_as_string_translateP9tree_nodei 0
_Z26cxx_initialize_diagnosticsPN11diagnostics7contextE 96924
_Z27class_key_or_enum_as_stringP9tree_node 122287957
_Z27qualified_name_lookup_errorP9tree_nodeS0_S0_m 554
_Z29maybe_warn_variadic_templatesv 14193318
_Z37maybe_print_single_constraint_contextRN11diagnostics9text_sinkEP9tree_node 1409
_ZL10cp_printerP14pretty_printerP9text_infoPKcibbbPbR13pp_token_list 219972
_ZL10dump_scopeP18cxx_pretty_printerP9tree_nodei 160979884
_ZL12cv_to_stringP9tree_nodei 646
_ZL12op_to_stringb9tree_code 318
_ZL13arg_to_stringP9tree_nodeb 636
_ZL13dump_typenameP18cxx_pretty_printerP9tree_nodei 4297
_ZL13dump_unary_opP18cxx_pretty_printerPKcP9tree_nodei 2952
_ZL13reinit_cxx_ppv 199615407
_ZL14args_to_stringP9tree_nodei 3933
_ZL14code_to_string9tree_code 0
_ZL14decl_to_stringP9tree_nodeib 99206
_ZL14dump_aggr_typeP18cxx_pretty_printerP9tree_nodei 122287849
_ZL14dump_binary_opP18cxx_pretty_printerPKcP9tree_nodei 2002
_ZL14dump_decl_nameP18cxx_pretty_printerP9tree_nodei 159963902
_ZL14dump_expr_listP18cxx_pretty_printerP9tree_nodei 200
_ZL14find_typenamesP9tree_node 31677
_ZL14parm_to_stringi 1491
_ZL14print_locationRN11diagnostics9text_sinkEm 12992
_ZL14type_to_stringP9tree_nodeibPbbPKc 63958
_ZL15dump_parametersP18cxx_pretty_printerP9tree_nodei 1628438
_ZL15subst_to_stringP9tree_nodeb 1591
_ZL16dump_global_iordP18cxx_pretty_printerP9tree_node 69
_ZL16dump_simple_declP18cxx_pretty_printerP9tree_nodeS2_i 932185
_ZL16dump_type_prefixP18cxx_pretty_printerP9tree_nodei 45172392
_ZL16dump_type_suffixP18cxx_pretty_printerP9tree_nodei 21865954
_ZL16find_typenames_rPP9tree_nodePiPv 242426
_ZL16fndecl_to_stringP9tree_nodei 350
_ZL17dump_substitutionP18cxx_pretty_printerP9tree_nodeS2_S2_i 570139
_ZL17eh_spec_to_stringP9tree_nodei 3
_ZL17function_categoryP9tree_node 24169
_ZL18dump_expr_init_vecP18cxx_pretty_printerP3vecI15constructor_elt5va_gc8vl_embedEi 9737
_ZL18dump_function_declP18cxx_pretty_printerP9tree_nodei 582600
_ZL18dump_function_nameP18cxx_pretty_printerP9tree_nodei 82294262
_ZL18dump_module_suffixP18cxx_pretty_printerP9tree_node 205495541
_ZL18dump_ref_qualifierP18cxx_pretty_printerP9tree_nodei 865586
_ZL18dump_template_declP18cxx_pretty_printerP9tree_nodei 434874
_ZL18newline_and_indentP14pretty_printeri 228
_ZL18print_nonequal_argP14pretty_printerP9tree_nodebPKc 624
_ZL19dump_call_expr_argsP18cxx_pretty_printerP9tree_nodeib 6355
_ZL19dump_exception_specP18cxx_pretty_printerP9tree_nodei 735387
_ZL19dump_template_parmsP18cxx_pretty_printerP9tree_nodeii 80272584
_ZL20dump_lambda_functionP18cxx_pretty_printerP9tree_nodeS2_S2_i 4454
_ZL20get_current_templatev 85440
_ZL22append_formatted_chunkP14pretty_printerPKc 0
_ZL22dump_template_argumentP18cxx_pretty_printerP9tree_nodei 134783156
_ZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedE 33268
_ZL23cp_print_error_functionRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 224145
_ZL23dump_omp_declare_mapperP18cxx_pretty_printerP9tree_nodei 48
_ZL23dump_template_parameterP18cxx_pretty_printerP9tree_nodei 68553
_ZL24print_concept_check_infoRN11diagnostics9text_sinkEP9tree_nodeS3_S3_ 893
_ZL25cp_adjust_diagnostic_infoRKN11diagnostics7contextEPNS_15diagnostic_infoE 90056035
_ZL26cp_diagnostic_text_starterRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 224145
_ZL26defer_phase_2_of_type_diffP21deferred_printed_typeP9tree_nodeR13pp_token_listbb 21248
_ZL26print_template_differencesP14pretty_printerP9tree_nodeS2_biPKcS4_ 449
_ZL27comparable_template_types_pP9tree_nodeS0_ 11611
_ZL27dump_template_argument_listP18cxx_pretty_printerP9tree_nodei 7081825
_ZL27print_constrained_decl_infoRN11diagnostics9text_sinkEP9tree_node 605
_ZL27type_to_string_with_compareP9tree_nodeS0_bbPKcS2_ 342
_ZL29maybe_print_constexpr_contextRN11diagnostics9text_sinkE 224145
_ZL29print_constraint_context_headRN11diagnostics9text_sinkEP9tree_nodeS3_ 1382
_ZL30maybe_print_constraint_contextRN11diagnostics9text_sinkE 224148
_ZL30print_requires_expression_infoRN11diagnostics9text_sinkEP9tree_nodeS3_ 347
_ZL30print_template_tree_comparisonP14pretty_printerP9tree_nodeS2_biPKcS4_ 0
_ZL32print_instantiation_full_contextRN11diagnostics9text_sinkE 5417
_ZL33maybe_print_instantiation_contextRN11diagnostics9text_sinkE 224264
_ZL34dump_alias_template_specializationP18cxx_pretty_printerP9tree_nodei 5262
_ZL35get_non_default_template_args_countP9tree_nodei 86972474
_ZL35print_instantiation_partial_contextRN11diagnostics9text_sinkEP11tinst_levelm 5417
_ZL37resolve_virtual_fun_from_obj_type_refP9tree_node 274
_ZL40print_instantiation_partial_context_lineRN11diagnostics9text_sinkEP11tinst_levelmb 7298
_ZL9dump_declP18cxx_pretty_printerP9tree_nodei 278509587
_ZL9dump_exprP18cxx_pretty_printerP9tree_nodei 14660017
_ZL9dump_typeP18cxx_pretty_printerP9tree_nodei 197968124
_ZN14colorize_guardC2EbP18cxx_pretty_printerPKc 82294262
_ZN14colorize_guardD2Ev 82294262
_ZN17auto_context_lineC2ERN11diagnostics9text_sinkEmb 13028
_ZN17auto_context_lineD2Ev 13028
_ZN21deferred_printed_type23set_text_for_token_listEPKcb 21248
_ZN23cxx_dump_pretty_printerC2Ei 699626551
_ZN23cxx_dump_pretty_printerD0Ev 699626551
_ZN23cxx_dump_pretty_printerD0Ev 0
_ZN23cxx_dump_pretty_printerD2Ev 699626551
_ZN24cxx_format_postprocessor6handleEP14pretty_printer 340607
_ZN9pp_markup19element_quoted_type10print_typeERNS_7contextE 652
_ZNK24cxx_format_postprocessor5cloneEv 220957
_ZNK29range_label_for_type_mismatch8get_textEj 437
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonD2Ev 33268
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonclEv 64458

Generated by: LCOV version 2.1-beta

LCOV profile is generated on x86_64 machine using following configure options: configure --disable-bootstrap --enable-coverage=opt --enable-languages=c,c++,fortran,go,jit,lto,rust,m2 --enable-host-shared. GCC test suite is run with the built compiler.