https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=7450eb6d295db3f060a6dbc950634ce0d194219d
commit 7450eb6d295db3f060a6dbc950634ce0d194219d
Author: Paul Floyd <pj...@wa...>
Date: Mon Oct 28 22:10:30 2024 +0100
macOS Helgrind: fix wrong wrapper for sem_trywait.
Diff:
---
helgrind/hg_intercepts.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/helgrind/hg_intercepts.c b/helgrind/hg_intercepts.c
index 0068ea7a6f..0c27b0a662 100644
--- a/helgrind/hg_intercepts.c
+++ b/helgrind/hg_intercepts.c
@@ -3241,7 +3241,7 @@ PTH_FUNC(int, semZutrywaitZAZa, sem_t* sem) { /* sem_trywait@* */
}
#elif defined(VGO_darwin)
PTH_FUNC(int, semZutrywait, sem_t* sem) { /* sem_trywait */
- return sem_wait_WRK(sem);
+ return sem_trywait_WRK(sem);
}
#elif defined(VGO_freebsd)
LIBC_FUNC(int, semZutrywait, sem_t* sem) { /* sem_trywait */
|