[compiler-rt] 657eb94 - [Sanitizers] FutexWake fix typo for FreeBSD code path.
David Carlier via llvm-commits
llvm-commits at lists.llvm.org
Sat Jul 17 23:02:59 PDT 2021
Author: David Carlier
Date: 2021-07-18T07:02:21+01:00
New Revision: 657eb94324b09eb5e45db8158c308acf6e0253e8
URL: https://github.com/llvm/llvm-project/commit/657eb94324b09eb5e45db8158c308acf6e0253e8
DIFF: https://github.com/llvm/llvm-project/commit/657eb94324b09eb5e45db8158c308acf6e0253e8.diff
LOG: [Sanitizers] FutexWake fix typo for FreeBSD code path.
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
index dc503d64a65a..9b7d87eb85e1 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_linux.cpp
@@ -651,7 +651,7 @@ void FutexWait(atomic_uint32_t *p, u32 cmp) {
void FutexWake(atomic_uint32_t *p, u32 count) {
# if SANITIZER_FREEBSD
- _umtx_op(p_, UMTX_OP_WAKE, count, 0, 0);
+ _umtx_op(p, UMTX_OP_WAKE, count, 0, 0);
# elif SANITIZER_NETBSD
/* No userspace futex-like synchronization */
# else
More information about the llvm-commits
mailing list