Basic PassManager diagnostics.
authorAndrew Trick <atrick@apple.com>
Fri, 3 Jun 2011 00:48:58 +0000 (00:48 +0000)
committerAndrew Trick <atrick@apple.com>
Fri, 3 Jun 2011 00:48:58 +0000 (00:48 +0000)
commitc5d93bb5c847006fa2a4319de605e1fe5c00839e
treed8e03266e1394025c051f399daff05a908284e8c
parent7ae0fbc2d072f87217d5302fcf0d91d2f3aa981f
Basic PassManager diagnostics.

Added asserts whenever attempting to use a potentially
uninitialized pass. This helps people trying to develop a new pass and
people trying to understand the bug reports filed by the former people.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132520 91177308-0d34-0410-b5e6-96231b3b80d8
lib/VMCore/PassManager.cpp