Bug ID: 41803
           Summary: Assertion failed: T && T->hasMCAsmParser() in lld-link
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: COFF

When using lld-link to build static libraries containing object files with
module assembly, the program would crash with "Assertion `T &&
T->hasMCAsmParser()' failed".

This is because, at that point, no targets have been registered, and const
Target *T = TargetRegistry::lookupTarget(TT.str(), Err); in ModuleSymbolTable
fails to find a Target for the supplied Triple.

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to