summaryrefslogtreecommitdiffstats
path: root/llvm/lib/System/DynamicLibrary.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2010-11-09 00:27:03 +0000
committerOwen Anderson <resistor@mac.com>2010-11-09 00:27:03 +0000
commit9b14a25126f239f9b80dccb7f97958c2e96d4769 (patch)
tree5bd3bf10655846f9d190cc00f13b72a8222e679f /llvm/lib/System/DynamicLibrary.cpp
parent31f29e98bfaa1a9fb75d73f9efbf7b1ac45c6a1b (diff)
downloadbcm5719-llvm-9b14a25126f239f9b80dccb7f97958c2e96d4769.tar.gz
bcm5719-llvm-9b14a25126f239f9b80dccb7f97958c2e96d4769.zip
Fix PR8441, a race condition in the static attributes list. While the reference counting was itself threadsafe,
the implicit removal of each object from the global list was not. Make this operation atomic. llvm-svn: 118461
Diffstat (limited to 'llvm/lib/System/DynamicLibrary.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud