aboutsummaryrefslogtreecommitdiff
path: root/lld/COFF/MinGW.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/COFF/MinGW.cpp')
-rw-r--r--lld/COFF/MinGW.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/MinGW.cpp b/lld/COFF/MinGW.cpp
index 5bb7467afe5e..7c1891e67d45 100644
--- a/lld/COFF/MinGW.cpp
+++ b/lld/COFF/MinGW.cpp
@@ -123,7 +123,7 @@ void AutoExporter::addWholeArchive(StringRef path) {
}
bool AutoExporter::shouldExport(Defined *sym) const {
- if (!sym || !sym->isLive() || !sym->getChunk())
+ if (!sym || !sym->getChunk())
return false;
// Only allow the symbol kinds that make sense to export; in particular,