Attempt to fix valgrind complaining about (benign) leaks in pass registration by...
authorOwen Anderson <resistor@mac.com>
Wed, 20 Oct 2010 22:22:30 +0000 (22:22 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 20 Oct 2010 22:22:30 +0000 (22:22 +0000)
commit75f6df283f726c289b240fe8c5f2f42cdfff5d5f
treedb80bdfeaf16f8f7510d3d24f9603e33f1bb0e7f
parentba13864483b696e7f8e2058c3a50b5d901f2213b
Attempt to fix valgrind complaining about (benign) leaks in pass registration by having PassRegistry
delete PassInfo objects that were created using new-style initialization.

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