diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-22 13:00:36 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2014-12-22 13:00:36 +0000 |
| commit | 366e5c1bf14934c846b643a0068f3d33b906ff1b (patch) | |
| tree | 3a4a177b0f455e65b79974698a1f8abda7ec204a /llvm/lib/IR/Value.cpp | |
| parent | c1a04162ba272cc8b9b887383e278b819c555cb6 (diff) | |
| download | bcm5719-llvm-366e5c1bf14934c846b643a0068f3d33b906ff1b.tar.gz bcm5719-llvm-366e5c1bf14934c846b643a0068f3d33b906ff1b.zip | |
The leak detector is dead, long live asan and valgrind.
In resent times asan and valgrind have found way more memory management bugs
in llvm than the special purpose leak detector.
llvm-svn: 224703
Diffstat (limited to 'llvm/lib/IR/Value.cpp')
| -rw-r--r-- | llvm/lib/IR/Value.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/lib/IR/Value.cpp b/llvm/lib/IR/Value.cpp index d790f9e1089..a9e6a72f0ac 100644 --- a/llvm/lib/IR/Value.cpp +++ b/llvm/lib/IR/Value.cpp @@ -23,7 +23,6 @@ #include "llvm/IR/GetElementPtrTypeIterator.h" #include "llvm/IR/InstrTypes.h" #include "llvm/IR/Instructions.h" -#include "llvm/IR/LeakDetector.h" #include "llvm/IR/Module.h" #include "llvm/IR/Operator.h" #include "llvm/IR/ValueHandle.h" @@ -84,9 +83,6 @@ Value::~Value() { // If this value is named, destroy the name. This should not be in a symtab // at this point. destroyValueName(); - - // There should be no uses of this object anymore, remove it. - LeakDetector::removeGarbageObject(this); } void Value::destroyValueName() { |

