LCOV - code coverage report
Current view: top level - gcc - gcc.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 74.2 % 4371 3242
Test Date: 2025-10-18 14:39:06 Functions: 80.4 % 158 127
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
_Z13for_each_pathIR9spec_pathEPDaPK11path_prefixbmOT_ 2844466
_Z13for_each_pathIR9spec_pathEPDaPK11path_prefixbmOT_ 551944
_Z13for_each_pathIZL11find_a_filePK11path_prefixPKcibEUlPcE_EPDaS2_bmOT_ 1782960
_Z13for_each_pathIZL17build_search_listPK11path_prefixPKcbbEUlPcE_EPDaS2_bmOT_ 509562
_Z16record_temp_filePKcii 709119
_Z33driver_get_configure_time_optionsPFvPKcPvES1_ 128
_Z7do_specPKc 566433
_Z9set_inputPKc 836001
_ZL10add_infilePKcS0_ 585287
_ZL10add_prefixP11path_prefixPKcS2_iii 3919771
_ZL10alloc_argsv 2377784
_ZL10clear_argsv 5609518
_ZL10load_specsPKc 329581
_ZL10read_specsPKcbb 329581
_ZL11check_reproPPcS0_ 0
_ZL11default_argPKci 1236336
_ZL11find_a_filePK11path_prefixPKcib 1782961
_ZL11give_switchii 6095629
_ZL11run_attemptPPKcS0_S0_ii 0
_ZL11save_stringPKci 46577318
_ZL11save_switchPKcmPKS0_bb 6751932
_ZL12access_checkPKci 7872274
_ZL12alloc_infilev 885400
_ZL12alloc_switchv 7618547
_ZL12display_helpv 4
_ZL12do_self_specPKc 2702510
_ZL12do_specs_vec3vecIPc7va_heap6vl_ptrE 468988
_ZL12fatal_signali 0
_ZL12is_directoryPKc 10469679
_ZL12make_at_filev 13348
_ZL12open_at_filev 13358
_ZL12quote_stringPcPFbcPvES0_ 850719
_ZL13close_at_filev 13358
_ZL13compare_filesPPc 613
_ZL13do_report_bugPPKciPPcS3_ 0
_ZL13end_going_argv 81702700
_ZL13files_equal_pPcS_ 0
_ZL13handle_bracesPKc 40696406
_ZL14do_option_specPKcS0_ 3002410
_ZL14find_a_programPKc 0
_ZL14init_gcc_specsP7obstackPKcS2_S2_ 1146
_ZL14insert_wrapperPKc 0
_ZL14join_spec_funciPPKc 39
_ZL14quote_spec_argPc 649960
_ZL14switch_matchesPKcS0_i 38660159
_ZL15dumps_spec_funciPPKc 284121
_ZL15insert_commentsPKcS0_ 0
_ZL15lookup_compilerPKcmS0_ 1097841
_ZL15process_commandjP17cl_decoded_option 300399
_ZL15set_static_specPPKcS0_b 209380
_ZL15skip_whitespacePc 28507899
_ZL16set_multilib_dirv 300112
_ZL17add_linker_optionPKci 82
_ZL17build_search_listPK11path_prefixPKcbb 509562
_ZL17check_live_switchii 7517942
_ZL17delete_temp_filesv 584812
_ZL17get_random_numberv 620
_ZL17not_actual_file_pPKc 516885
_ZL17path_prefix_resetP11path_prefix 34160
_ZL17quote_spec_char_pcPv 6235046
_ZL17validate_switchesPKcbb 195072802
_ZL18delete_if_ordinaryPKc 392098
_ZL18eval_spec_functionPKcS0_S0_ 2077385
_ZL18input_spec_matchesPKcS0_ 0
_ZL18process_brace_bodyPKcS0_S0_ii 33968866
_ZL18try_generate_reproPPKc 0
_ZL19clear_failure_queuev 0
_ZL19convert_white_spacePc 0
_ZL19print_configurationP8_IO_FILE 1479
_ZL19print_multilib_infov 5019
_ZL19set_option_handlersP18cl_option_handlers 0
_ZL20add_assembler_optionPKci 183
_ZL20add_sysrooted_prefixP11path_prefixPKcS2_iii 600226
_ZL20adds_single_suffix_pPKcS0_ 85181
_ZL20compile_input_file_pP6infile 0
_ZL20delete_failure_queuev 58356
_ZL20driver_handle_optionP11gcc_optionsS0_PK17cl_decoded_optionjimPK18cl_option_handlersPN11diagnostics7contextEPFvvE 2735432
_ZL20getenv_spec_functioniPPKc 0
_ZL20handle_spec_functionPKcPbS0_ 2077385
_ZL20input_suffix_matchesPKcS0_ 0
_ZL20lookup_spec_functionPKc 2077385
_ZL20putenv_from_prefixesPK11path_prefixPKcb 509506
_ZL21include_spec_functioniPPKc 30610
_ZL21set_static_spec_ownedPPKcS0_ 0
_ZL21validate_all_switchesv 300112
_ZL22forward_offload_optionmPKcb 0
_ZL22greater_than_spec_funciPPKc 396016
_ZL22handle_foffload_optionPKc 2869
_ZL22mark_matching_switchesPKcS0_i 11217184
_ZL22sanitize_spec_functioniPPKc 861258
_ZL22set_static_spec_sharedPPKcS0_ 0
_ZL23add_preprocessor_optionPKci 0
_ZL23compare_version_stringsPKcS0_ 0
_ZL23find_file_spec_functioniPPKc 0
_ZL23if_exists_spec_functioniPPKc 0
_ZL23process_marked_switchesv 9735820
_ZL23set_collect_gcc_optionsv 826045
_ZL23single_input_file_indexv 154845
_ZL23whitespace_to_convert_pcPv 12388393
_ZL25add_sysrooted_hdrs_prefixP11path_prefixPKcS2_iii 30833
_ZL25check_offload_target_namePKcl 148
_ZL25putenv_COLLECT_AS_OPTIONS3vecIPc7va_heap6vl_ptrE 300112
_ZL26driver_wrong_lang_callbackPK17cl_decoded_optionj 4354178
_ZL27check_foffload_target_namesPKc 27
_ZL27pass_through_libs_spec_funciPPKc 90292
_ZL27validate_switches_from_specPKcb 46217248
_ZL28find_fortran_preinclude_fileiPPKc 30833
_ZL28find_plugindir_spec_functioniPPKc 398
_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 681
_ZL30print_asm_header_spec_functioniPPKc 0
_ZL33if_exists_then_else_spec_functioniPPKc 0
_ZL34debug_level_greater_than_spec_funciPPKc 253066
_ZL36compare_debug_dump_opt_spec_functioniPPKc 1233
_ZL36compare_debug_self_opt_spec_functioniPPKc 1238
_ZL36dwarf_version_greater_than_spec_funciPPKc 128259
_ZL36find_multilib_os_dir_by_multilib_dirPKcPS0_S1_ 0
_ZL7executev 546703
_ZL7xputenvPKc 0
_ZL8set_specPKcS0_b 13800770
_ZL9do_spec_1PKciS0_ 52758756
_ZL9do_spec_2PKcS0_ 5348794
_ZL9find_filePKc 546068
_ZL9init_specv 1146
_ZL9store_argPKcii 20405340
_ZN10used_arg_t8finalizeEv 1109
_ZN10used_arg_tclEPKci 1814070
_ZN11env_manager3getEPKc 1501078
_ZN11env_manager4initEbb 300399
_ZN11env_manager4xputEPKc 1773692
_ZN11env_manager7restoreEv 1109
_ZN6driver11decode_argvEiPPKc 300399
_ZN6driver15prepare_infilesEv 285095
_ZN6driver22global_initializationsEv 300399
_ZN6driver27handle_unrecognized_optionsEv 300112
_ZN6driver4mainEiPPc 300399
_ZN6driver8finalizeEv 1109
_ZN6driverC2Ebb 300399
_ZN6driverD2Ev 299914
_ZN9spec_pathclEPc 3351075
_ZNK6driver12set_prognameEPKc 300399
_ZNK6driver12set_up_specsEv 300399
_ZNK6driver13final_actionsEv 284413
_ZNK6driver13get_exit_codeEv 284898
_ZNK6driver15expand_at_filesEPiPPPc 300399
_ZNK6driver16detect_jobserverEv 254753
_ZNK6driver16maybe_run_linkerEPKc 284416
_ZNK6driver18do_spec_on_infilesEv 284416
_ZNK6driver18putenv_COLLECT_GCCEPKc 300112
_ZNK6driver20maybe_print_and_exitEv 300107
_ZNK6driver22build_multilib_stringsEv 300399
_ZNK6driver28maybe_putenv_OFFLOAD_TARGETSEv 300112
_ZNK6driver32maybe_putenv_COLLECT_LTO_WRAPPEREv 300112
_ZZL11find_a_filePK11path_prefixPKcibENKUlPcE_clES4_ 7872274
_ZZL17build_search_listPK11path_prefixPKcbbENKUlPcE_clES4_ 7018534

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.