LCOV - code coverage report
Current view: top level - gcc/cp - error.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 87.5 % 2743 2401
Test Date: 2026-04-20 14:57:17 Functions: 96.3 % 109 105
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_Z11location_ofP9tree_node 1997965
_Z13cp_seen_errorv 8692923
_Z13pedwarn_cxx98mN11diagnostics9option_idEPKcz 3677288
_Z14decl_as_stringP9tree_nodei 48338738
_Z14expr_as_stringP9tree_nodei 3972
_Z14expr_to_stringP9tree_node 50047
_Z14lang_decl_nameP9tree_nodeib 187048593
_Z14type_as_stringP9tree_nodei 213
_Z16maybe_warn_cpp0x14cpp0x_warn_strm 84376918
_Z18language_to_string9languages 14402
_Z20decl_as_dwarf_stringP9tree_nodei 48273013
_Z20inform_tree_categoryP9tree_node 95
_Z20lang_decl_dwarf_nameP9tree_nodeib 186902668
_Z21pp_ggc_formatted_textP14pretty_printer 235546355
_Z24cxx_print_error_functionRN11diagnostics9text_sinkEPKcPKNS_15diagnostic_infoE 119
_Z24decl_as_string_translateP9tree_nodei 0
_Z24type_as_string_translateP9tree_nodei 0
_Z26cxx_initialize_diagnosticsPN11diagnostics7contextE 98419
_Z27class_key_or_enum_as_stringP9tree_node 134370986
_Z27qualified_name_lookup_errorP9tree_nodeS0_S0_m 557
_Z29maybe_warn_variadic_templatesv 13978204
_Z37maybe_print_single_constraint_contextRN11diagnostics9text_sinkEP9tree_node 1351
_ZL10cp_printerP14pretty_printerP9text_infoPKcibbbPbR13pp_token_list 219508
_ZL10dump_scopeP18cxx_pretty_printerP9tree_nodei 175420987
_ZL12cv_to_stringP9tree_nodei 639
_ZL12op_to_stringb9tree_code 321
_ZL13arg_to_stringP9tree_nodeb 628
_ZL13dump_typenameP18cxx_pretty_printerP9tree_nodei 3762
_ZL13dump_unary_opP18cxx_pretty_printerPKcP9tree_nodei 3580
_ZL13reinit_cxx_ppv 235545945
_ZL14args_to_stringP9tree_nodei 3909
_ZL14code_to_string9tree_code 0
_ZL14decl_to_stringP9tree_nodeib 99447
_ZL14dump_aggr_typeP18cxx_pretty_printerP9tree_nodei 134370877
_ZL14dump_binary_opP18cxx_pretty_printerPKcP9tree_nodei 1952
_ZL14dump_decl_nameP18cxx_pretty_printerP9tree_nodei 187328478
_ZL14dump_expr_listP18cxx_pretty_printerP9tree_nodei 209
_ZL14find_typenamesP9tree_node 37419
_ZL14parm_to_stringi 1538
_ZL14print_locationRN11diagnostics9text_sinkEm 12206
_ZL14type_to_stringP9tree_nodeibPbbPKc 63261
_ZL15dump_parametersP18cxx_pretty_printerP9tree_nodei 1473285
_ZL15subst_to_stringP9tree_nodeb 1561
_ZL16dump_global_iordP18cxx_pretty_printerP9tree_node 72
_ZL16dump_simple_declP18cxx_pretty_printerP9tree_nodeS2_i 1316341
_ZL16dump_type_prefixP18cxx_pretty_printerP9tree_nodei 57727193
_ZL16dump_type_suffixP18cxx_pretty_printerP9tree_nodei 27791403
_ZL16find_typenames_rPP9tree_nodePiPv 308103
_ZL16fndecl_to_stringP9tree_nodei 350
_ZL17dump_substitutionP18cxx_pretty_printerP9tree_nodeS2_S2_i 518715
_ZL17eh_spec_to_stringP9tree_nodei 3
_ZL17function_categoryP9tree_node 24539
_ZL18dump_expr_init_vecP18cxx_pretty_printerP3vecI15constructor_elt5va_gc8vl_embedEi 19907
_ZL18dump_function_declP18cxx_pretty_printerP9tree_nodei 531011
_ZL18dump_function_nameP18cxx_pretty_printerP9tree_nodei 92293899
_ZL18dump_module_suffixP18cxx_pretty_printerP9tree_node 227952978
_ZL18dump_ref_qualifierP18cxx_pretty_printerP9tree_nodei 805317
_ZL18dump_template_declP18cxx_pretty_printerP9tree_nodei 458980
_ZL18newline_and_indentP14pretty_printeri 228
_ZL18print_nonequal_argP14pretty_printerP9tree_nodebPKc 616
_ZL19dump_call_expr_argsP18cxx_pretty_printerP9tree_nodeib 5637
_ZL19dump_exception_specP18cxx_pretty_printerP9tree_nodei 666952
_ZL19dump_template_parmsP18cxx_pretty_printerP9tree_nodeii 89036283
_ZL20dump_lambda_functionP18cxx_pretty_printerP9tree_nodeS2_S2_i 7289
_ZL20get_current_templatev 86679
_ZL22append_formatted_chunkP14pretty_printerPKc 74
_ZL22dump_template_argumentP18cxx_pretty_printerP9tree_nodei 149889675
_ZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedE 38980
_ZL23cp_print_error_functionRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 225876
_ZL23dump_omp_declare_mapperP18cxx_pretty_printerP9tree_nodei 48
_ZL23dump_template_parameterP18cxx_pretty_printerP9tree_nodei 73510
_ZL24print_concept_check_infoRN11diagnostics9text_sinkEP9tree_nodeS3_S3_ 789
_ZL25cp_adjust_diagnostic_infoRKN11diagnostics7contextEPNS_15diagnostic_infoE 97851050
_ZL26cp_diagnostic_text_starterRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 225876
_ZL26defer_phase_2_of_type_diffP21deferred_printed_typeP9tree_nodeR13pp_token_listbb 20988
_ZL26print_template_differencesP14pretty_printerP9tree_nodeS2_biPKcS4_ 443
_ZL27comparable_template_types_pP9tree_nodeS0_ 11473
_ZL27dump_template_argument_listP18cxx_pretty_printerP9tree_nodei 7185411
_ZL27print_constrained_decl_infoRN11diagnostics9text_sinkEP9tree_node 603
_ZL27type_to_string_with_compareP9tree_nodeS0_bbPKcS2_ 336
_ZL29maybe_print_constexpr_contextRN11diagnostics9text_sinkE 225876
_ZL29print_constraint_context_headRN11diagnostics9text_sinkEP9tree_nodeS3_ 1324
_ZL30maybe_print_constraint_contextRN11diagnostics9text_sinkE 225879
_ZL30print_requires_expression_infoRN11diagnostics9text_sinkEP9tree_nodeS3_ 320
_ZL30print_template_tree_comparisonP14pretty_printerP9tree_nodeS2_biPKcS4_ 74
_ZL32print_instantiation_full_contextRN11diagnostics9text_sinkE 5354
_ZL33maybe_print_instantiation_contextRN11diagnostics9text_sinkE 225995
_ZL34dump_alias_template_specializationP18cxx_pretty_printerP9tree_nodei 6596
_ZL35get_non_default_template_args_countP9tree_nodei 95875790
_ZL35print_instantiation_partial_contextRN11diagnostics9text_sinkEP11tinst_levelm 5354
_ZL37resolve_virtual_fun_from_obj_type_refP9tree_node 143
_ZL40print_instantiation_partial_context_lineRN11diagnostics9text_sinkEP11tinst_levelmb 7133
_ZL9dump_declP18cxx_pretty_printerP9tree_nodei 325207563
_ZL9dump_exprP18cxx_pretty_printerP9tree_nodei 20898449
_ZL9dump_typeP18cxx_pretty_printerP9tree_nodei 219891999
_ZN14colorize_guardC2EbP18cxx_pretty_printerPKc 92293899
_ZN14colorize_guardD2Ev 92293899
_ZN17auto_context_lineC2ERN11diagnostics9text_sinkEmb 12242
_ZN17auto_context_lineD2Ev 12242
_ZN21deferred_printed_type23set_text_for_token_listEPKcb 20988
_ZN23cxx_dump_pretty_printerC2Ei 887919995
_ZN23cxx_dump_pretty_printerD0Ev 887919995
_ZN23cxx_dump_pretty_printerD0Ev 0
_ZN23cxx_dump_pretty_printerD2Ev 887919995
_ZN24cxx_format_postprocessor6handleEP14pretty_printer 347701
_ZN9pp_markup19element_quoted_type10print_typeERNS_7contextE 752
_ZNK24cxx_format_postprocessor5cloneEv 220216
_ZNK29range_label_for_type_mismatch8get_textEj 437
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonD2Ev 38980
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonclEv 71369

Generated by: LCOV version 2.4-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.