OSDN Git Service

Privatize part of the leak detector mechanism, which turned out to be heavily contended
authorOwen Anderson <resistor@mac.com>
Wed, 19 Aug 2009 00:37:02 +0000 (00:37 +0000)
committerOwen Anderson <resistor@mac.com>
Wed, 19 Aug 2009 00:37:02 +0000 (00:37 +0000)
commitba43a385a817d7f59e528a744dc40e44317ec739
tree24c44eff556d950b06fac6a988cea428bc1a3a47
parentecc67e2e1b2c13c99427510fff71d598086eb309
Privatize part of the leak detector mechanism, which turned out to be heavily contended
when trying to run opt in parallel.  This lets parallel opt crunch 403.gcc in about a third
of the time.

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