[llvm-bugs] [Bug 28837] New: [ThinLTO] Comdat declaration rejected by Verifier during ThinLTO link

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 3 18:46:41 PDT 2016


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: unassignedbugs at nondot.org
          Reporter: Wolfgang_Pieb at playstation.sony.com
                CC: llvm-bugs at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160804/986bfa2d/attachment.html>


More information about the llvm-bugs mailing list