summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/LTO.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LTO.cpp b/lld/ELF/LTO.cpp
index ee55e7ce563..168bfc9c68b 100644
--- a/lld/ELF/LTO.cpp
+++ b/lld/ELF/LTO.cpp
@@ -208,7 +208,7 @@ static void createEmptyIndex(StringRef ModulePath) {
if (!OS)
return;
- ModuleSummaryIndex M(false);
+ ModuleSummaryIndex M(/*HaveGVs*/ false);
M.setSkipModuleByDistributedBackend();
WriteIndexToFile(M, *OS);
OpenPOWER on IntegriCloud