summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2018-01-22 13:35:40 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2018-01-22 13:35:40 +0000
commit28d8a49f4276467e41ceec525b1cb2648f0ae653 (patch)
tree0aee42e3d302c4ac717d652111126bb1fe234a93 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent596fcb1b0f609ed285e27fffc273d6b4e6a56890 (diff)
downloadbcm5719-llvm-28d8a49f4276467e41ceec525b1cb2648f0ae653.tar.gz
bcm5719-llvm-28d8a49f4276467e41ceec525b1cb2648f0ae653.zip
[ThinLTO] Re-commit of dot dumper after test fix
llvm-svn: 323116
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
-rw-r--r--llvm/lib/Analysis/ModuleSummaryAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
index efa5bd564ad..cf2fe7776dd 100644
--- a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
+++ b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
@@ -372,7 +372,7 @@ ModuleSummaryIndex llvm::buildModuleSummaryIndex(
std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
ProfileSummaryInfo *PSI) {
assert(PSI);
- ModuleSummaryIndex Index;
+ ModuleSummaryIndex Index(/*IsPerformingAnalysis=*/true);
// Identify the local values in the llvm.used and llvm.compiler.used sets,
// which should not be exported as they would then require renaming and
OpenPOWER on IntegriCloud