================
@@ -27,7 +27,7 @@ PreservedAnalyses EmbedBitcodePass::run(Module &M, 
ModuleAnalysisManager &AM) {
     reportFatalUsageError("Can only embed the module once");
 
   Triple T(M.getTargetTriple());
-  if (T.getObjectFormat() != Triple::ELF)
+  if (T.getObjectFormat() != Triple::ELF && T.getObjectFormat() != 
Triple::COFF)
     reportFatalUsageError(
         "EmbedBitcode pass currently only supports ELF object format");
----------------
tru wrote:

This string needs to be updated.

https://github.com/llvm/llvm-project/pull/165529
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to