Modularize implementation of LeakDetector into a typed template
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Sat, 14 Feb 2004 23:33:39 +0000 (23:33 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Sat, 14 Feb 2004 23:33:39 +0000 (23:33 +0000)
commitb663d76f866d03756dd563d246d9bdaabca4ca33
tree3969c3911da441585bbfbc2bc0255a4ccc7e2f81
parent3193556387c924f6945da0e5479bc8aca6f3b211
Modularize implementation of LeakDetector into a typed template
implementation class. This makes the code simpler and allows for more
types to be added easily. It also implements caching for generic
objects (it was only available for llvm objects).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11452 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/LeakDetector.cpp
lib/VMCore/LeakDetector.cpp