LCOV - code coverage report
Current view: top level - gcc/diagnostics - context.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 86.2 % 1054 909
Test Date: 2026-09-19 16:22:48 Functions: 87.6 % 97 85
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_Z11fancy_abortPKciS0_ 23
_Z13trim_filenamePKc 23
_Z18get_terminal_widthv 790378
_Z19diagnostic_set_infoPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 114215516
_Z20build_message_stringPKcz 3332765
_Z30diagnostic_set_info_translatedPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 114378758
_ZL10real_abortv 0
_ZL11bt_callbackPvmPKciS1_ 536
_ZL15bt_err_callbackPvPKci 0
_ZN11diagnostics10num_digitsEm 77060
_ZN11diagnostics11get_cwe_urlEi 28
_ZN11diagnostics13column_policyC2ERKNS_7contextE 2428810
_ZN11diagnostics17get_text_for_kindENS_4kindE 391371
_ZN11diagnostics18get_color_for_kindENS_4kindE 1803524
_ZN11diagnostics18output_format_initERNS_7contextEPKcS3_25diagnostics_output_formatb 90
_ZN11diagnostics21location_print_policyC2ERKNS_7contextE 51510
_ZN11diagnostics21location_print_policyC2ERKNS_9text_sinkE 1265664
_ZN11diagnostics25get_debug_string_for_kindENS_4kindE 0
_ZN11diagnostics4sink18on_report_verbatimER9text_info 0
_ZN11diagnostics4sink19finalize_extensionsEv 314007
_ZN11diagnostics7context10color_initEi 1453916
_ZN11diagnostics7context10initializeEi 728557
_ZN11diagnostics7context11begin_groupEv 1032523411
_ZN11diagnostics7context12emit_diagramERKNS_7diagramE 86
_ZN11diagnostics7context12pop_urlifierEv 2047285679
_ZN11diagnostics7context15diagnostic_implEP13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tagNS_4kindE 109014148
_ZN11diagnostics7context15error_recursionEv 0
_ZN11diagnostics7context15report_verbatimER9text_info 0
_ZN11diagnostics7context16check_max_errorsEb 1501858
_ZN11diagnostics7context16set_show_nestingEb 569735
_ZN11diagnostics7context17diagnostic_n_implEP13rich_locationPKNS_8metadataENS_9option_idEmPKcS8_PA1_13__va_list_tagNS_4kindE 13146
_ZN11diagnostics7context17pop_nesting_levelEv 30834
_ZN11diagnostics7context17report_diagnosticEPNS_15diagnostic_infoE 114365857
_ZN11diagnostics7context17set_nesting_levelEi 0
_ZN11diagnostics7context17set_original_argvE11unique_argv 294587
_ZN11diagnostics7context18diagnostic_enabledEPNS_15diagnostic_infoE 111601794
_ZN11diagnostics7context18push_nesting_levelEv 30836
_ZN11diagnostics7context18set_format_decoderEPFbP14pretty_printerP9text_infoPKcibbbPbR13pp_token_listE 597263
_ZN11diagnostics7context18set_prefixing_ruleE27diagnostic_prefixing_rule_t 432
_ZN11diagnostics7context18set_pretty_printerESt10unique_ptrI14pretty_printerSt14default_deleteIS2_EE 214698
_ZN11diagnostics7context18warning_enabled_atEmNS_9option_idE 1843834
_ZN11diagnostics7context19action_after_outputENS_4kindE 389309
_ZN11diagnostics7context19push_owned_urlifierESt10unique_ptrI8urlifierSt14default_deleteIS2_EE 599937
_ZN11diagnostics7context19set_caret_max_widthEi 837034
_ZN11diagnostics7context20refresh_output_sinksEv 509285
_ZN11diagnostics7context20set_text_art_charsetE27diagnostic_text_art_charset 1634697
_ZN11diagnostics7context21get_any_inlining_infoEPNS_15diagnostic_infoE 111601794
_ZN11diagnostics7context21report_global_digraphERK14lazily_createdINS_8digraphs7digraphEE 3
_ZN11diagnostics7context21set_client_data_hooksESt10unique_ptrINS_17client_data_hooksESt14default_deleteIS2_EE 350318
_ZN11diagnostics7context21set_option_id_managerESt10unique_ptrINS_17option_id_managerESt14default_deleteIS2_EEj 307059
_ZN11diagnostics7context22inhibit_notes_in_groupEb 1146698024
_ZN11diagnostics7context22push_borrowed_urlifierERK8urlifier 2046991288
_ZN11diagnostics7context23remove_all_output_sinksEv 1655
_ZN11diagnostics7context23set_main_input_filenameEPKc 0
_ZN11diagnostics7context23set_show_nesting_levelsEb 294587
_ZN11diagnostics7context24initialize_input_contextEPFPKcS2_Eb 215814
_ZN11diagnostics7context25set_show_highlight_colorsEb 589179
_ZN11diagnostics7context26emit_diagnostic_with_groupENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcz 8
_ZN11diagnostics7context26set_show_nesting_locationsEb 294587
_ZN11diagnostics7context28initialize_fixits_change_setEv 17
_ZN11diagnostics7context29emit_diagnostic_with_group_vaENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tag 8
_ZN11diagnostics7context6finishEv 313971
_ZN11diagnostics7context8add_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 36
_ZN11diagnostics7context8set_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 1655
_ZN11diagnostics7context9end_groupEv 1032523405
_ZN11diagnostics7context9urls_initEi 1438069
_ZN11diagnostics8counters5clearEv 34369909
_ZN11diagnostics8counters7move_toERS0_ 115593
_ZN11diagnostics8countersC2Ev 9495497
_ZN11diagnostics8selftest16context_cc_testsEv 3
_ZN11diagnostics8selftestL15test_num_digitsEv 3
_ZN11diagnostics8selftestL20assert_location_textEPKcS2_iibi23diagnostics_column_unit 42
_ZN11diagnostics8selftestL22test_get_location_textEv 3
_ZN11diagnostics8selftestL25test_print_escaped_stringEv 3
_ZN11diagnostics8selftestL27assert_print_escaped_stringERKN8selftest8locationEPKcS6_ 24
_ZN11diagnostics8selftestL32test_print_parseable_fixits_noneEv 3
_ZN11diagnostics8selftestL34test_print_parseable_fixits_insertEv 3
_ZN11diagnostics8selftestL34test_print_parseable_fixits_removeEv 3
_ZN11diagnostics8selftestL35test_print_parseable_fixits_replaceEv 3
_ZN11diagnostics8selftestL52test_print_parseable_fixits_bytes_vs_display_columnsEv 3
_ZN11diagnosticsL19convert_column_unitERNS_10file_cacheE23diagnostics_column_uniti17expanded_location 353718
_ZN11diagnosticsL20print_escaped_stringEP14pretty_printerPKc 105
_ZN11diagnosticsL22print_parseable_fixitsERNS_10file_cacheEP14pretty_printerP13rich_location23diagnostics_column_uniti 39
_ZNK11diagnostics13column_policy16converted_columnE17expanded_location 353640
_ZNK11diagnostics13column_policy17get_location_textERK17expanded_locationbb 381977
_ZNK11diagnostics14column_options14convert_columnERNS_10file_cacheE17expanded_location 353640
_ZNK11diagnostics17client_data_hooks4dumpEP8_IO_FILEi 0
_ZNK11diagnostics17logical_locations7manager10function_pENS0_3keyE 4133
_ZNK11diagnostics4sink4dumpEP8_IO_FILEi 0
_ZNK11diagnostics7context12get_urlifierEv 1632475
_ZNK11diagnostics7context18execution_failed_pEv 292809
_ZNK11diagnostics7context24notes_inhibited_in_groupEv 137909
_ZNK11diagnostics7context28get_logical_location_managerEv 4311
_ZNK11diagnostics7context28supports_fnotice_on_stderr_pEv 20558
_ZNK11diagnostics7context4dumpEP8_IO_FILEi 0
_ZNK11diagnostics7context8get_sinkEm 18845
_ZNK11diagnostics8counters4dumpEP8_IO_FILEi 0

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.