summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms
diff options
context:
space:
mode:
authorZachary Turner <zturner@google.com>2014-06-11 23:03:31 +0000
committerZachary Turner <zturner@google.com>2014-06-11 23:03:31 +0000
commita997d928fcc80b7f9ce894256e9377f205f00795 (patch)
tree9a929fa4a2142480f45d6dfa53492e13c710492b /llvm/test/Transforms
parentda70bfd82650d80ee43e9c6ff5f202da959ef09b (diff)
downloadbcm5719-llvm-a997d928fcc80b7f9ce894256e9377f205f00795.tar.gz
bcm5719-llvm-a997d928fcc80b7f9ce894256e9377f205f00795.zip
Don't acquire the mutex during the destructor of PassRegistry.
This destructor is run as part of static program termination, and so all ManagedStatics (including this lock) will have been destroyed by llvm_shutdown. Furthermore, if there is actually a race condition during static program termination, then we are just hiding a bug somewhere else, because other threads should not be running at this point. llvm-svn: 210717
Diffstat (limited to 'llvm/test/Transforms')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud