LCOV - code coverage report
Current view: top level - gcc - gcc.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 74.1 % 4384 3250
Test Date: 2026-04-20 14:57:17 Functions: 85.4 % 158 135
Legend: Lines:     hit not hit

Function Name Sort by function name Hit count Sort by function hit count
_Z13for_each_pathIR9spec_pathEPDaPK11path_prefixbmOT_ 2840549
_Z13for_each_pathIR9spec_pathEPDaPK11path_prefixbmOT_ 553059
_Z13for_each_pathIZL11find_a_filePK11path_prefixPKcibEUlPcE_EPDaS2_bmOT_ 1779170
_Z13for_each_pathIZL17build_search_listPK11path_prefixPKcbbEUlPcE_EPDaS2_bmOT_ 508320
_Z16record_temp_filePKcii 705327
_Z33driver_get_configure_time_optionsPFvPKcPvES1_ 131
_Z7do_specPKc 565801
_Z9set_inputPKc 836181
_ZL10add_infilePKcS0_b 586066
_ZL10add_prefixP11path_prefixPKcS2_iii 3887014
_ZL10alloc_argsv 2375298
_ZL10clear_argsv 5594331
_ZL10load_specsPKc 328819
_ZL10read_specsPKcbb 328819
_ZL11check_reproPPcS0_ 0
_ZL11default_argPKci 1230088
_ZL11find_a_filePK11path_prefixPKcib 1779171
_ZL11give_switchii 6108593
_ZL11run_attemptPPKcS0_S0_ii 0
_ZL11save_stringPKci 46447989
_ZL11save_switchPKcmPKS0_bb 6756015
_ZL12access_checkPKci 7881536
_ZL12alloc_infilev 884888
_ZL12alloc_switchv 7622400
_ZL12display_helpv 4
_ZL12do_self_specPKc 2690897
_ZL12do_specs_vec3vecIPc7va_heap6vl_ptrE 467474
_ZL12fatal_signali 0
_ZL12is_directoryPKc 10407389
_ZL12make_at_filev 12488
_ZL12open_at_filev 12498
_ZL12quote_stringPcPFbcPvES0_ 851696
_ZL13close_at_filev 12498
_ZL13compare_filesPPc 613
_ZL13do_report_bugPPKciPPcS3_ 0
_ZL13end_going_argv 80555137
_ZL13files_equal_pPcS_ 0
_ZL13handle_bracesPKc 40654450
_ZL14do_option_specPKcS0_ 2989530
_ZL14find_a_programPKc 750543
_ZL14init_gcc_specsP7obstackPKcS2_S2_ 1163
_ZL14insert_wrapperPKc 0
_ZL14join_spec_funciPPKc 39
_ZL14quote_spec_argPc 652383
_ZL14switch_matchesPKcS0_i 38601862
_ZL15dumps_spec_funciPPKc 283765
_ZL15insert_commentsPKcS0_ 0
_ZL15lookup_compilerPKcmS0_ 1098900
_ZL15process_commandjP17cl_decoded_option 299108
_ZL15set_static_specPPKcS0_b 208107
_ZL15skip_whitespacePc 28385268
_ZL16set_multilib_dirv 298821
_ZL17add_linker_optionPKci 82
_ZL17build_search_listPK11path_prefixPKcbb 508320
_ZL17check_live_switchii 7532744
_ZL17delete_temp_filesv 583193
_ZL17get_random_numberv 620
_ZL17not_actual_file_pPKc 519741
_ZL17path_prefix_resetP11path_prefix 34823
_ZL17quote_spec_char_pcPv 6220725
_ZL17validate_switchesPKcbb 199014788
_ZL18delete_if_ordinaryPKc 389380
_ZL18eval_spec_functionPKcS0_S0_ 2076190
_ZL18input_spec_matchesPKcS0_ 0
_ZL18process_brace_bodyPKcS0_S0_ii 33921028
_ZL18try_generate_reproPPKc 0
_ZL19clear_failure_queuev 544892
_ZL19convert_white_spacePc 198050
_ZL19print_configurationP8_IO_FILE 1551
_ZL19print_multilib_infov 4725
_ZL19set_option_handlersP18cl_option_handlers 866667
_ZL20add_assembler_optionPKci 195
_ZL20add_sysrooted_prefixP11path_prefixPKcS2_iii 597644
_ZL20adds_single_suffix_pPKcS0_ 85196
_ZL20compile_input_file_pP6infile 44137
_ZL20delete_failure_queuev 59043
_ZL20driver_handle_optionP11gcc_optionsS0_PK17cl_decoded_optionjimPK18cl_option_handlersPN11diagnostics7contextEPFvvE 2726645
_ZL20getenv_spec_functioniPPKc 0
_ZL20handle_spec_functionPKcPbS0_ 2076190
_ZL20input_suffix_matchesPKcS0_ 0
_ZL20lookup_spec_functionPKc 2076190
_ZL20putenv_from_prefixesPK11path_prefixPKcb 508264
_ZL21include_spec_functioniPPKc 31156
_ZL21set_static_spec_ownedPPKcS0_ 107862
_ZL21validate_all_switchesv 298821
_ZL22forward_offload_optionmPKcb 0
_ZL22greater_than_spec_funciPPKc 394532
_ZL22handle_foffload_optionPKc 2841
_ZL22mark_matching_switchesPKcS0_i 11217275
_ZL22sanitize_spec_functioniPPKc 859518
_ZL22set_static_spec_sharedPPKcS0_ 100245
_ZL23add_preprocessor_optionPKci 0
_ZL23compare_version_stringsPKcS0_ 0
_ZL23find_file_spec_functioniPPKc 0
_ZL23if_exists_spec_functioniPPKc 0
_ZL23process_marked_switchesv 9736142
_ZL23set_collect_gcc_optionsv 823644
_ZL23single_input_file_indexv 150106
_ZL23whitespace_to_convert_pcPv 12312488
_ZL25add_sysrooted_hdrs_prefixP11path_prefixPKcS2_iii 31421
_ZL25check_offload_target_namePKcl 107
_ZL25putenv_COLLECT_AS_OPTIONS3vecIPc7va_heap6vl_ptrE 298821
_ZL26driver_wrong_lang_callbackPK17cl_decoded_optionj 4364675
_ZL27check_foffload_target_namesPKc 27
_ZL27pass_through_libs_spec_funciPPKc 89985
_ZL27validate_switches_from_specPKcb 46317255
_ZL28find_fortran_preinclude_fileiPPKc 31421
_ZL28find_plugindir_spec_functioniPPKc 400
_ZL28if_exists_else_spec_functioniPPKc 0
_ZL28remove_outfile_spec_functioniPPKc 0
_ZL28set_source_date_epoch_envvarv 619
_ZL29replace_outfile_spec_functioniPPKc 0
_ZL29version_compare_spec_functioniPPKc 0
_ZL30driver_unknown_option_callbackPK17cl_decoded_option 716
_ZL30print_asm_header_spec_functioniPPKc 0
_ZL33if_exists_then_else_spec_functioniPPKc 0
_ZL34debug_level_greater_than_spec_funciPPKc 253644
_ZL36compare_debug_dump_opt_spec_functioniPPKc 1233
_ZL36compare_debug_self_opt_spec_functioniPPKc 1238
_ZL36dwarf_version_greater_than_spec_funciPPKc 129237
_ZL36find_multilib_os_dir_by_multilib_dirPKcPS0_S1_ 0
_ZL7executev 544565
_ZL7xputenvPKc 1768032
_ZL8set_specPKcS0_b 13741255
_ZL9do_spec_1PKciS0_ 52801794
_ZL9do_spec_2PKcS0_ 5335354
_ZL9find_filePKc 545617
_ZL9init_specv 1163
_ZL9store_argPKcii 19379025
_ZN10used_arg_t8finalizeEv 1134
_ZN10used_arg_tclEPKci 1806395
_ZN11env_manager3getEPKc 1494623
_ZN11env_manager4initEbb 299108
_ZN11env_manager4xputEPKc 1768032
_ZN11env_manager7restoreEv 1134
_ZN6driver11decode_argvEiPPKc 299108
_ZN6driver15prepare_infilesEv 284741
_ZN6driver22global_initializationsEv 299108
_ZN6driver27handle_unrecognized_optionsEv 298821
_ZN6driver4mainEiPPc 299108
_ZN6driver8finalizeEv 1134
_ZN6driverC2Ebb 299108
_ZN6driverD2Ev 298626
_ZN9spec_pathclEPc 3352826
_ZNK6driver12set_prognameEPKc 299108
_ZNK6driver12set_up_specsEv 299108
_ZNK6driver13final_actionsEv 284085
_ZNK6driver13get_exit_codeEv 284547
_ZNK6driver15expand_at_filesEPiPPPc 299108
_ZNK6driver16detect_jobserverEv 254132
_ZNK6driver16maybe_run_linkerEPKc 284085
_ZNK6driver18do_spec_on_infilesEv 284085
_ZNK6driver18putenv_COLLECT_GCCEPKc 298821
_ZNK6driver20maybe_print_and_exitEv 298816
_ZNK6driver22build_multilib_stringsEv 299108
_ZNK6driver28maybe_putenv_OFFLOAD_TARGETSEv 298821
_ZNK6driver32maybe_putenv_COLLECT_LTO_WRAPPEREv 298821
_ZZL11find_a_filePK11path_prefixPKcibENKUlPcE_clES4_ 7881536
_ZZL17build_search_listPK11path_prefixPKcbbENKUlPcE_clES4_ 6954603

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.