commit | 381f17ee7c07b5a80d7dcdeae3d62e497902ef85 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Sep 07 20:48:10 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Sep 07 20:48:10 2010 +0000 |
tree | 004dfc9ead5654ca88b54ae2fea40a98446dc3f3 | |
parent | a830f2c4ea8ce1d1bea6823e8b8585eafa7caf33 [diff] |
Fix PR7972, in which the PassRegistry was being leaked. As part of this, switch to using a ManagedStatic for the global PassRegistry instead of a ManagedCleanup, and fix a destruction ordering bug this exposed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113283 91177308-0d34-0410-b5e6-96231b3b80d8