https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118508

--- Comment #1 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by hongtao Liu <liuho...@gcc.gnu.org>:

https://gcc.gnu.org/g:ae987baeb5fb70877fd007db80b77e374f676c76

commit r16-435-gae987baeb5fb70877fd007db80b77e374f676c76
Author: hongtao.liu <hongtao....@intel.com>
Date:   Tue Jan 14 01:13:22 2025 +0100

    Fix name mismatch for fortran.

    Function name in afdo_string_table is step3d_t_tile.
    but DECL_ASSEMBLER_NAME (edge->callee->decl))) gets
    __step3d_t_mod_MOD_step3d_t_tile, Looks like the prefix is not in the
    debug string table.
    The patch uses
    afdo_string_table->get_index_by_decl (edge->callee->decl) instead.

    gcc/ChangeLog:

            PR gcov-profile/118508
            * auto-profile.cc
            (autofdo_source_profile::get_callsite_total_count): Fix name
            mismatch for fortran.

Reply via email to