LCOV - code coverage report
Current view: top level - gcc/cp - error.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 87.8 % 2676 2350
Test Date: 2025-11-22 14:42:49 Functions: 93.5 % 108 101
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 2027998
_Z13cp_seen_errorv 8398210
_Z13pedwarn_cxx98mN11diagnostics9option_idEPKcz 3643933
_Z14decl_as_stringP9tree_nodei 38414900
_Z14expr_as_stringP9tree_nodei 3925
_Z14expr_to_stringP9tree_node 49882
_Z14lang_decl_nameP9tree_nodeib 154639117
_Z14type_as_stringP9tree_nodei 213
_Z16maybe_warn_cpp0x14cpp0x_warn_strm 62901586
_Z18language_to_string9languages 14378
_Z20decl_as_dwarf_stringP9tree_nodei 38359711
_Z20lang_decl_dwarf_nameP9tree_nodeib 154507345
_Z21pp_ggc_formatted_textP14pretty_printer 193223560
_Z24cxx_print_error_functionRN11diagnostics9text_sinkEPKcPKNS_15diagnostic_infoE 119
_Z24decl_as_string_translateP9tree_nodei 0
_Z24type_as_string_translateP9tree_nodei 0
_Z26cxx_initialize_diagnosticsPN11diagnostics7contextE 96719
_Z27class_key_or_enum_as_stringP9tree_node 118940030
_Z27qualified_name_lookup_errorP9tree_nodeS0_S0_m 554
_Z29maybe_warn_variadic_templatesv 14171569
_Z37maybe_print_single_constraint_contextRN11diagnostics9text_sinkEP9tree_node 1372
_ZL10cp_printerP14pretty_printerP9text_infoPKcibbbPbR13pp_token_list 219205
_ZL10dump_scopeP18cxx_pretty_printerP9tree_nodei 156968805
_ZL12cv_to_stringP9tree_nodei 649
_ZL12op_to_stringb9tree_code 317
_ZL13arg_to_stringP9tree_nodeb 636
_ZL13dump_typenameP18cxx_pretty_printerP9tree_nodei 4058
_ZL13dump_unary_opP18cxx_pretty_printerPKcP9tree_nodei 2352
_ZL13reinit_cxx_ppv 193223144
_ZL14args_to_stringP9tree_nodei 3876
_ZL14code_to_string9tree_code 0
_ZL14decl_to_stringP9tree_nodeib 98791
_ZL14dump_aggr_typeP18cxx_pretty_printerP9tree_nodei 118939922
_ZL14dump_binary_opP18cxx_pretty_printerPKcP9tree_nodei 2045
_ZL14dump_decl_nameP18cxx_pretty_printerP9tree_nodei 155041442
_ZL14dump_expr_listP18cxx_pretty_printerP9tree_nodei 224
_ZL14find_typenamesP9tree_node 31079
_ZL14parm_to_stringi 1490
_ZL14print_locationRN11diagnostics9text_sinkEm 12273
_ZL14type_to_stringP9tree_nodeibPbbPKc 64140
_ZL15dump_parametersP18cxx_pretty_printerP9tree_nodei 1598642
_ZL15subst_to_stringP9tree_nodeb 1559
_ZL16dump_global_iordP18cxx_pretty_printerP9tree_node 69
_ZL16dump_simple_declP18cxx_pretty_printerP9tree_nodeS2_i 901078
_ZL16dump_type_prefixP18cxx_pretty_printerP9tree_nodei 42535322
_ZL16dump_type_suffixP18cxx_pretty_printerP9tree_nodei 20615322
_ZL16find_typenames_rPP9tree_nodePiPv 238288
_ZL16fndecl_to_stringP9tree_nodei 349
_ZL17dump_substitutionP18cxx_pretty_printerP9tree_nodeS2_S2_i 555435
_ZL17eh_spec_to_stringP9tree_nodei 0
_ZL17function_categoryP9tree_node 24156
_ZL18dump_expr_init_vecP18cxx_pretty_printerP3vecI15constructor_elt5va_gc8vl_embedEi 4153
_ZL18dump_function_declP18cxx_pretty_printerP9tree_nodei 567315
_ZL18dump_function_nameP18cxx_pretty_printerP9tree_nodei 80564038
_ZL18dump_module_suffixP18cxx_pretty_printerP9tree_node 200391740
_ZL18dump_ref_qualifierP18cxx_pretty_printerP9tree_nodei 852320
_ZL18dump_template_declP18cxx_pretty_printerP9tree_nodei 415153
_ZL18newline_and_indentP14pretty_printeri 228
_ZL18print_nonequal_argP14pretty_printerP9tree_nodebPKc 624
_ZL19dump_call_expr_argsP18cxx_pretty_printerP9tree_nodeib 5610
_ZL19dump_exception_specP18cxx_pretty_printerP9tree_nodei 728146
_ZL19dump_template_parmsP18cxx_pretty_printerP9tree_nodeii 77784152
_ZL20dump_lambda_functionP18cxx_pretty_printerP9tree_nodeS2_S2_i 4263
_ZL20get_current_templatev 84851
_ZL22append_formatted_chunkP14pretty_printerPKc 0
_ZL22dump_template_argumentP18cxx_pretty_printerP9tree_nodei 130719610
_ZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedE 32638
_ZL23cp_print_error_functionRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 223074
_ZL23dump_omp_declare_mapperP18cxx_pretty_printerP9tree_nodei 48
_ZL23dump_template_parameterP18cxx_pretty_printerP9tree_nodei 67246
_ZL24print_concept_check_infoRN11diagnostics9text_sinkEP9tree_nodeS3_S3_ 874
_ZL25cp_adjust_diagnostic_infoRKN11diagnostics7contextEPNS_15diagnostic_infoE 88523923
_ZL26cp_diagnostic_text_starterRN11diagnostics9text_sinkEPKNS_15diagnostic_infoE 223074
_ZL26defer_phase_2_of_type_diffP21deferred_printed_typeP9tree_nodeR13pp_token_listbb 21242
_ZL26print_template_differencesP14pretty_printerP9tree_nodeS2_biPKcS4_ 449
_ZL27comparable_template_types_pP9tree_nodeS0_ 11794
_ZL27dump_template_argument_listP18cxx_pretty_printerP9tree_nodei 6961597
_ZL27print_constrained_decl_infoRN11diagnostics9text_sinkEP9tree_node 589
_ZL27type_to_string_with_compareP9tree_nodeS0_bbPKcS2_ 342
_ZL29maybe_print_constexpr_contextRN11diagnostics9text_sinkE 223074
_ZL29print_constraint_context_headRN11diagnostics9text_sinkEP9tree_nodeS3_ 1348
_ZL30maybe_print_constraint_contextRN11diagnostics9text_sinkE 223077
_ZL30print_requires_expression_infoRN11diagnostics9text_sinkEP9tree_nodeS3_ 331
_ZL30print_template_tree_comparisonP14pretty_printerP9tree_nodeS2_biPKcS4_ 0
_ZL32print_instantiation_full_contextRN11diagnostics9text_sinkE 5334
_ZL33maybe_print_instantiation_contextRN11diagnostics9text_sinkE 223193
_ZL34dump_alias_template_specializationP18cxx_pretty_printerP9tree_nodei 4963
_ZL35get_non_default_template_args_countP9tree_nodei 84378638
_ZL35print_instantiation_partial_contextRN11diagnostics9text_sinkEP11tinst_levelm 5334
_ZL37resolve_virtual_fun_from_obj_type_refP9tree_node 274
_ZL40print_instantiation_partial_context_lineRN11diagnostics9text_sinkEP11tinst_levelmb 7163
_ZL9dump_declP18cxx_pretty_printerP9tree_nodei 269950891
_ZL9dump_exprP18cxx_pretty_printerP9tree_nodei 13999821
_ZL9dump_typeP18cxx_pretty_printerP9tree_nodei 191563113
_ZN14colorize_guardC2EbP18cxx_pretty_printerPKc 80564038
_ZN14colorize_guardD2Ev 80564038
_ZN17auto_context_lineC2ERN11diagnostics9text_sinkEmb 12309
_ZN17auto_context_lineD2Ev 12309
_ZN21deferred_printed_type23set_text_for_token_listEPKcb 21242
_ZN23cxx_dump_pretty_printerC2Ei 670580527
_ZN23cxx_dump_pretty_printerD0Ev 670580527
_ZN23cxx_dump_pretty_printerD0Ev 0
_ZN23cxx_dump_pretty_printerD2Ev 670580527
_ZN24cxx_format_postprocessor6handleEP14pretty_printer 337128
_ZN9pp_markup19element_quoted_type10print_typeERNS_7contextE 824
_ZNK24cxx_format_postprocessor5cloneEv 220547
_ZNK29range_label_for_type_mismatch8get_textEj 623
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonD2Ev 32638
_ZZL22dump_template_bindingsP18cxx_pretty_printerP9tree_nodeS2_P3vecIS2_5va_gc8vl_embedEEN17prepost_semicolonclEv 63153

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.