LCOV - code coverage report
Current view: top level - gcc - input.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 86.1 % 1714 1475
Test Date: 2025-01-04 13:14:48 Functions: 88.3 % 128 113
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
_Z13make_locationm12source_range 1283634238
_Z13make_locationmmm 2210036268
_Z15expand_locationm 798086368
_Z17has_discriminatorm 14585981
_Z18dump_location_infoP8_IO_FILE 0
_Z21special_fname_builtinv 7586497
_Z23get_source_text_betweenR10file_cachemm 825
_Z24expansion_point_locationm 197
_Z26dump_line_table_statisticsv 0
_Z26get_discriminator_from_locm 316222576
_Z26get_location_within_stringP10cpp_readerR10file_cacheP16string_concat_dbm9cpp_ttypeiiiPm 11223
_Z27location_with_discriminatormi 39941750
_Z30is_location_from_builtin_tokenm 11320
_Z31location_compute_display_columnR10file_cache17expanded_locationRK22cpp_char_column_policy 714575
_Z33expand_location_to_spelling_pointm15location_aspect 84274
_Z44expansion_point_location_if_in_system_headerm 451385960
_Z48linemap_client_expand_location_to_spelling_pointPK9line_mapsm15location_aspect 1892277
_ZL11write_digitP8_IO_FILEi 0
_ZL15total_lines_numPKc 84318
_ZL15write_digit_rowP8_IO_FILEiPK17line_map_ordinarymii 0
_ZL16find_end_of_linePKcm 173903634
_ZL16get_end_locationP9line_mapsm 0
_ZL17expand_location_1PK9line_mapsmb15location_aspect 800065191
_ZL19dump_location_rangeP8_IO_FILEmm 0
_ZL24default_charset_callbackPKc 25553
_ZL28dump_labelled_location_rangeP8_IO_FILEPKcmm 0
_ZL28get_substring_ranges_for_locP10cpp_readerR10file_cacheP16string_concat_dbm9cpp_ttypeR20cpp_substring_ranges 36875
_ZN10file_cache11lookup_fileEPKc 1622450
_ZN10file_cache15get_source_lineEPKci 1618369
_ZN10file_cache18lookup_or_add_fileEPKc 1621870
_ZN10file_cache19forcibly_evict_fileEPKc 576
_ZN10file_cache20add_buffered_contentEPKcS1_m 4
_ZN10file_cache23evicted_cache_tab_entryEPj 84318
_ZN10file_cache23get_source_file_contentEPKc 220
_ZN10file_cache24initialize_input_contextEPFPKcS1_Eb 895453
_ZN10file_cache26missing_trailing_newline_pEPKc 3348
_ZN10file_cache8add_fileEPKc 114555
_ZN10file_cacheC2Ev 694254
_ZN10file_cacheD2Ev 298946
_ZN13string_concatC2EiPm 2783030
_ZN15file_cache_slot10maybe_growEv 137352
_ZN15file_cache_slot11set_contentEPKcm 4
_ZN15file_cache_slot13get_next_lineEPPcPl 173901040
_ZN15file_cache_slot13offset_bufferEi 242494
_ZN15file_cache_slot13read_line_numEmPPcPl 1588065
_ZN15file_cache_slot14goto_next_lineEv 172803433
_ZN15file_cache_slot15maybe_read_dataEv 173908337
_ZN15file_cache_slot21get_full_file_contentEv 216
_ZN15file_cache_slot5evictEv 0
_ZN15file_cache_slot6createERKN10file_cache13input_contextEPKcP8_IO_FILEj 84318
_ZN15file_cache_slot9read_dataEv 141979
_ZN15file_cache_slotC2Ev 11108064
_ZN15file_cache_slotD2Ev 4783136
_ZN16string_concat_db11get_key_locEm 2817665
_ZN16string_concat_db24get_string_concatenationEmPiPPm 34629
_ZN16string_concat_db27record_string_concatenationEiPm 2783036
_ZN16string_concat_dbC2Ev 202441
_ZN19auto_cpp_string_vecD2Ev 34629
_ZN8selftest10lexer_test9get_tokenEv 3936
_ZN8selftest10lexer_testC2ERKNS_15line_table_caseEPKcPNS_18lexer_test_optionsE 2304
_ZN8selftest10lexer_testD2Ev 2304
_ZN8selftest13test_cpp_utf8Ev 4
_ZN8selftest14cpp_reader_ptrD2Ev 2304
_ZN8selftest14input_cc_testsEv 4
_ZN8selftest15line_table_testC2ERKNS_15line_table_caseE 6724
_ZN8selftest15line_table_testC2Ev 21
_ZN8selftest15line_table_testD2Ev 6745
_ZN8selftest21lexer_diagnostic_sink13on_diagnosticEP10cpp_reader20cpp_diagnostic_level18cpp_warning_reasonP13rich_locationPKcPA1_13__va_list_tag 96
_ZN8selftest21lexer_diagnostic_sink5applyERNS_10lexer_testE 96
_ZN8selftest21lexer_diagnostic_sinkC2Ev 96
_ZN8selftest21lexer_diagnostic_sinkD2Ev 96
_ZN8selftest24ebcdic_execution_charset13on_diagnosticEP10cpp_reader20cpp_diagnostic_level18cpp_warning_reasonP13rich_locationPKcPA1_13__va_list_tag 0
_ZN8selftest24ebcdic_execution_charset5applyERNS_10lexer_testE 96
_ZN8selftest24ebcdic_execution_charsetC2Ev 96
_ZN8selftest24ebcdic_execution_charsetD2Ev 96
_ZN8selftest24for_each_line_table_caseEPFvRKNS_15line_table_caseEE 244
_ZN8selftestL10test_lexerERKNS_15line_table_caseE 96
_ZN8selftestL12assert_loceqEPKciim 1068
_ZN8selftestL13test_builtinsEv 4
_ZN8selftestL19assert_token_loc_eqERKNS_8locationEPK9cpp_tokenPKciii 576
_ZN8selftestL20assert_char_at_rangeERKNS_8locationERNS_10lexer_testEm9cpp_ttypeiiii 23740
_ZN8selftestL21test_cpp_valid_utf8_pEv 4
_ZN8selftestL21test_unknown_locationEv 4
_ZN8selftestL22check_cpp_valid_utf8_pEPKc 36
_ZN8selftestL22uint16_from_big_endianEPKt 0
_ZN8selftestL22uint32_from_big_endianEPKj 0
_ZN8selftestL24test_linenum_comparisonsEv 4
_ZN8selftestL24test_reading_source_lineEv 4
_ZN8selftestL25get_source_range_for_charEP10cpp_readerR10file_cacheP16string_concat_dbm9cpp_ttypeiP12source_range 23748
_ZN8selftestL25should_have_column_data_pEm 65136
_ZN8selftestL25test_lexer_char_constantsERKNS_15line_table_caseE 96
_ZN8selftestL25test_line_offset_overflowEv 4
_ZN8selftestL26test_reading_source_bufferEv 4
_ZN8selftestL27assert_num_substring_rangesERKNS_8locationERNS_10lexer_testEm9cpp_ttypei 1268
_ZN8selftestL30assert_has_no_substring_rangesERKNS_8locationERNS_10lexer_testEm9cpp_ttypePKc 636
_ZN8selftestL30test_lexer_string_locations_u8ERKNS_15line_table_caseE 96
_ZN8selftestL30test_should_have_column_data_pEv 4
_ZN8selftestL31test_lexer_string_locations_hexERKNS_15line_table_caseE 96
_ZN8selftestL31test_lexer_string_locations_octERKNS_15line_table_caseE 96
_ZN8selftestL32test_accessing_ordinary_linemapsERKNS_15line_table_caseE 96
_ZN8selftestL32test_lexer_string_locations_ucn4ERKNS_15line_table_caseE 96
_ZN8selftestL32test_lexer_string_locations_ucn8ERKNS_15line_table_caseE 96
_ZN8selftestL33test_lexer_string_locations_macroERKNS_15line_table_caseE 96
_ZN8selftestL34test_lexer_string_locations_ebcdicERKNS_15line_table_caseE 96
_ZN8selftestL34test_lexer_string_locations_simpleERKNS_15line_table_caseE 96
_ZN8selftestL35get_num_source_ranges_for_substringEP10cpp_readerR10file_cacheP16string_concat_dbm9cpp_ttypePi 1268
_ZN8selftestL36test_lexer_string_locations_string16ERKNS_15line_table_caseE 96
_ZN8selftestL36test_lexer_string_locations_string32ERKNS_15line_table_caseE 96
_ZN8selftestL37test_lexer_string_locations_long_lineERKNS_15line_table_caseE 96
_ZN8selftestL38test_lexer_string_locations_non_stringERKNS_15line_table_caseE 96
_ZN8selftestL39test_lexer_string_locations_utf8_sourceERKNS_15line_table_caseE 96
_ZN8selftestL39test_lexer_string_locations_wide_stringERKNS_15line_table_caseE 96
_ZN8selftestL42test_make_location_nonpure_range_endpointsERKNS_15line_table_caseE 96
_ZN8selftestL43test_lexer_string_locations_concatenation_1ERKNS_15line_table_caseE 96
_ZN8selftestL43test_lexer_string_locations_concatenation_2ERKNS_15line_table_caseE 96
_ZN8selftestL43test_lexer_string_locations_concatenation_3ERKNS_15line_table_caseE 96
_ZN8selftestL43test_lexer_string_locations_letter_escape_1ERKNS_15line_table_caseE 96
_ZN8selftestL43test_lexer_string_locations_letter_escape_2ERKNS_15line_table_caseE 96
_ZN8selftestL47test_lexer_string_locations_raw_string_one_lineERKNS_15line_table_caseE 96
_ZN8selftestL48test_lexer_string_locations_raw_string_multilineERKNS_15line_table_caseE 96
_ZN8selftestL51test_lexer_string_locations_raw_string_unterminatedERKNS_15line_table_caseE 96
_ZN8selftestL54test_lexer_string_locations_stringified_macro_argumentERKNS_15line_table_caseE 96
_ZNK10file_cache4dumpEP8_IO_FILEi 0
_ZNK10file_cache4dumpEv 0
_ZNK15file_cache_slot12needs_grow_pEv 137352
_ZNK15file_cache_slot12needs_read_pEv 173908337
_ZNK15file_cache_slot4dumpEP8_IO_FILEi 0
_ZNK15file_cache_slot4dumpEv 0

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.