search for: comdat_sect

Displaying 1 result from an estimated 1 matches for "comdat_sect".

2017 Dec 20
2
Dropping COMDAT with LTO
...inker will resolve all COMDAT groups to the IR-provided definitions, if available. Additionally it specifies that "When the WPA phase produces the definition of the COMDAT symbol in a new object file, that definition should not be in a COMDAT group." (https://gcc.gnu.org/wiki/whopr/driver#COMDAT_Sections) The gold LTO plugin does not currently remove COMDAT groups from symbols emitted to the new object file. This doesn't actually seem to matter, as the linker ignores the COMDAT groups. However, it might be nice to strip the COMDAT group early in module linking since we know we won't ne...