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-02-28 14:20:25 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_ 8
_Z13trim_filenamePKc 8
_Z18get_terminal_widthv 763005
_Z19diagnostic_set_infoPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 106372117
_Z20build_message_stringPKcz 3188453
_Z30diagnostic_set_info_translatedPN11diagnostics15diagnostic_infoEPKcPA1_13__va_list_tagP13rich_locationNS_4kindE 106528247
_ZL10real_abortv 0
_ZL11bt_callbackPvmPKciS1_ 297
_ZL15bt_err_callbackPvPKci 0
_ZN11diagnostics10num_digitsEm 75085
_ZN11diagnostics11get_cwe_urlEi 28
_ZN11diagnostics13column_policyC2ERKNS_7contextE 2333236
_ZN11diagnostics17get_text_for_kindENS_4kindE 355116
_ZN11diagnostics18get_color_for_kindENS_4kindE 1728592
_ZN11diagnostics18output_format_initERNS_7contextEPKcS3_25diagnostics_output_formatb 90
_ZN11diagnostics21location_print_policyC2ERKNS_7contextE 50601
_ZN11diagnostics21location_print_policyC2ERKNS_9text_sinkE 1230417
_ZN11diagnostics25get_debug_string_for_kindENS_4kindE 0
_ZN11diagnostics4sink18on_report_verbatimER9text_info 0
_ZN11diagnostics4sink19finalize_extensionsEv 305137
_ZN11diagnostics7context10color_initEi 1400680
_ZN11diagnostics7context10initializeEi 705442
_ZN11diagnostics7context11begin_groupEv 901550316
_ZN11diagnostics7context12emit_diagramERKNS_7diagramE 86
_ZN11diagnostics7context12pop_urlifierEv 1942594354
_ZN11diagnostics7context15diagnostic_implEP13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tagNS_4kindE 101475981
_ZN11diagnostics7context15error_recursionEv 0
_ZN11diagnostics7context15report_verbatimER9text_info 0
_ZN11diagnostics7context16check_max_errorsEb 1457232
_ZN11diagnostics7context16set_show_nestingEb 552171
_ZN11diagnostics7context17diagnostic_n_implEP13rich_locationPKNS_8metadataENS_9option_idEmPKcS8_PA1_13__va_list_tagNS_4kindE 12711
_ZN11diagnostics7context17pop_nesting_levelEv 29797
_ZN11diagnostics7context17report_diagnosticEPNS_15diagnostic_infoE 106515603
_ZN11diagnostics7context17set_nesting_levelEi 0
_ZN11diagnostics7context17set_original_argvE11unique_argv 285722
_ZN11diagnostics7context18diagnostic_enabledEPNS_15diagnostic_infoE 103760250
_ZN11diagnostics7context18push_nesting_levelEv 29799
_ZN11diagnostics7context18set_format_decoderEPFbP14pretty_printerP9text_infoPKcibbbPbR13pp_token_listE 579780
_ZN11diagnostics7context18set_prefixing_ruleE27diagnostic_prefixing_rule_t 422
_ZN11diagnostics7context18set_pretty_printerESt10unique_ptrI14pretty_printerSt14default_deleteIS2_EE 208458
_ZN11diagnostics7context18warning_enabled_atEmNS_9option_idE 1299522
_ZN11diagnostics7context19action_after_outputENS_4kindE 352932
_ZN11diagnostics7context19push_owned_urlifierESt10unique_ptrI8urlifierSt14default_deleteIS2_EE 579715
_ZN11diagnostics7context19set_caret_max_widthEi 809534
_ZN11diagnostics7context20refresh_output_sinksEv 494180
_ZN11diagnostics7context20set_text_art_charsetE27diagnostic_text_art_charset 1583947
_ZN11diagnostics7context21get_any_inlining_infoEPNS_15diagnostic_infoE 103760250
_ZN11diagnostics7context21report_global_digraphERK14lazily_createdINS_8digraphs7digraphEE 3
_ZN11diagnostics7context21set_client_data_hooksESt10unique_ptrINS_17client_data_hooksESt14default_deleteIS2_EE 340015
_ZN11diagnostics7context21set_option_id_managerESt10unique_ptrINS_17option_id_managerESt14default_deleteIS2_EEj 297928
_ZN11diagnostics7context22inhibit_notes_in_groupEb 1007880318
_ZN11diagnostics7context22push_borrowed_urlifierERK8urlifier 1942308833
_ZN11diagnostics7context23remove_all_output_sinksEv 1615
_ZN11diagnostics7context23set_main_input_filenameEPKc 0
_ZN11diagnostics7context23set_show_nesting_levelsEb 285722
_ZN11diagnostics7context24initialize_input_contextEPFPKcS2_Eb 209535
_ZN11diagnostics7context25set_show_highlight_colorsEb 571449
_ZN11diagnostics7context26emit_diagnostic_with_groupENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcz 8
_ZN11diagnostics7context26set_show_nesting_locationsEb 285722
_ZN11diagnostics7context28initialize_fixits_change_setEv 17
_ZN11diagnostics7context29emit_diagnostic_with_group_vaENS_4kindER13rich_locationPKNS_8metadataENS_9option_idEPKcPA1_13__va_list_tag 8
_ZN11diagnostics7context6finishEv 305101
_ZN11diagnostics7context8add_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 36
_ZN11diagnostics7context8set_sinkESt10unique_ptrINS_4sinkESt14default_deleteIS2_EE 1615
_ZN11diagnostics7context9end_groupEv 901550311
_ZN11diagnostics7context9urls_initEi 1391074
_ZN11diagnostics8counters5clearEv 33320391
_ZN11diagnostics8counters7move_toERS0_ 113293
_ZN11diagnostics8countersC2Ev 9240906
_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 318894
_ZN11diagnosticsL20print_escaped_stringEP14pretty_printerPKc 105
_ZN11diagnosticsL22print_parseable_fixitsERNS_10file_cacheEP14pretty_printerP13rich_location23diagnostics_column_uniti 39
_ZNK11diagnostics13column_policy16converted_columnE17expanded_location 318816
_ZNK11diagnostics13column_policy17get_location_textERK17expanded_locationbb 345714
_ZNK11diagnostics14column_options14convert_columnERNS_10file_cacheE17expanded_location 318816
_ZNK11diagnostics17client_data_hooks4dumpEP8_IO_FILEi 0
_ZNK11diagnostics17logical_locations7manager10function_pENS0_3keyE 3923
_ZNK11diagnostics4sink4dumpEP8_IO_FILEi 0
_ZNK11diagnostics7context12get_urlifierEv 1561222
_ZNK11diagnostics7context18execution_failed_pEv 283971
_ZNK11diagnostics7context24notes_inhibited_in_groupEv 111051
_ZNK11diagnostics7context28get_logical_location_managerEv 4101
_ZNK11diagnostics7context28supports_fnotice_on_stderr_pEv 20265
_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.