mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-19 18:24:00 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224703 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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() {
|
||||
|
Reference in New Issue
Block a user