projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fd29ce
)
Add missing dependency to "Module Summary Analysis" pass
author
Mehdi Amini
<mehdi.amini@apple.com>
Sat, 21 Jan 2017 06:01:22 +0000
(06:01 +0000)
committer
Mehdi Amini
<mehdi.amini@apple.com>
Sat, 21 Jan 2017 06:01:22 +0000
(06:01 +0000)
This is fixing a clang crash when running `clang -flto=thin -save-temps`
llvm-svn: 292711
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
b/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
index
6387bb3
..
f5ba637
100644
(file)
--- a/
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
+++ b/
llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
@@
-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)