LCOV - code coverage report
Current view: top level - gcc - gcc.cc (source / functions) Coverage Total Hit
Test: gcc.info Lines: 74.3 % 4392 3263
Test Date: 2025-07-26 09:32:30 Functions: 80.1 % 156 125
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
_Z16record_temp_filePKcii 689650
_Z33driver_get_configure_time_optionsPFvPKcPvES1_ 124
_Z7do_specPKc 552319
_Z9set_inputPKc 819048
_ZL10add_infilePKcS0_ 586255
_ZL10add_prefixP11path_prefixPKcS2_iii 3820784
_ZL10alloc_argsv 2323378
_ZL10clear_argsv 5484915
_ZL10load_specsPKc 323154
_ZL10read_specsPKcbb 323154
_ZL11check_reproPPcS0_ 0
_ZL11default_argPKci 1213942
_ZL11find_a_filePK11path_prefixPKcib 1740232
_ZL11give_switchii 5743073
_ZL11run_attemptPPKcS0_S0_ii 0
_ZL11save_stringPKci 45374599
_ZL11save_switchPKcmPKS0_bb 6409615
_ZL12access_checkPKci 7699150
_ZL12alloc_infilev 880300
_ZL12alloc_switchv 7264002
_ZL12display_helpv 4
_ZL12do_self_specPKc 2647896
_ZL12do_specs_vec3vecIPc7va_heap6vl_ptrE 456071
_ZL12fatal_signali 0
_ZL12file_at_pathPcPv 7699150
_ZL12is_directoryPKc 10187972
_ZL12make_at_filev 11836
_ZL12open_at_filev 11846
_ZL12quote_stringPcPFbcPvES0_ 834281
_ZL13close_at_filev 11846
_ZL13compare_filesPPc 616
_ZL13do_report_bugPPKciPPcS3_ 0
_ZL13end_going_argv 78512329
_ZL13files_equal_pPcS_ 0
_ZL13for_each_pathPK11path_prefixbmPFPvPcS2_ES2_ 2777106
_ZL13handle_bracesPKc 39480869
_ZL14add_to_obstackPcPv 6789154
_ZL14do_option_specPKcS0_ 2647521
_ZL14find_a_programPKc 0
_ZL14init_gcc_specsP7obstackPKcS2_S2_ 1174
_ZL14insert_wrapperPKc 0
_ZL14join_spec_funciPPKc 39
_ZL14quote_spec_argPc 637818
_ZL14switch_matchesPKcS0_i 37477844
_ZL15dumps_spec_funciPPKc 277009
_ZL15insert_commentsPKcS0_ 0
_ZL15lookup_compilerPKcmS0_ 1078221
_ZL15process_commandjP17cl_decoded_option 294331
_ZL15set_static_specPPKcS0_b 204949
_ZL15skip_whitespacePc 27927478
_ZL16set_multilib_dirv 294044
_ZL17add_linker_optionPKci 82
_ZL17build_search_listPK11path_prefixPKcbb 496258
_ZL17check_live_switchii 7134127
_ZL17delete_temp_filesv 571605
_ZL17get_random_numberv 623
_ZL17not_actual_file_pPKc 508357
_ZL17path_prefix_resetP11path_prefix 33895
_ZL17quote_spec_char_pcPv 6054575
_ZL17validate_switchesPKcbb 190834558
_ZL18delete_if_ordinaryPKc 379859
_ZL18eval_spec_functionPKcS0_S0_ 2029047
_ZL18input_spec_matchesPKcS0_ 0
_ZL18process_brace_bodyPKcS0_S0_ii 32914725
_ZL18try_generate_reproPPKc 0
_ZL19clear_failure_queuev 0
_ZL19convert_white_spacePc 0
_ZL19print_configurationP8_IO_FILE 1419
_ZL19print_multilib_infov 5504
_ZL19set_option_handlersP18cl_option_handlers 0
_ZL20add_assembler_optionPKci 183
_ZL20add_sysrooted_prefixP11path_prefixPKcS2_iii 588090
_ZL20adds_single_suffix_pPKcS0_ 83430
_ZL20compile_input_file_pP6infile 0
_ZL20delete_failure_queuev 57523
_ZL20driver_handle_optionP11gcc_optionsS0_PK17cl_decoded_optionjimPK18cl_option_handlersPN11diagnostics7contextEPFvvE 2696461
_ZL20getenv_spec_functioniPPKc 0
_ZL20handle_spec_functionPKcPbS0_ 2029047
_ZL20input_suffix_matchesPKcS0_ 0
_ZL20lookup_spec_functionPKc 2029047
_ZL20putenv_from_prefixesPK11path_prefixPKcb 496202
_ZL21include_spec_functioniPPKc 30279
_ZL21set_static_spec_ownedPPKcS0_ 0
_ZL21validate_all_switchesv 294044
_ZL22forward_offload_optionmPKcb 0
_ZL22greater_than_spec_funciPPKc 387183
_ZL22handle_foffload_optionPKc 2828
_ZL22mark_matching_switchesPKcS0_i 10938446
_ZL22sanitize_spec_functioniPPKc 836379
_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 9494444
_ZL23set_collect_gcc_optionsv 804400
_ZL23single_input_file_indexv 147309
_ZL23whitespace_to_convert_pcPv 12103515
_ZL25add_sysrooted_hdrs_prefixP11path_prefixPKcS2_iii 30613
_ZL25check_offload_target_namePKcl 108
_ZL25putenv_COLLECT_AS_OPTIONS3vecIPc7va_heap6vl_ptrE 294044
_ZL26driver_wrong_lang_callbackPK17cl_decoded_optionj 4055063
_ZL27check_foffload_target_namesPKc 27
_ZL27pass_through_libs_spec_funciPPKc 87595
_ZL27validate_switches_from_specPKcb 45282776
_ZL28find_fortran_preinclude_fileiPPKc 30613
_ZL28find_plugindir_spec_functioniPPKc 388
_ZL28if_exists_else_spec_functioniPPKc 0
_ZL28remove_outfile_spec_functioniPPKc 0
_ZL28set_source_date_epoch_envvarv 622
_ZL29replace_outfile_spec_functioniPPKc 0
_ZL29version_compare_spec_functioniPPKc 0
_ZL30driver_unknown_option_callbackPK17cl_decoded_option 590
_ZL30print_asm_header_spec_functioniPPKc 0
_ZL33if_exists_then_else_spec_functioniPPKc 0
_ZL34debug_level_greater_than_spec_funciPPKc 248042
_ZL36compare_debug_dump_opt_spec_functioniPPKc 1239
_ZL36compare_debug_self_opt_spec_functioniPPKc 1244
_ZL36dwarf_version_greater_than_spec_funciPPKc 129015
_ZL36find_multilib_os_dir_by_multilib_dirPKcPS0_S1_ 0
_ZL7executev 532019
_ZL7xputenvPKc 0
_ZL8set_specPKcS0_b 13519709
_ZL9do_spec_1PKciS0_ 50779159
_ZL9do_spec_2PKcS0_ 5231740
_ZL9find_filePKc 531917
_ZL9init_specv 1174
_ZL9spec_pathPcPv 3296202
_ZL9store_argPKcii 18922891
_ZN10used_arg_t8finalizeEv 1094
_ZN10used_arg_tclEPKci 1777615
_ZN11env_manager3getEPKc 1470735
_ZN11env_manager4initEbb 294331
_ZN11env_manager4xputEPKc 1730977
_ZN11env_manager7restoreEv 1094
_ZN6driver11decode_argvEiPPKc 294331
_ZN6driver15prepare_infilesEv 277822
_ZN6driver22global_initializationsEv 294331
_ZN6driver27handle_unrecognized_optionsEv 294044
_ZN6driver4mainEiPPc 294331
_ZN6driver8finalizeEv 1094
_ZN6driverC2Ebb 294331
_ZN6driverD2Ev 293849
_ZNK6driver12set_prognameEPKc 294331
_ZNK6driver12set_up_specsEv 294331
_ZNK6driver13final_actionsEv 277274
_ZNK6driver13get_exit_codeEv 277628
_ZNK6driver15expand_at_filesEPiPPPc 294331
_ZNK6driver16detect_jobserverEv 248101
_ZNK6driver16maybe_run_linkerEPKc 277274
_ZNK6driver18do_spec_on_infilesEv 277274
_ZNK6driver18putenv_COLLECT_GCCEPKc 294044
_ZNK6driver20maybe_print_and_exitEv 294039
_ZNK6driver22build_multilib_stringsEv 294331
_ZNK6driver28maybe_putenv_OFFLOAD_TARGETSEv 294044
_ZNK6driver32maybe_putenv_COLLECT_LTO_WRAPPEREv 294044

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.