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: unassignedb...@nondot.org
          Reporter: compn...@compnerd.org
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to