summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GCStrategy.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-09-15 23:03:33 +0000
committerOwen Anderson <resistor@mac.com>2010-09-15 23:03:33 +0000
commitd4754971b497fb26367a671f915d007707dd52fc (patch)
tree3e6c007946e93664b6040c1b1825f69d913a9eac /llvm/lib/CodeGen/GCStrategy.cpp
parentf7f627104b471a4daa5b61b6bbf85240c0c61421 (diff)
downloadbcm5719-llvm-d4754971b497fb26367a671f915d007707dd52fc.tar.gz
bcm5719-llvm-d4754971b497fb26367a671f915d007707dd52fc.zip
Since PassRegistry is currently a shared global object, it needs locking. While it might intuitively seem
that all the setup of this class currently happens at static initialization time, this misses the fact that some later events can cause mutation of the PassRegistrationListeners list, and thus cause race issues. llvm-svn: 114036
Diffstat (limited to 'llvm/lib/CodeGen/GCStrategy.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud