LCOV - code coverage report
Current view: top level - gcc - diagnostic-show-locus.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 99.4 % 2571 2556
Test Date: 2025-01-11 13:11:20 Functions: 96.2 % 133 128
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
_ZN12_GLOBAL__N_111source_lineC2ER10file_cachePKci 0
_ZN12_GLOBAL__N_112layout_rangeC2ERKNS_23exploc_with_display_colES3_18range_display_kindS3_jPK11range_label 0
_ZN12_GLOBAL__N_19colorizer12finish_stateEi 0
_ZN12_GLOBAL__N_19colorizer17get_color_by_nameEPKc 0
_ZN12_GLOBAL__N_1L10def_policyEv 0
_ZN12_GLOBAL__N_1L14test_line_spanEv 4
_ZN12_GLOBAL__N_1L33test_layout_range_for_single_lineEv 4
_ZN12_GLOBAL__N_1L34test_layout_range_for_single_pointEv 4
_ZN12_GLOBAL__N_1L36test_layout_range_for_multiple_linesEv 4
_ZN12_GLOBAL__N_1L47test_get_line_bytes_without_trailing_whitespaceEv 4
_ZN8selftest30diagnostic_show_locus_cc_testsEv 4
_ZN8selftestL19test_display_widthsEv 4
_ZN8selftestL33test_line_numbers_multiline_rangeEv 4
_ZN8selftestL43test_diagnostic_show_locus_unknown_locationEv 4
_ZN12_GLOBAL__N_1L10make_rangeER10file_cacheiiii 12
_ZN12_GLOBAL__N_1L9assert_eqEPKci 32
_ZN8selftestL21test_one_liner_labelsEv 64
_ZN8selftestL24test_one_liner_no_columnEv 64
_ZN8selftestL26test_one_liner_labels_utf8Ev 64
_ZN8selftestL27test_one_liner_fixit_removeEv 64
_ZN8selftestL27test_one_liner_simple_caretEv 64
_ZN8selftestL28test_one_liner_fixit_replaceEv 64
_ZN8selftestL28test_one_liner_many_fixits_1Ev 64
_ZN8selftestL28test_one_liner_many_fixits_2Ev 64
_ZN8selftestL29test_one_liner_colorized_utf8Ev 64
_ZN8selftestL30test_one_liner_caret_and_rangeEv 64
_ZN8selftestL32test_one_liner_fixit_remove_utf8Ev 64
_ZN8selftestL32test_one_liner_simple_caret_utf8Ev 64
_ZN8selftestL33test_one_liner_fixit_insert_afterEv 64
_ZN8selftestL33test_one_liner_fixit_replace_utf8Ev 64
_ZN8selftestL33test_one_liner_many_fixits_1_utf8Ev 64
_ZN8selftestL33test_one_liner_many_fixits_2_utf8Ev 64
_ZN8selftestL34test_one_liner_fixit_insert_beforeEv 64
_ZN8selftestL35test_one_liner_caret_and_range_utf8Ev 64
_ZN8selftestL38test_one_liner_fixit_insert_after_utf8Ev 64
_ZN8selftestL39test_one_liner_fixit_insert_before_utf8Ev 64
_ZN8selftestL41test_one_liner_multiple_carets_and_rangesEv 64
_ZN8selftestL44test_one_liner_fixit_replace_non_equal_rangeEv 64
_ZN8selftestL46test_one_liner_multiple_carets_and_ranges_utf8Ev 64
_ZN8selftestL47test_one_liner_fixit_validation_adhoc_locationsEv 64
_ZN8selftestL49test_one_liner_fixit_replace_non_equal_range_utf8Ev 64
_ZN8selftestL50test_one_liner_fixit_replace_equal_secondary_rangeEv 64
_ZN8selftestL52test_one_liner_fixit_validation_adhoc_locations_utf8Ev 64
_ZN8selftestL55test_one_liner_fixit_replace_equal_secondary_range_utf8Ev 64
_ZN8selftestL18test_tab_expansionERKNS_15line_table_caseE 96
_ZN8selftestL21test_escaping_bytes_1ERKNS_15line_table_caseE 96
_ZN8selftestL21test_escaping_bytes_2ERKNS_15line_table_caseE 96
_ZN8selftestL24test_fixit_consolidationERKNS_15line_table_caseE 96
_ZN8selftestL27test_add_location_if_nearbyERKNS_15line_table_caseE 96
_ZN8selftestL30test_overlapped_fixit_printingERKNS_15line_table_caseE 96
_ZN8selftestL32test_layout_x_offset_display_tabERKNS_15line_table_caseE 96
_ZN8selftestL32test_overlapped_fixit_printing_2ERKNS_15line_table_caseE 96
_ZN8selftestL33test_layout_x_offset_display_utf8ERKNS_15line_table_caseE 96
_ZN8selftestL35test_overlapped_fixit_printing_utf8ERKNS_15line_table_caseE 96
_ZN8selftestL36test_diagnostic_show_locus_one_linerERKNS_15line_table_caseE 96
_ZN8selftestL36test_fixit_insert_containing_newlineERKNS_15line_table_caseE 96
_ZN8selftestL37test_fixit_deletion_affecting_newlineERKNS_15line_table_caseE 96
_ZN8selftestL37test_fixit_replace_containing_newlineERKNS_15line_table_caseE 96
_ZN8selftestL38test_diagnostic_show_locus_fixit_linesERKNS_15line_table_caseE 96
_ZN8selftestL38test_fixit_insert_containing_newline_2ERKNS_15line_table_caseE 96
_ZN8selftestL41test_diagnostic_show_locus_one_liner_utf8ERKNS_15line_table_caseE 96
_ZN8selftestL16make_char_policyERK18diagnostic_contextRK13rich_location 188
_ZN8selftest44diagnostic_show_locus_fixture_one_liner_utf8C2ERKNS_15line_table_caseE 288
_ZN12_GLOBAL__N_114layout_printer10show_rulerEi 324
_ZN12_GLOBAL__N_114layout_printer27print_gap_in_line_numberingEv 360
_ZNK12_GLOBAL__N_16layout21get_expanded_locationEPKNS_9line_spanE 463
_ZN8selftest29diagnostic_show_locus_fixtureC2ERKNS_15line_table_caseEPKc 672
_ZN12_GLOBAL__N_110correction15ensure_capacityEm 1157
_ZN12_GLOBAL__N_110correction17ensure_terminatedEv 1157
_ZN8selftestL16test_offset_implEiiii 1472
_ZN17gcc_rich_location22add_location_if_nearbyERK18diagnostic_contextmbPK11range_label 1544
_ZN12_GLOBAL__N_110correction9overwriteEiRK9char_span 2314
_ZNK12_GLOBAL__N_16layout16will_show_line_pEj 2899
_ZN12_GLOBAL__N_1L21escape_as_bytes_printEP14pretty_printerRK16cpp_decoded_char 3524
_ZN17gcc_rich_location22add_location_if_nearbyERK30diagnostic_source_print_policymbPK11range_label 3818
_ZNK12_GLOBAL__N_16layout30annotation_line_showed_range_pEjii 3896
_ZN12_GLOBAL__N_1L23escape_as_unicode_printEP14pretty_printerRK16cpp_decoded_char 7184
_ZN12_GLOBAL__N_110line_labelC2Eii10label_textbb 8588
_ZNK12_GLOBAL__N_112layout_range11has_in_edgeEv 8588
_ZNK12_GLOBAL__N_112layout_range12has_out_edgeEv 8588
_ZN30diagnostic_source_print_policyC2ERK18diagnostic_context 10093
_ZN12_GLOBAL__N_110correctionC2ENS_12column_rangeES1_S1_PKcmRK22cpp_char_column_policy 11796
_ZN12_GLOBAL__N_110correction20compute_display_colsEv 12953
_ZN12_GLOBAL__N_116line_corrections8add_hintEPK10fixit_hint 12953
_ZN12_GLOBAL__N_1L19get_printed_columnsER10file_cacheRK22cpp_char_column_policyPK10fixit_hint 13417
_ZN12_GLOBAL__N_16layout21validate_fixit_hint_pEPK10fixit_hint 14278
_ZN12_GLOBAL__N_1L28get_line_span_for_fixit_hintEPK10fixit_hint 14278
_ZN12_GLOBAL__N_19colorizer15set_named_colorEPKc 17701
_ZNK12_GLOBAL__N_16layout35print_heading_for_line_span_index_pEi 19105
_ZN12_GLOBAL__N_110line_label10comparatorEPKvS2_ 19757
_ZN12_GLOBAL__N_1L21escape_as_bytes_widthEj 21585
_ZN12_GLOBAL__N_1L18get_affected_rangeER10file_cacheRK22cpp_char_column_policyPK10fixit_hintNS_11column_unitE 26706
_ZN12_GLOBAL__N_114layout_printer21print_annotation_lineEjNS_11line_boundsE 36240
_ZNK12_GLOBAL__N_16layout19get_x_bound_for_rowEjii 36240
_ZN30diagnostic_source_print_policyC2ERK18diagnostic_contextRK34diagnostic_source_printing_options 37967
_ZNK12_GLOBAL__N_112layout_range17intersects_line_pEj 40812
_ZN12_GLOBAL__N_112column_rangeC2Eii 41280
_ZNK30diagnostic_source_print_policy5printER14pretty_printerRK13rich_location12diagnostic_tP29diagnostic_source_effect_info 41891
_ZN12_GLOBAL__N_114layout_printer16print_any_labelsEj 42997
_ZN12_GLOBAL__N_114layout_printer5printERK30diagnostic_source_print_policy 43299
_ZN12_GLOBAL__N_114layout_printerC2ER14pretty_printerRKNS_6layoutERK13rich_location12diagnostic_t 43299
_ZN12_GLOBAL__N_19colorizerC2ER14pretty_printerRK13rich_location12diagnostic_t 43299
_ZN12_GLOBAL__N_19colorizerD2Ev 43299
_ZN12_GLOBAL__N_114layout_printer17print_source_lineEjPKci 43379
_ZN12_GLOBAL__N_114layout_printer20print_leading_fixitsEj 43379
_ZN12_GLOBAL__N_114layout_printer21print_trailing_fixitsEj 43379
_ZN12_GLOBAL__N_114layout_printer34print_any_right_to_left_edge_linesEv 43379
_ZNK12_GLOBAL__N_16layout30should_print_annotation_line_pEj 43379
_ZN12_GLOBAL__N_116line_correctionsD2Ev 43491
_ZN12_GLOBAL__N_114layout_printer10print_lineEj 46298
_ZN12_GLOBAL__N_16layout20calculate_line_spansEv 48589
_ZN12_GLOBAL__N_16layout23calculate_linenum_widthEv 48589
_ZN12_GLOBAL__N_16layout26calculate_x_offset_displayEv 48589
_ZN12_GLOBAL__N_16layoutC2ERK30diagnostic_source_print_policyRK13rich_locationP29diagnostic_source_effect_info 48589
_ZN12_GLOBAL__N_1L16make_char_policyERK30diagnostic_source_print_policyRK13rich_location 48777
_ZN12_GLOBAL__N_1L23escape_as_unicode_widthEj 54939
_ZN12_GLOBAL__N_16layout24maybe_add_location_rangeEPK14location_rangejb 60986
_ZN12_GLOBAL__N_114layout_printer21start_annotation_lineEc 61703
_ZN12_GLOBAL__N_114layout_printer14move_to_columnEPiib 75295
_ZN12_GLOBAL__N_1L42get_line_bytes_without_trailing_whitespaceEPKci 89013
_ZN12_GLOBAL__N_114layout_printer13print_newlineEv 101209
_ZN12_GLOBAL__N_114layout_printer21print_leftmost_columnEv 104645
_ZNK12_GLOBAL__N_16layout22compatible_locations_pEmm 122256
_ZN12_GLOBAL__N_19colorizer11begin_stateEi 167253
_ZN12_GLOBAL__N_1L9fixit_cmpEPKvS1_ 169663
_ZN12_GLOBAL__N_19colorizer9set_rangeEi 213009
_ZN12_GLOBAL__N_123exploc_with_display_colC2ER10file_cacheRK17expanded_locationRK22cpp_char_column_policy15location_aspect 231574
_ZN12_GLOBAL__N_19line_span10comparatorEPKvS2_ 332531
_ZN18diagnostic_context16maybe_show_locusERK13rich_locationRK34diagnostic_source_printing_options12diagnostic_tR14pretty_printerP29diagnostic_source_effect_info 355245
_ZN12_GLOBAL__N_1L24default_print_decoded_chEP14pretty_printerRK16cpp_decoded_char 3777266
_ZNK12_GLOBAL__N_16layout18get_state_at_pointEjiiiNS_11column_unitEPNS_11point_stateE 13847601
_ZN12_GLOBAL__N_19colorizer9set_stateEi 14058622
_ZNK12_GLOBAL__N_112layout_range14contains_pointEjiNS_11column_unitE 14169165

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.