Start moving pass registration over to using the ManagedStatic mechanism.
authorChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 23:27:45 +0000 (23:27 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 1 Dec 2006 23:27:45 +0000 (23:27 +0000)
commitbaf2ecda5fc2b94b0f40bd8780ebaf71410ca2e5
tree6802d59ede42ab0ab11d39f9800c85b76f752556
parent05551224128c038aef13fc5b37de62e0fa581888
Start moving pass registration over to using the ManagedStatic mechanism.
This fixes issues where passes get unregistered before llvm_shutdown is
called, and is generally cleaner and simpler.  Analysis groups up next.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32108 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/PassSupport.h
include/llvm/Support/PassNameParser.h
lib/VMCore/Pass.cpp