https://llvm.org/bugs/show_bug.cgi?id=28837
Bug ID: 28837 Summary: [ThinLTO] Comdat declaration rejected by Verifier during ThinLTO link Product: libraries Version: trunk Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: Common Code Generator Code Assignee: unassignedb...@nondot.org Reporter: wolfgang_p...@playstation.sony.com CC: llvm-bugs@lists.llvm.org Classification: Unclassified Created attachment 16875 --> https://llvm.org/bugs/attachment.cgi?id=16875&action=edit Reproducible The attached test case has comdat definitions of the same inline function in 2 different modules. The Verifier then reports the following error when using ThinLTO: llvm-lto -thinlto-action=run defn.o usea.o useb.o Declaration may not be in a Comdat! void ()* @_Z4failv LLVM ERROR: Broken function found, compilation aborted! -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs