commit | ffb731245827584c7956106cb6b966b4285dd1e6 | [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 | adc6e06ff0c5950abda86574c2da1fc6b863b75c [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