https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126841
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |documentation
--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
I think this is to be expected in the end, we'd have to change
-ffunction-sections to create different section names with LTO and document
that,
say, .text.filename.function-name or so, or .text.function_name.<number>
when there are multiple functions with the same name.