[Bug lto/126841] [LTO] -ffunction-sections can emit multiple distinct functions into one native section
"rguenth at gcc dot gnu.org via Gcc-bugs" <[email protected]>
| Newsgroups | gmane.comp.gcc.bugs |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
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.