LCOV - code coverage report
Current view: top level - gcc - diagnostic.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 90.2 % 1065 961
Test Date: 2025-01-11 13:11:20 Functions: 91.0 % 100 91
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
_Z10num_digitsi 72875
_Z11fancy_abortPKciS0_ 6
_Z11get_cwe_urli 18
_Z13trim_filenamePKc 6
_Z18get_terminal_widthv 747625
_Z19diagnostic_set_infoP15diagnostic_infoPKcPA1_13__va_list_tagP13rich_location12diagnostic_t 99129306
_Z20build_message_stringPKcz 3011397
_Z24get_diagnostic_kind_text12diagnostic_t 321405
_Z29diagnostic_get_color_for_kind12diagnostic_t 1630843
_Z29diagnostic_output_format_initR18diagnostic_contextPKcS2_25diagnostics_output_formatb 130
_Z30diagnostic_set_caret_max_widthP18diagnostic_contexti 793222
_Z30diagnostic_set_info_translatedP15diagnostic_infoPKcPA1_13__va_list_tagP13rich_location12diagnostic_t 99301848
_Z32default_diagnostic_start_span_fnRK32diagnostic_location_print_policyP14pretty_printer17expanded_location 1792
_ZL10real_abortv 0
_ZL11bt_callbackPvmPKciS1_ 265
_ZL15bt_err_callbackPvPKci 0
_ZL19convert_column_unitR10file_cache23diagnostics_column_uniti17expanded_location 296333
_ZL20print_escaped_stringP14pretty_printerPKc 105
_ZL22print_parseable_fixitsR10file_cacheP14pretty_printerP13rich_location23diagnostics_column_uniti 39
_ZN17diagnostic_buffer25ensure_per_format_buffersEv 1173865
_ZN17diagnostic_buffer7move_toERS_ 102104
_ZN17diagnostic_bufferC2ER18diagnostic_context 7589993
_ZN17diagnostic_bufferD2Ev 7559452
_ZN18diagnostic_context10color_initEi 1382546
_ZN18diagnostic_context10initializeEi 694745
_ZN18diagnostic_context11begin_groupEv 802900114
_ZN18diagnostic_context12emit_diagramERK18diagnostic_diagram 86
_ZN18diagnostic_context12set_urlifierESt10unique_ptrI8urlifierSt14default_deleteIS1_EE 570470
_ZN18diagnostic_context15diagnostic_implEP13rich_locationPK19diagnostic_metadata20diagnostic_option_idPKcPA1_13__va_list_tag12diagnostic_t 94851842
_ZN18diagnostic_context15error_recursionEv 0
_ZN18diagnostic_context15report_verbatimER9text_info 0
_ZN18diagnostic_context16check_max_errorsEb 1375464
_ZN18diagnostic_context17diagnostic_n_implEP13rich_locationPK19diagnostic_metadata20diagnostic_option_idmPKcS7_PA1_13__va_list_tag12diagnostic_t 11532
_ZN18diagnostic_context17override_urlifierEP8urlifier 3678652330
_ZN18diagnostic_context17pop_nesting_levelEv 23643
_ZN18diagnostic_context17report_diagnosticEP15diagnostic_info 99289213
_ZN18diagnostic_context17set_original_argvE11unique_argv 280047
_ZN18diagnostic_context17set_output_formatESt10unique_ptrI24diagnostic_output_formatSt14default_deleteIS1_EE 1553
_ZN18diagnostic_context18diagnostic_enabledEP15diagnostic_info 95857409
_ZN18diagnostic_context18push_nesting_levelEv 23643
_ZN18diagnostic_context18set_format_decoderEPFbP14pretty_printerP9text_infoPKcibbbPbR13pp_token_listE 567518
_ZN18diagnostic_context18set_option_managerESt10unique_ptrI25diagnostic_option_managerSt14default_deleteIS1_EEj 292835
_ZN18diagnostic_context18set_prefixing_ruleE27diagnostic_prefixing_rule_t 416
_ZN18diagnostic_context18set_pretty_printerESt10unique_ptrI14pretty_printerSt14default_deleteIS1_EE 202812
_ZN18diagnostic_context18warning_enabled_atEm20diagnostic_option_id 268357
_ZN18diagnostic_context19action_after_outputE12diagnostic_t 328575
_ZN18diagnostic_context19create_edit_contextEv 17
_ZN18diagnostic_context20refresh_output_sinksEv 482859
_ZN18diagnostic_context20set_text_art_charsetE27diagnostic_text_art_charset 1535890
_ZN18diagnostic_context21get_any_inlining_infoEP15diagnostic_info 95857409
_ZN18diagnostic_context21set_client_data_hooksESt10unique_ptrI28diagnostic_client_data_hooksSt14default_deleteIS1_EE 334194
_ZN18diagnostic_context21set_diagnostic_bufferEP17diagnostic_buffer 2602925
_ZN18diagnostic_context23clear_diagnostic_bufferER17diagnostic_buffer 21545415
_ZN18diagnostic_context23flush_diagnostic_bufferER17diagnostic_buffer 6962
_ZN18diagnostic_context23remove_all_output_sinksEv 1553
_ZN18diagnostic_context24initialize_input_contextEPFPKcS1_Eb 203843
_ZN18diagnostic_context25set_show_highlight_colorsEb 560144
_ZN18diagnostic_context26emit_diagnostic_with_groupE12diagnostic_tR13rich_locationPK19diagnostic_metadata20diagnostic_option_idPKcz 8
_ZN18diagnostic_context29emit_diagnostic_with_group_vaE12diagnostic_tR13rich_locationPK19diagnostic_metadata20diagnostic_option_idPKcPA1_13__va_list_tag 8
_ZN18diagnostic_context6finishEv 299079
_ZN18diagnostic_context8add_sinkESt10unique_ptrI24diagnostic_output_formatSt14default_deleteIS1_EE 5
_ZN18diagnostic_context9end_groupEv 802900109
_ZN18diagnostic_context9urls_initEi 1349005
_ZN19diagnostic_counters5clearEv 30631828
_ZN19diagnostic_counters7move_toERS_ 109066
_ZN19diagnostic_countersC2Ev 8282602
_ZN24diagnostic_column_policyC2ERK18diagnostic_context 2232638
_ZN24diagnostic_output_format18on_report_verbatimER9text_info 0
_ZN28diagnostic_option_classifier11pch_restoreEP8_IO_FILE 347
_ZN28diagnostic_option_classifier19classify_diagnosticEPK18diagnostic_context20diagnostic_option_id12diagnostic_tm 3912567
_ZN28diagnostic_option_classifier3popEm 3262506
_ZN28diagnostic_option_classifier4finiEv 299079
_ZN28diagnostic_option_classifier4initEi 694745
_ZN28diagnostic_option_classifier4pushEv 3263074
_ZN28diagnostic_option_classifier8pch_saveEP8_IO_FILE 461
_ZN32diagnostic_location_print_policyC2ERK18diagnostic_context 48060
_ZN32diagnostic_location_print_policyC2ERK29diagnostic_text_output_format 1165816
_ZN8selftest21c_diagnostic_cc_testsEv 3
_ZN8selftestL15test_num_digitsEv 3
_ZN8selftestL20assert_location_textEPKcS1_iibi23diagnostics_column_unit 42
_ZN8selftestL22test_get_location_textEv 3
_ZN8selftestL25test_print_escaped_stringEv 3
_ZN8selftestL27assert_print_escaped_stringERKNS_8locationEPKcS4_ 24
_ZN8selftestL32test_print_parseable_fixits_noneEv 3
_ZN8selftestL34test_print_parseable_fixits_insertEv 3
_ZN8selftestL34test_print_parseable_fixits_removeEv 3
_ZN8selftestL35test_print_parseable_fixits_replaceEv 3
_ZN8selftestL52test_print_parseable_fixits_bytes_vs_display_columnsEv 3
_ZNK16logical_location10function_pEv 3872
_ZNK17diagnostic_buffer4dumpEP8_IO_FILEi 0
_ZNK17diagnostic_buffer7empty_pEv 5680739
_ZNK18diagnostic_context17get_output_formatEm 18638
_ZNK18diagnostic_context18execution_failed_pEv 278498
_ZNK18diagnostic_context28supports_fnotice_on_stderr_pEv 16708
_ZNK18diagnostic_context4dumpEP8_IO_FILE 0
_ZNK19diagnostic_counters4dumpEP8_IO_FILEi 0
_ZNK24diagnostic_column_policy16converted_columnE17expanded_location 296255
_ZNK24diagnostic_column_policy17get_location_textERK17expanded_locationbb 322819
_ZNK24diagnostic_output_format4dumpEP8_IO_FILEi 0
_ZNK28diagnostic_option_classifier35update_effective_level_from_pragmasEP15diagnostic_info 1946867

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.