projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1724a17
)
Fix incorrect change during refactoring.
author
Eric Fiselier
<eric@efcs.ca>
Mon, 8 Apr 2019 23:20:09 +0000
(23:20 +0000)
committer
Eric Fiselier
<eric@efcs.ca>
Mon, 8 Apr 2019 23:20:09 +0000
(23:20 +0000)
cxa_guard_abort should still broadcast on exit.
llvm-svn: 357956
libcxxabi/src/cxa_guard.cpp
patch
|
blob
|
history
diff --git
a/libcxxabi/src/cxa_guard.cpp
b/libcxxabi/src/cxa_guard.cpp
index
2dc4afb
..
7c85d8a
100644
(file)
--- 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());
}