summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2018-06-06 22:22:13 +0000
committerTeresa Johnson <tejohnson@google.com>2018-06-06 22:22:13 +0000
commit566b402a131c7a045bb5d4cef8e3131440d5aae2 (patch)
tree10b2273128afbd598442c87586257638248c5a67
parent4ffc3e7834fa516247d32fe6478a28bb1d303f3a (diff)
downloadbcm5719-llvm-566b402a131c7a045bb5d4cef8e3131440d5aae2.tar.gz
bcm5719-llvm-566b402a131c7a045bb5d4cef8e3131440d5aae2.zip
[ThinLTO/lld] Document constant bool ModuleSummaryIndex parameter (NFC)
Makes this consistent with other ModuleSummaryIndex constructor calls. llvm-svn: 334141
-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