Add missing dependency to "Module Summary Analysis" pass

This is fixing a clang crash when running `clang -flto=thin -save-temps`

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292711 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Mehdi Amini
2017-01-21 06:01:22 +00:00
parent 01b9f81cd4
commit 0e3e2abd4f
+1
View File
@@ -405,6 +405,7 @@ char ModuleSummaryIndexWrapperPass::ID = 0;
INITIALIZE_PASS_BEGIN(ModuleSummaryIndexWrapperPass, "module-summary-analysis",
"Module Summary Analysis", false, true)
INITIALIZE_PASS_DEPENDENCY(BlockFrequencyInfoWrapperPass)
INITIALIZE_PASS_DEPENDENCY(ProfileSummaryInfoWrapperPass)
INITIALIZE_PASS_END(ModuleSummaryIndexWrapperPass, "module-summary-analysis",
"Module Summary Analysis", false, true)