summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-04-08 23:20:09 +0000
committerEric Fiselier <eric@efcs.ca>2019-04-08 23:20:09 +0000
commitbeefef6b4e3e49dfaf2a8309b1f70489a246473f (patch)
tree004a11305abc06ced752ef197c3c9e11dac70cb8
parent1724a179e7ae2d0485f0fc8fee7ac3a18cc29152 (diff)
downloadbcm5719-llvm-beefef6b4e3e49dfaf2a8309b1f70489a246473f.tar.gz
bcm5719-llvm-beefef6b4e3e49dfaf2a8309b1f70489a246473f.zip
Fix incorrect change during refactoring.
cxa_guard_abort should still broadcast on exit. llvm-svn: 357956
-rw-r--r--libcxxabi/src/cxa_guard.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/src/cxa_guard.cpp b/libcxxabi/src/cxa_guard.cpp
index 2dc4afb18c9..7c85d8ae294 100644
--- a/libcxxabi/src/cxa_guard.cpp
+++ b/libcxxabi/src/cxa_guard.cpp
@@ -215,7 +215,7 @@ _LIBCXXABI_FUNC_VIS void __cxa_guard_release(guard_type *raw_guard_object) {
}
_LIBCXXABI_FUNC_VIS void __cxa_guard_abort(guard_type *raw_guard_object) {
- GlobalMutexGuard gmutex("__cxa_guard_abort", OnRelease::UNLOCK);
+ GlobalMutexGuard gmutex("__cxa_guard_abort", OnRelease::UNLOCK_AND_BROADCAST);
GuardObject guard(raw_guard_object);
guard.store(GuardValue::ZERO());
}
OpenPOWER on IntegriCloud