[PATCH] D39684: [LLD] [MinGW] Don't autoexport anything from libmsvcrt or libucrtbase

Martin Storsjö via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 06:57:12 PST 2017


mstorsjo created this revision.

These libraries contain a number of object files with compat wrappers, in addition to the normal import library entries.


https://reviews.llvm.org/D39684

Files:
  COFF/MinGW.cpp


Index: COFF/MinGW.cpp
===================================================================
--- COFF/MinGW.cpp
+++ COFF/MinGW.cpp
@@ -69,6 +69,8 @@
       "libc++",
       "libc++abi",
       "libunwind",
+      "libmsvcrt",
+      "libucrtbase",
   };
   ExcludeObjects = {
       "crt0.o",


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39684.121729.patch
Type: text/x-patch
Size: 290 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171106/7e2e7979/attachment.bin>


More information about the llvm-commits mailing list