commit | fed9b04d08fd4dc9f29719e53c7494cbf7aa08a4 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Tue Apr 06 04:20:48 2010 +0000 |
committer | Owen Anderson <resistor@mac.com> | Tue Apr 06 04:20:48 2010 +0000 |
tree | 2d2b1df0f634fdb9e4f42743319709dc0487be17 | |
parent | 067cc28c13fcfb7a4745cdb4a56ba574255d07ee [diff] |
Use a ManagedCleanup to prevent leaking the PassRegistrar map. In breaks the use case where someone wants to resurrect LLVM after calling llvm_shutdown, but I'm not aware of any clients that are affected by this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100519 91177308-0d34-0410-b5e6-96231b3b80d8