LCOV - code coverage report
Current view: top level - gcc/cp - error.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 88.0 % 2862 2518
Test Date: 2026-07-11 15:47:05 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 2145076
_Z13cp_seen_errorv 9312926
_Z13pedwarn_cxx98mN11diagnostics9option_idEPKcz 3856695
_Z14decl_as_stringP9tree_nodei 49799671
_Z14expr_as_stringP9tree_nodei 5129
_Z14expr_to_stringP9tree_node 52117
_Z14lang_decl_nameP9tree_nodeib 195255105
_Z14type_as_stringP9tree_nodei 213
_Z16maybe_warn_cpp0x14cpp0x_warn_strm 89623524
_Z18language_to_string9languages 14444
_Z20decl_as_dwarf_stringP9tree_nodei 49721200
_Z20inform_tree_categoryP9tree_node 236
_Z20lang_decl_dwarf_nameP9tree_nodeib 195095417
_Z21pp_ggc_formatted_textP14pretty_printer 245209868
_Z24cxx_print_error_functionRN11diagnostics9text_sinkEPKcPKNS_15diagnostic_infoE 152
_Z24decl_as_string_translateP9tree_nodei 0
_Z24type_as_string_translateP9tree_nodei 0
_Z26cxx_initialize_diagnosticsPN11diagnostics7contextE 100333
_Z27class_key_or_enum_as_stringP9tree_node 137852255
_Z27qualified_name_lookup_errorP9tree_nodeS0_S0_m 575
_Z29maybe_warn_variadic_templatesv 14856489
_Z37maybe_print_single_constraint_contextRN11diagnostics9text_sinkEP9tree_node 1420
_ZL10cp_printerP14pretty_printerP9text_infoPKcibbbPbR13pp_token_list 227155
_ZL10dump_scopeP18cxx_pretty_printerP9tree_nodei 178034927
_ZL12cv_to_stringP9tree_nodei 640
_ZL12op_to_stringb9tree_code 332
_ZL13arg_to_stringP9tree_nodeb 682
_ZL13dump_typenameP18cxx_pretty_printerP9tree_nodei 3976
_ZL13dump_unary_opP18cxx_pretty_printerPKcP9tree_nodei 6327
_ZL13reinit_cxx_ppv 245209404
_ZL14args_to_stringP9tree_nodei 4006
_ZL14code_to_string9tree_code 0
_ZL14decl_to_stringP9tree_nodeib 103060
_ZL14dump_aggr_typeP18cxx_pretty_printerP9tree_nodei 137852144
_ZL14dump_binary_opP18cxx_pretty_printerPKcP9tree_nodei 2291
_ZL14dump_decl_nameP18cxx_pretty_printerP9tree_nodei 195728101
_ZL14dump_expr_listP18cxx_pretty_printerP9tree_nodei 216
_ZL14find_typenamesP9tree_node 47237
_ZL14parm_to_stringi 1563
_ZL14print_locationRN11diagnostics9text_sinkEm 14467
_ZL14type_to_stringP9tree_nodeibPbbPKc 64930
_ZL15dump_parametersP18cxx_pretty_printerP9tree_nodei 1991907
_ZL15subst_to_stringP9tree_nodeb 1643
_ZL16dump_global_iordP18cxx_pretty_printerP9tree_node 69
_ZL16dump_simple_declP18cxx_pretty_printerP9tree_nodeS2_i 1395523
_ZL16dump_type_prefixP18cxx_pretty_printerP9tree_nodei 59077704
_ZL16dump_type_suffixP18cxx_pretty_printerP9tree_nodei 28459739
_ZL16find_typenames_rPP9tree_nodePiPv 408192
_ZL16fndecl_to_stringP9tree_nodei 366
_ZL17dump_substitutionP18cxx_pretty_printerP9tree_nodeS2_S2_i 812916
_ZL17eh_spec_to_stringP9tree_nodei 67
_ZL17function_categoryP9tree_node 25081
_ZL18dump_expr_init_vecP18cxx_pretty_printerP3vecI15constructor_elt5va_gc8vl_embedEi 7625
_ZL18dump_function_declP18cxx_pretty_printerP9tree_nodei 828216
_ZL18dump_function_nameP18cxx_pretty_printerP9tree_nodei 96757102
_ZL18dump_module_suffixP18cxx_pretty_printerP9tree_node 235984486
_ZL18dump_ref_qualifierP18cxx_pretty_printerP9tree_nodei 996070
_ZL18dump_template_declP18cxx_pretty_printerP9tree_nodei 474776
_ZL18newline_and_indentP14pretty_printeri 228
_ZL18print_nonequal_argP14pretty_printerP9tree_nodebPKc 670
_ZL19dump_call_expr_argsP18cxx_pretty_printerP9tree_nodeib 7874
_ZL19dump_exception_specP18cxx_pretty_printerP9tree_nodei 697114
_ZL19dump_template_parmsP18cxx_pretty_printerP9tree_nodeii 92558872
_ZL20dump_lambda_functionP18cxx_pretty_printerP9tree_nodeS2_S2_i 99481
_ZL20get_current_templatev 90733
_ZL22append_formatted_chunkP14pretty_printerPKc 74
_ZL22dump_template_argumentP18cxx_pretty_printerP9tree_nodei 156685732
_ZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedE 48880
_ZL23cp_print_error_functionRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 251113
_ZL23dump_omp_declare_mapperP18cxx_pretty_printerP9tree_nodei 40
_ZL23dump_template_parameterP18cxx_pretty_printerP9tree_nodei 87251
_ZL24print_concept_check_infoRN11diagnostics9text_sinkEP9tree_nodeS3_S3_ 818
_ZL25cp_adjust_diagnostic_infoRKN11diagnostics7contextEPNS_15diagnostic_infoE 103365289
_ZL26cp_diagnostic_text_starterRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 251113
_ZL26defer_phase_2_of_type_diffP21deferred_printed_typeP9tree_nodeR13pp_token_listbb 21196
_ZL26print_template_differencesP14pretty_printerP9tree_nodeS2_biPKcS4_ 497
_ZL27comparable_template_types_pP9tree_nodeS0_ 11631
_ZL27dump_template_argument_listP18cxx_pretty_printerP9tree_nodei 7448667
_ZL27print_constrained_decl_infoRN11diagnostics9text_sinkEP9tree_node 643
_ZL27type_to_string_with_compareP9tree_nodeS0_bbPKcS2_ 390
_ZL29maybe_print_constexpr_contextRN11diagnostics9text_sinkE 251113
_ZL29print_constraint_context_headRN11diagnostics9text_sinkEP9tree_nodeS3_ 1393
_ZL30maybe_print_constraint_contextRN11diagnostics9text_sinkE 251116
_ZL30print_requires_expression_infoRN11diagnostics9text_sinkEP9tree_nodeS3_ 321
_ZL30print_template_tree_comparisonP14pretty_printerP9tree_nodeS2_biPKcS4_ 74
_ZL32print_instantiation_full_contextRN11diagnostics9text_sinkE 5928
_ZL33maybe_print_instantiation_contextRN11diagnostics9text_sinkE 251265
_ZL34dump_alias_template_specializationP18cxx_pretty_printerP9tree_nodei 9087
_ZL35get_non_default_template_args_countP9tree_nodei 99650821
_ZL35print_instantiation_partial_contextRN11diagnostics9text_sinkEP11tinst_levelm 5928
_ZL37resolve_virtual_fun_from_obj_type_refP9tree_node 147
_ZL40print_instantiation_partial_context_lineRN11diagnostics9text_sinkEP11tinst_levelmb 7960
_ZL9dump_declP18cxx_pretty_printerP9tree_nodei 335622497
_ZL9dump_exprP18cxx_pretty_printerP9tree_nodei 23487365
_ZL9dump_typeP18cxx_pretty_printerP9tree_nodei 227643218
_ZN14colorize_guardC2EbP18cxx_pretty_printerPKc 96757102
_ZN14colorize_guardD2Ev 96757102
_ZN17auto_context_lineC2ERN11diagnostics9text_sinkEmb 14503
_ZN17auto_context_lineD2Ev 14503
_ZN21deferred_printed_type23set_text_for_token_listEPKcb 21196
_ZN23cxx_dump_pretty_printerC2Ei 913434147
_ZN23cxx_dump_pretty_printerD0Ev 913434147
_ZN23cxx_dump_pretty_printerD0Ev 0
_ZN23cxx_dump_pretty_printerD2Ev 913434147
_ZN24cxx_format_postprocessor6handleEP14pretty_printer 383202
_ZN9pp_markup19element_quoted_type10print_typeERNS_7contextE 752
_ZNK24cxx_format_postprocessor5cloneEv 224949
_ZNK29range_label_for_type_mismatch8get_textEj 437
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonD2Ev 48880
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonclEv 86292

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.