[lld] r317505 - [MinGW] Don't autoexport anything from libmsvcrt or libucrtbase
Martin Storsjo via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 6 12:33:14 PST 2017
Author: mstorsjo
Date: Mon Nov 6 12:33:13 2017
New Revision: 317505
URL: http://llvm.org/viewvc/llvm-project?rev=317505&view=rev
Log:
[MinGW] Don't autoexport anything from libmsvcrt or libucrtbase
These libraries contain a number of object files with compat wrappers,
in addition to the normal import library entries.
Differential Revision: https://reviews.llvm.org/D39684
Modified:
lld/trunk/COFF/MinGW.cpp
Modified: lld/trunk/COFF/MinGW.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/COFF/MinGW.cpp?rev=317505&r1=317504&r2=317505&view=diff
==============================================================================
--- lld/trunk/COFF/MinGW.cpp (original)
+++ lld/trunk/COFF/MinGW.cpp Mon Nov 6 12:33:13 2017
@@ -69,6 +69,8 @@ AutoExporter::AutoExporter() {
"libc++",
"libc++abi",
"libunwind",
+ "libmsvcrt",
+ "libucrtbase",
};
ExcludeObjects = {
"crt0.o",
More information about the llvm-commits
mailing list