LCOV - code coverage report
Current view: top level - gcc/diagnostics - context.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 86.2 % 1061 915
Test Date: 2026-06-20 15:32:29 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_ 9
_Z13trim_filenamePKc 9
_Z18get_terminal_widthv 801326
_Z19diagnostic_set_infoPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 108194311
_Z20build_message_stringPKcz 3273777
_Z30diagnostic_set_info_translatedPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 108352419
_ZL10real_abortv 0
_ZL11bt_callbackPvmPKciS1_ 317
_ZL15bt_err_callbackPvPKci 0
_ZN11diagnostics10num_digitsEm 75342
_ZN11diagnostics11get_cwe_urlEi 28
_ZN11diagnostics13column_policyC2ERKNS_7contextE 2411430
_ZN11diagnostics17get_text_for_kindENS_4kindE 381216
_ZN11diagnostics18get_color_for_kindENS_4kindE 1772038
_ZN11diagnostics18output_format_initERNS_7contextEPKcS3_25diagnostics_output_formatb 90
_ZN11diagnostics21location_print_policyC2ERKNS_7contextE 50732
_ZN11diagnostics21location_print_policyC2ERKNS_9text_sinkE 1246542
_ZN11diagnostics25get_debug_string_for_kindENS_4kindE 0
_ZN11diagnostics4sink18on_report_verbatimER9text_info 0
_ZN11diagnostics4sink19finalize_extensionsEv 318246
_ZN11diagnostics7context10color_initEi 1482670
_ZN11diagnostics7context10initializeEi 741232
_ZN11diagnostics7context11begin_groupEv 984313768
_ZN11diagnostics7context12emit_diagramERKNS_7diagramE 86
_ZN11diagnostics7context12pop_urlifierEv 1993771919
_ZN11diagnostics7context15diagnostic_implEP13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tagNS_4kindE 103208908
_ZN11diagnostics7context15error_recursionEv 0
_ZN11diagnostics7context15report_verbatimER9text_info 0
_ZN11diagnostics7context16check_max_errorsEb 1479347
_ZN11diagnostics7context16set_show_nestingEb 578101
_ZN11diagnostics7context17diagnostic_n_implEP13rich_locationPKNS_8metadataENS_9option_idEmPKcS8_PA1_13__va_list_tagNS_4kindE 13096
_ZN11diagnostics7context17pop_nesting_levelEv 30273
_ZN11diagnostics7context17report_diagnosticEPNS_15diagnostic_infoE 108339744
_ZN11diagnostics7context17set_nesting_levelEi 0
_ZN11diagnostics7context17set_original_argvE11unique_argv 298828
_ZN11diagnostics7context18diagnostic_enabledEPNS_15diagnostic_infoE 106521232
_ZN11diagnostics7context18push_nesting_levelEv 30275
_ZN11diagnostics7context18set_format_decoderEPFbP14pretty_printerP9text_infoPKcibbbPbR13pp_token_listE 604180
_ZN11diagnostics7context18set_prefixing_ruleE27diagnostic_prefixing_rule_t 432
_ZN11diagnostics7context18set_pretty_printerESt10unique_ptrI14pretty_printerSt14default_deleteIS2_EE 216649
_ZN11diagnostics7context18warning_enabled_atEmNS_9option_idE 1725876
_ZN11diagnostics7context19action_after_outputENS_4kindE 379234
_ZN11diagnostics7context19push_owned_urlifierESt10unique_ptrI8urlifierSt14default_deleteIS2_EE 610838
_ZN11diagnostics7context19set_caret_max_widthEi 847840
_ZN11diagnostics7context20refresh_output_sinksEv 515477
_ZN11diagnostics7context20set_text_art_charsetE27diagnostic_text_art_charset 1660071
_ZN11diagnostics7context21get_any_inlining_infoEPNS_15diagnostic_infoE 106521232
_ZN11diagnostics7context21report_global_digraphERK14lazily_createdINS_8digraphs7digraphEE 3
_ZN11diagnostics7context21set_client_data_hooksESt10unique_ptrINS_17client_data_hooksESt14default_deleteIS2_EE 355747
_ZN11diagnostics7context21set_option_id_managerESt10unique_ptrINS_17option_id_managerESt14default_deleteIS2_EEj 312499
_ZN11diagnostics7context22inhibit_notes_in_groupEb 1092468187
_ZN11diagnostics7context22push_borrowed_urlifierERK8urlifier 1993473289
_ZN11diagnostics7context23remove_all_output_sinksEv 1655
_ZN11diagnostics7context23set_main_input_filenameEPKc 0
_ZN11diagnostics7context23set_show_nesting_levelsEb 298828
_ZN11diagnostics7context24initialize_input_contextEPFPKcS2_Eb 217712
_ZN11diagnostics7context25set_show_highlight_colorsEb 597661
_ZN11diagnostics7context26emit_diagnostic_with_groupENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcz 8
_ZN11diagnostics7context26set_show_nesting_locationsEb 298828
_ZN11diagnostics7context28initialize_fixits_change_setEv 17
_ZN11diagnostics7context29emit_diagnostic_with_group_vaENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tag 8
_ZN11diagnostics7context6finishEv 318210
_ZN11diagnostics7context8add_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 36
_ZN11diagnostics7context8set_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 1655
_ZN11diagnostics7context9end_groupEv 984313762
_ZN11diagnostics7context9urls_initEi 1463991
_ZN11diagnostics8counters5clearEv 33867089
_ZN11diagnostics8counters7move_toERS0_ 114445
_ZN11diagnostics8countersC2Ev 9387968
_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 344956
_ZN11diagnosticsL20print_escaped_stringEP14pretty_printerPKc 105
_ZN11diagnosticsL22print_parseable_fixitsERNS_10file_cacheEP14pretty_printerP13rich_location23diagnostics_column_uniti 39
_ZNK11diagnostics13column_policy16converted_columnE17expanded_location 344878
_ZNK11diagnostics13column_policy17get_location_textERK17expanded_locationbb 371822
_ZNK11diagnostics14column_options14convert_columnERNS_10file_cacheE17expanded_location 344878
_ZNK11diagnostics17client_data_hooks4dumpEP8_IO_FILEi 0
_ZNK11diagnostics17logical_locations7manager10function_pENS0_3keyE 4112
_ZNK11diagnostics4sink4dumpEP8_IO_FILEi 0
_ZNK11diagnostics7context12get_urlifierEv 1603424
_ZNK11diagnostics7context18execution_failed_pEv 297061
_ZNK11diagnostics7context24notes_inhibited_in_groupEv 131270
_ZNK11diagnostics7context28get_logical_location_managerEv 4290
_ZNK11diagnostics7context28supports_fnotice_on_stderr_pEv 21627
_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.