[llvm-bugs] [Bug 51067] [ThinLTO] linkonce_odr function is incorrectly not discarded from global_ctors
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 23 16:49:08 PDT 2021
https://bugs.llvm.org/show_bug.cgi?id=51067
Fangrui Song <i at maskray.me> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |INVALID
--- Comment #11 from Fangrui Song <i at maskray.me> ---
LangRef has been clarified by https://reviews.llvm.org/D106300
Due to https://sourceware.org/bugzilla/show_bug.cgi?id=28124#c1 , unfortunately
we cannot use SHF_LINK_ORDER to represent the semantics of the third field of
llvm.global_ctors
Therefore, on ELF we are stuck with section groups. We therefore have the
limitation:
On ELF the referenced global variable or function must be in a comdat.
So the original report is unsupported.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210723/65508fba/attachment.html>
More information about the llvm-bugs
mailing list