Try again at implementing thread-safe lazy pass initialization, without depending...
authorOwen Anderson <resistor@mac.com>
Thu, 14 Oct 2010 17:59:03 +0000 (17:59 +0000)
committerOwen Anderson <resistor@mac.com>
Thu, 14 Oct 2010 17:59:03 +0000 (17:59 +0000)
commitc934a67ef66c6ab25f05271ff7227ed75e7c8320
tree035423608614c021341bc72f4980e5644c3a4ecb
parent20a70c8472c5509a4f51654826bec8a0b5a817c4
Try again at implementing thread-safe lazy pass initialization, without depending on static local initialization
being threadsafe AND ensuring that initialization is complete by the time the initializeFooPass method returns.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116492 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/PassSupport.h