[PATCH] D152362: [llvm-lib] Pass the right value of MingwDef to parseCOFFModuleDefinition

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 13:23:36 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1d96e24dda2e: [llvm-lib] Pass the right value of MingwDef to parseCOFFModuleDefinition (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152362/new/

https://reviews.llvm.org/D152362

Files:
  llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp


Index: llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
===================================================================
--- llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
+++ llvm/lib/ToolDrivers/llvm-lib/LibDriver.cpp
@@ -384,7 +384,7 @@
     }
 
     Expected<COFFModuleDefinition> Def =
-        parseCOFFModuleDefinition(*MB, LibMachine, true);
+        parseCOFFModuleDefinition(*MB, LibMachine, /*MingwDef=*/false);
 
     if (!Def) {
       llvm::errs() << "error parsing definition\n"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152362.529707.patch
Type: text/x-patch
Size: 489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230608/29a9de69/attachment-0001.bin>


More information about the llvm-commits mailing list