LCOV - code coverage report
Current view: top level - gcc/diagnostics - file-cache.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 84.9 % 445 378
Test Date: 2025-10-18 14:39:06 Functions: 87.5 % 40 35
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
_ZN11diagnostics15file_cache_slot5evictEv 0
_ZNK11diagnostics10file_cache4dumpEP8_IO_FILEi 0
_ZNK11diagnostics10file_cache4dumpEv 0
_ZNK11diagnostics15file_cache_slot4dumpEP8_IO_FILEi 0
_ZNK11diagnostics15file_cache_slot4dumpEv 0
_ZN11diagnostics10file_cache20add_buffered_contentEPKcS2_m 4
_ZN11diagnostics15file_cache_slot11set_contentEPKcm 4
_ZN11diagnostics8selftest19file_cache_cc_testsEv 4
_ZN11diagnostics8selftestL16test_replacementEv 4
_ZN11diagnostics8selftestL24test_reading_source_lineEv 4
_ZN11diagnostics8selftestL26test_reading_source_bufferEv 4
_ZN11diagnostics15file_cache_slot21get_full_file_contentEv 226
_ZN11diagnostics10file_cache23get_source_file_contentEPKc 230
_ZN11diagnostics10file_cache19forcibly_evict_fileEPKc 576
_ZN11diagnostics10file_cache26missing_trailing_newline_pEPKc 3489
_ZN11diagnostics8selftestL10check_lineERN8selftest16temp_source_fileERNS_10file_cacheEi 18600
_ZN11diagnosticsL24default_charset_callbackEPKc 26090
_ZN11diagnostics15file_cache_slot9line_info9less_thanERKS1_S3_ 52489
_ZN11diagnostics10file_cache23evicted_cache_tab_entryEPj 87673
_ZN11diagnostics15file_cache_slot6createERKNS_10file_cache13input_contextEPKcP8_IO_FILEj 87673
_ZN11diagnostics10file_cache8add_fileEPKc 118013
_ZN11diagnostics15file_cache_slot10maybe_growEv 142125
_ZNK11diagnostics15file_cache_slot12needs_grow_pEv 142125
_ZN11diagnostics15file_cache_slot9read_dataEv 146925
_ZN11diagnostics15file_cache_slot13offset_bufferEi 250720
_ZN11diagnostics10file_cache4tuneEmm 289080
_ZN11diagnostics10file_cacheD2Ev 312711
_ZN11diagnostics10file_cacheC2Ev 721514
_ZN11diagnostics10file_cache24initialize_input_contextEPFPKcS2_Eb 932397
_ZN11diagnostics15file_cache_slot13read_line_numEmPPcPl 1681451
_ZN11diagnostics10file_cache15get_source_lineEPKci 1711858
_ZN11diagnostics10file_cache18lookup_or_add_fileEPKc 1715510
_ZN11diagnostics10file_cache11lookup_fileEPKc 1716090
_ZN11diagnostics15file_cache_slotD2Ev 5003556
_ZN11diagnostics15file_cache_slotC2Ev 11544404
_ZN11diagnostics15file_cache_slot14goto_next_lineEv 27200149
_ZN11diagnostics15file_cache_slot13get_next_lineEPPcPl 27730944
_ZN11diagnosticsL16find_end_of_lineEPKcm 27733363
_ZN11diagnostics15file_cache_slot15maybe_read_dataEv 27738238
_ZNK11diagnostics15file_cache_slot12needs_read_pEv 27738238

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.