Fix a (legacy) PassManager crash that occurs when a ModulePass
authorAndrew Trick <atrick@apple.com>
Tue, 8 Apr 2014 03:40:34 +0000 (03:40 +0000)
committerAndrew Trick <atrick@apple.com>
Tue, 8 Apr 2014 03:40:34 +0000 (03:40 +0000)
commit02066f2a4d277b62943177762a29d34d0f5072dc
tree45405ea772cba9a2653f4c3d59a8af97cd9c679f
parentc9d26255868969e6a962abbfbc0180dd75b47eb8
Fix a (legacy) PassManager crash that occurs when a ModulePass
indirectly requires a function analysis.

This bug was reported by Jason Kim. He included a test case here:
http://reviews.llvm.org/D3312

llvm-svn: 205753
llvm/lib/IR/LegacyPassManager.cpp