[llvm-bugs] [Bug 28566] New: Assertion `isa<X>(Val) && "cast<Ty>() argument of incompatible type!"' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 14 23:19:43 PDT 2016


https://llvm.org/bugs/show_bug.cgi?id=28566

            Bug ID: 28566
           Summary: Assertion `isa<X>(Val) && "cast<Ty>() argument of
                    incompatible type!"' failed
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: COFF
          Assignee: unassignedbugs at nondot.org
          Reporter: compnerd at compnerd.org
                CC: llvm-bugs at lists.llvm.org
    Classification: Unclassified

Created attachment 16747
  --> https://llvm.org/bugs/attachment.cgi?id=16747&action=edit
reduced.zip

Since I dont know how to get a reproduction case generated ...

lld -flavor link reduced.obj swiftMSVCRT.lib -out:reduced.exe -verbose
-subsystem:console -entry:mainCRTStartup

The necessary implib is in the attached tarball along with the reduced object
and source for generating it.

The implib was generated using lib via:

lib /arch:x86 /def:swiftMSVCRT.def /out:swiftMSVCRT.lib

The def file is also in the archive.

-- 
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/20160715/21a1704a/attachment.html>


More information about the llvm-bugs mailing list