[ThinLTO] Re-commit of dot dumper after test fix

llvm-svn: 323116
This commit is contained in:
Eugene Leviant
2018-01-22 13:35:40 +00:00
parent 596fcb1b0f
commit 28d8a49f42
14 changed files with 436 additions and 31 deletions

View File

@@ -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