projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix PR7972, in which the PassRegistry was being leaked. As part of this,
[oota-llvm.git]
/
include
/
llvm
/
PassRegistry.h
diff --git
a/include/llvm/PassRegistry.h
b/include/llvm/PassRegistry.h
index 809dba0bc0dc79be5c2b84d2055e2d1d3e0d6b59..fa269a9c5a1dd4041972835f302ad1805ada9495 100644
(file)
--- a/
include/llvm/PassRegistry.h
+++ b/
include/llvm/PassRegistry.h
@@
-37,6
+37,7
@@
class PassRegistry {
public:
PassRegistry() : pImpl(0) { }
+ ~PassRegistry();
/// getPassRegistry - Access the global registry object, which is
/// automatically initialized at application launch and destroyed by