[lld] r334141 - [ThinLTO/lld] Document constant bool ModuleSummaryIndex parameter (NFC)
Teresa Johnson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 6 15:22:13 PDT 2018
Author: tejohnson
Date: Wed Jun 6 15:22:13 2018
New Revision: 334141
URL: http://llvm.org/viewvc/llvm-project?rev=334141&view=rev
Log:
[ThinLTO/lld] Document constant bool ModuleSummaryIndex parameter (NFC)
Makes this consistent with other ModuleSummaryIndex constructor calls.
Modified:
lld/trunk/ELF/LTO.cpp
Modified: lld/trunk/ELF/LTO.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/LTO.cpp?rev=334141&r1=334140&r2=334141&view=diff
==============================================================================
--- lld/trunk/ELF/LTO.cpp (original)
+++ lld/trunk/ELF/LTO.cpp Wed Jun 6 15:22:13 2018
@@ -208,7 +208,7 @@ static void createEmptyIndex(StringRef M
if (!OS)
return;
- ModuleSummaryIndex M(false);
+ ModuleSummaryIndex M(/*HaveGVs*/ false);
M.setSkipModuleByDistributedBackend();
WriteIndexToFile(M, *OS);
More information about the llvm-commits
mailing list