[PATCH] D89006: [LLD] [COFF] Fix a condition that was missed in 7f0e6c31c255

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 15 08:34:21 PDT 2020


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG9803cf57d6fe: [LLD] [COFF] Fix a condition that was missed in 7f0e6c31c255. NFC. (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D89006

Files:
  lld/COFF/SymbolTable.cpp


Index: lld/COFF/SymbolTable.cpp
===================================================================
--- lld/COFF/SymbolTable.cpp
+++ lld/COFF/SymbolTable.cpp
@@ -402,7 +402,7 @@
     }
     if (name.contains("_PchSym_"))
       continue;
-    if (config->mingw && impSymbol(name))
+    if (config->autoImport && impSymbol(name))
       continue;
     undefs.insert(sym);
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89006.298394.patch
Type: text/x-patch
Size: 376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201015/347f7d45/attachment.bin>


More information about the llvm-commits mailing list