[llvm] r292711 - Add missing dependency to "Module Summary Analysis" pass

Mehdi Amini via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 20 22:13:18 PST 2017


Nominate for cherry-pick in clang-4.0.

CC Teresa for review.

— 
Mehdi



> On Jan 20, 2017, at 10:01 PM, Mehdi Amini via llvm-commits <llvm-commits at lists.llvm.org> wrote:
> 
> Author: mehdi_amini
> Date: Sat Jan 21 00:01:22 2017
> New Revision: 292711
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=292711&view=rev
> Log:
> Add missing dependency to "Module Summary Analysis" pass
> 
> This is fixing a clang crash when running `clang -flto=thin -save-temps`
> 
> Modified:
>    llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp
> 
> Modified: llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp?rev=292711&r1=292710&r2=292711&view=diff
> ==============================================================================
> --- llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp (original)
> +++ llvm/trunk/lib/Analysis/ModuleSummaryAnalysis.cpp Sat Jan 21 00:01:22 2017
> @@ -405,6 +405,7 @@ char ModuleSummaryIndexWrapperPass::ID =
> 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)
> 
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list