[V2 PATCH] Fix name mismatch for fortran.

2025-05-07 Thread liuhongt
From: "hongtao.liu" > The check you added seems correct to me. Do we need to keep the > afdo_string_table->get_index (IDENTIFIER_POINTER ( >             DECL_ASSEMBLER_NAME (edge->callee->decl))) != s->name () > check? Should your check replace it rather than be an additional check? I verified t

RE: [EXTERNAL] [PATCH] Fix name mismatch for fortran.

2025-04-28 Thread Eugene Rozenfeld
ge- From: liuhongt Sent: Sunday, April 27, 2025 8:18 PM To: gcc-patches@gcc.gnu.org Cc: Eugene Rozenfeld ; hongtao.liu Subject: [EXTERNAL] [PATCH] Fix name mismatch for fortran. From: "hongtao.liu" Function name in afdo_string_table is step3d_t_tile. but DECL_ASSEMBLER_NAME (edge

[PATCH] Fix name mismatch for fortran.

2025-04-27 Thread liuhongt
From: "hongtao.liu" 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, so let's also check directly for afdo_string_table->get_index_by_decl (edge->calle