Re: [PATCH v2 12/16] Refactor FMV name mangling.

2025-02-18 Thread Richard Sandiford
Alfie Richards writes: > diff --git a/gcc/attribs.cc b/gcc/attribs.cc > index b00d9529a8d..d0f37d77098 100644 > --- a/gcc/attribs.cc > +++ b/gcc/attribs.cc > [...] > @@ -1287,6 +1282,33 @@ make_dispatcher_decl (const tree decl) >DECL_EXTERNAL (func_decl) = 1; >/* This will be of type IFUNC

[PATCH v2 12/16] Refactor FMV name mangling.

2025-02-17 Thread Alfie Richards
This patch is an overhaul of how FMV name mangling works. Previously mangling logic was duplicated in several places across both target specific and independent code. This patch changes this such that all mangling is done in targetm.mangle_decl_assembler_name (including for the dispatched symbol a