You can subscribe to this list here.
| 2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
(122) |
Nov
(152) |
Dec
(69) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2003 |
Jan
(6) |
Feb
(25) |
Mar
(73) |
Apr
(82) |
May
(24) |
Jun
(25) |
Jul
(10) |
Aug
(11) |
Sep
(10) |
Oct
(54) |
Nov
(203) |
Dec
(182) |
| 2004 |
Jan
(307) |
Feb
(305) |
Mar
(430) |
Apr
(312) |
May
(187) |
Jun
(342) |
Jul
(487) |
Aug
(637) |
Sep
(336) |
Oct
(373) |
Nov
(441) |
Dec
(210) |
| 2005 |
Jan
(385) |
Feb
(480) |
Mar
(636) |
Apr
(544) |
May
(679) |
Jun
(625) |
Jul
(810) |
Aug
(838) |
Sep
(634) |
Oct
(521) |
Nov
(965) |
Dec
(543) |
| 2006 |
Jan
(494) |
Feb
(431) |
Mar
(546) |
Apr
(411) |
May
(406) |
Jun
(322) |
Jul
(256) |
Aug
(401) |
Sep
(345) |
Oct
(542) |
Nov
(308) |
Dec
(481) |
| 2007 |
Jan
(427) |
Feb
(326) |
Mar
(367) |
Apr
(255) |
May
(244) |
Jun
(204) |
Jul
(223) |
Aug
(231) |
Sep
(354) |
Oct
(374) |
Nov
(497) |
Dec
(362) |
| 2008 |
Jan
(322) |
Feb
(482) |
Mar
(658) |
Apr
(422) |
May
(476) |
Jun
(396) |
Jul
(455) |
Aug
(267) |
Sep
(280) |
Oct
(253) |
Nov
(232) |
Dec
(304) |
| 2009 |
Jan
(486) |
Feb
(470) |
Mar
(458) |
Apr
(423) |
May
(696) |
Jun
(461) |
Jul
(551) |
Aug
(575) |
Sep
(134) |
Oct
(110) |
Nov
(157) |
Dec
(102) |
| 2010 |
Jan
(226) |
Feb
(86) |
Mar
(147) |
Apr
(117) |
May
(107) |
Jun
(203) |
Jul
(193) |
Aug
(238) |
Sep
(300) |
Oct
(246) |
Nov
(23) |
Dec
(75) |
| 2011 |
Jan
(133) |
Feb
(195) |
Mar
(315) |
Apr
(200) |
May
(267) |
Jun
(293) |
Jul
(353) |
Aug
(237) |
Sep
(278) |
Oct
(611) |
Nov
(274) |
Dec
(260) |
| 2012 |
Jan
(303) |
Feb
(391) |
Mar
(417) |
Apr
(441) |
May
(488) |
Jun
(655) |
Jul
(590) |
Aug
(610) |
Sep
(526) |
Oct
(478) |
Nov
(359) |
Dec
(372) |
| 2013 |
Jan
(467) |
Feb
(226) |
Mar
(391) |
Apr
(281) |
May
(299) |
Jun
(252) |
Jul
(311) |
Aug
(352) |
Sep
(481) |
Oct
(571) |
Nov
(222) |
Dec
(231) |
| 2014 |
Jan
(185) |
Feb
(329) |
Mar
(245) |
Apr
(238) |
May
(281) |
Jun
(399) |
Jul
(382) |
Aug
(500) |
Sep
(579) |
Oct
(435) |
Nov
(487) |
Dec
(256) |
| 2015 |
Jan
(338) |
Feb
(357) |
Mar
(330) |
Apr
(294) |
May
(191) |
Jun
(108) |
Jul
(142) |
Aug
(261) |
Sep
(190) |
Oct
(54) |
Nov
(83) |
Dec
(22) |
| 2016 |
Jan
(49) |
Feb
(89) |
Mar
(33) |
Apr
(50) |
May
(27) |
Jun
(34) |
Jul
(53) |
Aug
(53) |
Sep
(98) |
Oct
(206) |
Nov
(93) |
Dec
(53) |
| 2017 |
Jan
(65) |
Feb
(82) |
Mar
(102) |
Apr
(86) |
May
(187) |
Jun
(67) |
Jul
(23) |
Aug
(93) |
Sep
(65) |
Oct
(45) |
Nov
(35) |
Dec
(17) |
| 2018 |
Jan
(26) |
Feb
(35) |
Mar
(38) |
Apr
(32) |
May
(8) |
Jun
(43) |
Jul
(27) |
Aug
(30) |
Sep
(43) |
Oct
(42) |
Nov
(38) |
Dec
(67) |
| 2019 |
Jan
(32) |
Feb
(37) |
Mar
(53) |
Apr
(64) |
May
(49) |
Jun
(18) |
Jul
(14) |
Aug
(53) |
Sep
(25) |
Oct
(30) |
Nov
(49) |
Dec
(31) |
| 2020 |
Jan
(87) |
Feb
(45) |
Mar
(37) |
Apr
(51) |
May
(99) |
Jun
(36) |
Jul
(11) |
Aug
(14) |
Sep
(20) |
Oct
(24) |
Nov
(40) |
Dec
(23) |
| 2021 |
Jan
(14) |
Feb
(53) |
Mar
(85) |
Apr
(15) |
May
(19) |
Jun
(3) |
Jul
(14) |
Aug
(1) |
Sep
(57) |
Oct
(73) |
Nov
(56) |
Dec
(22) |
| 2022 |
Jan
(3) |
Feb
(22) |
Mar
(6) |
Apr
(55) |
May
(46) |
Jun
(39) |
Jul
(15) |
Aug
(9) |
Sep
(11) |
Oct
(34) |
Nov
(20) |
Dec
(36) |
| 2023 |
Jan
(79) |
Feb
(41) |
Mar
(99) |
Apr
(169) |
May
(48) |
Jun
(16) |
Jul
(16) |
Aug
(57) |
Sep
(83) |
Oct
(89) |
Nov
(97) |
Dec
(30) |
| 2024 |
Jan
(25) |
Feb
(73) |
Mar
(76) |
Apr
(122) |
May
(46) |
Jun
(44) |
Jul
(27) |
Aug
(30) |
Sep
(33) |
Oct
(67) |
Nov
(91) |
Dec
(70) |
| 2025 |
Jan
(44) |
Feb
(36) |
Mar
(85) |
Apr
(100) |
May
(138) |
Jun
(55) |
Jul
(107) |
Aug
(96) |
Sep
(151) |
Oct
(129) |
Nov
(102) |
Dec
(78) |
|
From: Sertonix <ser...@po...> - 2025-12-15 18:29:48
|
---
coregrind/m_syswrap/syswrap-ppc32-linux.c | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/coregrind/m_syswrap/syswrap-ppc32-linux.c b/coregrind/m_syswrap/syswrap-ppc32-linux.c
index 82b67af..217b4c9 100644
--- a/coregrind/m_syswrap/syswrap-ppc32-linux.c
+++ b/coregrind/m_syswrap/syswrap-ppc32-linux.c
@@ -864,7 +864,7 @@ static SyscallTableEntry syscall_table[] = {
GENX_(__NR_madvise, sys_madvise), // 205
GENXY(__NR_mincore, sys_mincore), // 206
LINX_(__NR_gettid, sys_gettid), // 207
-//.. LINX_(__NR_tkill, sys_tkill), // 208 */Linux
+ LINX_(__NR_tkill, sys_tkill), // 208 */Linux
LINX_(__NR_setxattr, sys_setxattr), // 209
LINX_(__NR_lsetxattr, sys_lsetxattr), // 210
LINX_(__NR_fsetxattr, sys_fsetxattr), // 211
@@ -954,6 +954,8 @@ static SyscallTableEntry syscall_table[] = {
LINXY(__NR_pselect6, sys_pselect6), // 280
LINXY(__NR_ppoll, sys_ppoll), // 281
+ LINX_(__NR_splice, sys_splice), // 283
+
LINXY(__NR_openat, sys_openat), // 286
LINX_(__NR_mkdirat, sys_mkdirat), // 287
LINX_(__NR_mknodat, sys_mknodat), // 288
@@ -992,6 +994,7 @@ static SyscallTableEntry syscall_table[] = {
LINX_(__NR_pwritev, sys_pwritev), // 321
LINXY(__NR_rt_tgsigqueueinfo, sys_rt_tgsigqueueinfo),// 322
+ LINXY(__NR_prlimit64, sys_prlimit64), // 325
LINXY(__NR_socket, sys_socket), // 326
LINX_(__NR_bind, sys_bind), // 327
LINX_(__NR_connect, sys_connect), // 328
@@ -1027,6 +1030,8 @@ static SyscallTableEntry syscall_table[] = {
LINX_ (__NR_execveat, sys_execveat), // 362
LINXY(__NR_userfaultfd, sys_userfaultfd), // 364
+ LINX_(__NR_membarrier, sys_membarrier), // 365
+
GENX_(__NR_mlock2, sys_mlock2), // 378
LINX_(__NR_copy_file_range, sys_copy_file_range), // 379
LINX_(__NR_preadv2, sys_preadv2), // 380
--
2.52.0
|
|
From: Florian K. <fk...@so...> - 2025-12-15 10:25:31
|
https://sourceware.org/cgit/valgrind/commit/?id=e40b4d78b841d61b852d64e4695d15c50ccbf147 commit e40b4d78b841d61b852d64e4695d15c50ccbf147 Author: Florian Krohm <fl...@ei...> Date: Mon Dec 15 10:24:49 2025 +0000 Testcase tweak: clenup after yourself Diff: --- .gitignore | 1 - memcheck/tests/mmaptest.c | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 58b81fa46c..7bdac9edfe 100644 --- a/.gitignore +++ b/.gitignore @@ -898,7 +898,6 @@ /memcheck/tests/demangle-rust /memcheck/tests/describe-block /memcheck/tests/descr_belowsp -/memcheck/tests/dir /memcheck/tests/doublefree /memcheck/tests/duplicate_align_size_errors /memcheck/tests/dw4 diff --git a/memcheck/tests/mmaptest.c b/memcheck/tests/mmaptest.c index fac1f655ca..1840420761 100644 --- a/memcheck/tests/mmaptest.c +++ b/memcheck/tests/mmaptest.c @@ -4,12 +4,13 @@ #include <unistd.h> #include "tests/sys_mman.h" -int main() +int main(void) { int fd; mkdir("dir", 0777); fd = open("dir", O_RDONLY); mmap(NULL, 4711, PROT_READ, MAP_PRIVATE, fd, 0); + rmdir("dir"); return 0; } |
|
From: Paul F. <pa...@so...> - 2025-12-14 19:25:44
|
https://sourceware.org/cgit/valgrind/commit/?id=b13afacd68bf667b50f52bfc5d0a010dc6f71e5a commit b13afacd68bf667b50f52bfc5d0a010dc6f71e5a Author: Paul Floyd <pj...@wa...> Date: Sun Dec 14 20:23:10 2025 +0100 Darwin DRD: redirs for semaphore functions Like 2802b31ae644301ee641dcae20d1f84373615d54 for Helgrind. Use the DRD script supported_sem_init in Helgrind tests that use semaphores, it's clearer than just using tests/os_test Diff: --- drd/drd_pthread_intercepts.c | 23 +++++++++++++++-------- helgrind/hg_intercepts.c | 3 +++ helgrind/tests/tc18_semabuse.vgtest | 1 + helgrind/tests/tc24_nonzero_sem.vgtest | 1 + 4 files changed, 20 insertions(+), 8 deletions(-) diff --git a/drd/drd_pthread_intercepts.c b/drd/drd_pthread_intercepts.c index 0cd7c0be62..6e150ca4e9 100644 --- a/drd/drd_pthread_intercepts.c +++ b/drd/drd_pthread_intercepts.c @@ -202,6 +202,13 @@ ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBPTHREAD_SONAME,zf) argl_decl \ { return implf argl; } #endif +#if defined(VGO_darwin) +#define LIBC_FUNC(ret_ty, zf, implf, argl_decl, argl) \ + ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBSYSTEM_KERNEL_SONAME,zf) argl_decl; \ + ret_ty VG_WRAP_FUNCTION_ZZ(VG_Z_LIBSYSTEM_KERNEL_SONAME,zf) argl_decl \ + { return implf argl; } +#endif + /** * Macro for generating three Valgrind interception functions: one with the * Z-encoded name zf, one with ZAZa ("@*") appended to the name zf and one @@ -1491,7 +1498,7 @@ int sem_init_intercept(sem_t *sem, int pshared, unsigned int value) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZuinit, sem_init_intercept, (sem_t *sem, int pshared, unsigned int value), (sem, pshared, value)); #else @@ -1534,7 +1541,7 @@ int sem_destroy_intercept(sem_t *sem) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZudestroy, sem_destroy_intercept, (sem_t *sem), (sem)); #else PTH_FUNCS(int, semZudestroy, sem_destroy_intercept, (sem_t *sem), (sem)); @@ -1570,7 +1577,7 @@ sem_t* sem_open_intercept(const char *name, int oflag, mode_t mode, return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(sem_t *, semZuopen, sem_open_intercept, (const char *name, int oflag, mode_t mode, unsigned int value), (name, oflag, mode, value)); @@ -1593,7 +1600,7 @@ static __always_inline int sem_close_intercept(sem_t *sem) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZuclose, sem_close_intercept, (sem_t *sem), (sem)); #else PTH_FUNCS(int, semZuclose, sem_close_intercept, (sem_t *sem), (sem)); @@ -1612,7 +1619,7 @@ static __always_inline int sem_wait_intercept(sem_t *sem) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZuwait, sem_wait_intercept, (sem_t *sem), (sem)); #else PTH_FUNCS(int, semZuwait, sem_wait_intercept, (sem_t *sem), (sem)); @@ -1635,7 +1642,7 @@ static __always_inline int sem_trywait_intercept(sem_t *sem) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZutrywait, sem_trywait_intercept, (sem_t *sem), (sem)); #else PTH_FUNCS(int, semZutrywait, sem_trywait_intercept, (sem_t *sem), (sem)); @@ -1658,7 +1665,7 @@ int sem_timedwait_intercept(sem_t *sem, const struct timespec *abs_timeout) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZutimedwait, sem_timedwait_intercept, (sem_t *sem, const struct timespec *abs_timeout), (sem, abs_timeout)); @@ -1711,7 +1718,7 @@ static __always_inline int sem_post_intercept(sem_t *sem) return ret; } -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, semZupost, sem_post_intercept, (sem_t *sem), (sem)); #else PTH_FUNCS(int, semZupost, sem_post_intercept, (sem_t *sem), (sem)); diff --git a/helgrind/hg_intercepts.c b/helgrind/hg_intercepts.c index 09e3bea179..aa48ce02ac 100644 --- a/helgrind/hg_intercepts.c +++ b/helgrind/hg_intercepts.c @@ -3118,6 +3118,7 @@ static int sem_init_WRK(sem_t* sem, int pshared, unsigned long value) return sem_init_WRK(sem, pshared, value); } #elif defined(VGO_darwin) +// exists but fails with ENOSYS function not implemented LIBC_FUNC(int, semZuinit, // sem_init sem_t* sem, int pshared, unsigned long value) { return sem_init_WRK(sem, pshared, value); @@ -3206,6 +3207,7 @@ static int sem_destroy_WRK(sem_t* sem) return sem_destroy_WRK(sem); } #elif defined(VGO_darwin) +// exists but fails with ENOSYS function not implemented LIBC_FUNC(int, semZudestroy, // sem_destroy sem_t* sem) { return sem_destroy_WRK(sem); @@ -3274,6 +3276,7 @@ static int sem_wait_WRK(sem_t* sem) return sem_wait_WRK(sem); } #elif defined(VGO_darwin) +// exists but fails with EBADF bad file number LIBC_FUNC(int, semZuwait, sem_t* sem) { /* sem_wait */ return sem_wait_WRK(sem); } diff --git a/helgrind/tests/tc18_semabuse.vgtest b/helgrind/tests/tc18_semabuse.vgtest index fe4d22ba17..4818d739d4 100644 --- a/helgrind/tests/tc18_semabuse.vgtest +++ b/helgrind/tests/tc18_semabuse.vgtest @@ -1 +1,2 @@ +prereq: ../../drd/tests/supported_sem_init prog: tc18_semabuse diff --git a/helgrind/tests/tc24_nonzero_sem.vgtest b/helgrind/tests/tc24_nonzero_sem.vgtest index 1a43121eb7..87f4b8bfd1 100644 --- a/helgrind/tests/tc24_nonzero_sem.vgtest +++ b/helgrind/tests/tc24_nonzero_sem.vgtest @@ -1,2 +1,3 @@ +prereq: ../../drd/tests/supported_sem_init prog: tc24_nonzero_sem vgopts: --hg-sanity-flags=111111 |
|
From: Florian K. <fk...@so...> - 2025-12-14 18:28:43
|
https://sourceware.org/cgit/valgrind/commit/?id=ab89bdcfbd139ba59d0e194f6c56650e3c3f64b2 commit ab89bdcfbd139ba59d0e194f6c56650e3c3f64b2 Author: Florian Krohm <fl...@ei...> Date: Sun Dec 14 17:26:24 2025 +0000 s390: Fix build failure Followup to 778fe51a69eb099bc6cbfa616986310560a8b828. Diff: --- none/tests/s390x/Makefile.am | 2 ++ 1 file changed, 2 insertions(+) diff --git a/none/tests/s390x/Makefile.am b/none/tests/s390x/Makefile.am index 8a828463a0..1f830d6f36 100644 --- a/none/tests/s390x/Makefile.am +++ b/none/tests/s390x/Makefile.am @@ -30,6 +30,8 @@ endif check_PROGRAMS = $(INSN_TESTS) \ allexec \ + cksm \ + flogr \ op00 noinst_HEADERS = add.h and.h div.h dfp_utils.h insert.h mul.h opcodes.h \ |
|
From: Paul F. <pa...@so...> - 2025-12-14 17:30:14
|
https://sourceware.org/cgit/valgrind/commit/?id=2802b31ae644301ee641dcae20d1f84373615d54 commit 2802b31ae644301ee641dcae20d1f84373615d54 Author: Paul Floyd <pj...@wa...> Date: Sun Dec 14 18:21:19 2025 +0100 Darwin helgrind: redirs for semaphore functions The semaphore functions are not in the pthread library (similar to FreeBSD). Change the redirs to use libsystem_kernel.dylib Unfortunately this doesn't help much. Darwin has deprecated these functions so the tests will compile (with a warning) but at runtime they all fail with errors like ENOSYS and EBADF. Diff: --- helgrind/hg_intercepts.c | 22 ++++++++++++++-------- helgrind/tests/tc17_sembar.c | 4 ++++ helgrind/tests/tc24_nonzero_sem.c | 6 +++++- include/pub_tool_redir.h | 1 + 4 files changed, 24 insertions(+), 9 deletions(-) diff --git a/helgrind/hg_intercepts.c b/helgrind/hg_intercepts.c index 4bef0ab959..09e3bea179 100644 --- a/helgrind/hg_intercepts.c +++ b/helgrind/hg_intercepts.c @@ -119,6 +119,12 @@ #include <osreldate.h> #endif +#if defined(VGO_darwin) +#define LIBC_FUNC(ret_ty, f, args...) \ + ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBSYSTEM_KERNEL_SONAME,f)(args); \ + ret_ty I_WRAP_SONAME_FNNAME_ZZ(VG_Z_LIBSYSTEM_KERNEL_SONAME,f)(args) +#endif + // Do a client request. These are macros rather than a functions so // as to avoid having an extra frame in stack traces. @@ -3112,7 +3118,7 @@ static int sem_init_WRK(sem_t* sem, int pshared, unsigned long value) return sem_init_WRK(sem, pshared, value); } #elif defined(VGO_darwin) - PTH_FUNC(int, semZuinit, // sem_init + LIBC_FUNC(int, semZuinit, // sem_init sem_t* sem, int pshared, unsigned long value) { return sem_init_WRK(sem, pshared, value); } @@ -3200,7 +3206,7 @@ static int sem_destroy_WRK(sem_t* sem) return sem_destroy_WRK(sem); } #elif defined(VGO_darwin) - PTH_FUNC(int, semZudestroy, // sem_destroy + LIBC_FUNC(int, semZudestroy, // sem_destroy sem_t* sem) { return sem_destroy_WRK(sem); } @@ -3268,10 +3274,10 @@ static int sem_wait_WRK(sem_t* sem) return sem_wait_WRK(sem); } #elif defined(VGO_darwin) - PTH_FUNC(int, semZuwait, sem_t* sem) { /* sem_wait */ + LIBC_FUNC(int, semZuwait, sem_t* sem) { /* sem_wait */ return sem_wait_WRK(sem); } - PTH_FUNC(int, semZuwaitZDZa, sem_t* sem) { /* sem_wait$* */ + LIBC_FUNC(int, semZuwaitZDZa, sem_t* sem) { /* sem_wait$* */ return sem_wait_WRK(sem); } #elif defined(VGO_freebsd) @@ -3334,7 +3340,7 @@ PTH_FUNC(int, semZutrywaitZAZa, sem_t* sem) { /* sem_trywait@* */ return sem_trywait_WRK(sem); } #elif defined(VGO_darwin) -PTH_FUNC(int, semZutrywait, sem_t* sem) { /* sem_trywait */ +LIBC_FUNC(int, semZutrywait, sem_t* sem) { /* sem_trywait */ return sem_trywait_WRK(sem); } #elif defined(VGO_freebsd) @@ -3511,7 +3517,7 @@ static int sem_post_WRK(sem_t* sem) return sem_post_WRK(sem); } #elif defined(VGO_darwin) - PTH_FUNC(int, semZupost, sem_t* sem) { /* sem_post */ + LIBC_FUNC(int, semZupost, sem_t* sem) { /* sem_post */ return sem_post_WRK(sem); } #elif defined(VGO_freebsd) @@ -3533,7 +3539,7 @@ static int sem_post_WRK(sem_t* sem) // Solaris: sem_open // FreeBSD: sem_open // -#if defined(VGO_freebsd) +#if defined(VGO_freebsd) || defined(VGO_DARWIN) LIBC_FUNC(sem_t*, semZuopen, const char* name, long oflag, long mode, unsigned long value) @@ -3578,7 +3584,7 @@ PTH_FUNC(sem_t*, semZuopen, // darwin: sem_close // Solaris: sem_close // FreeBSD: sem_close -#if defined (VGO_freebsd) +#if defined (VGO_freebsd) || defined(VGO_darwin) LIBC_FUNC(int, sem_close, sem_t* sem) #else PTH_FUNC(int, sem_close, sem_t* sem) diff --git a/helgrind/tests/tc17_sembar.c b/helgrind/tests/tc17_sembar.c index ee40160b08..9f8d3fa8c0 100644 --- a/helgrind/tests/tc17_sembar.c +++ b/helgrind/tests/tc17_sembar.c @@ -253,7 +253,11 @@ static sem_t* my_sem_init (char* identity, int pshared, unsigned count) static int my_sem_destroy ( sem_t* s ) { +#if defined(VGO_darwin) +return 0; +#else return sem_destroy(s); +#endif } static int my_sem_wait(sem_t* s) diff --git a/helgrind/tests/tc24_nonzero_sem.c b/helgrind/tests/tc24_nonzero_sem.c index 2fe4081913..9b08adee45 100644 --- a/helgrind/tests/tc24_nonzero_sem.c +++ b/helgrind/tests/tc24_nonzero_sem.c @@ -45,7 +45,11 @@ int main ( void ) } r= my_sem_destroy(sem); -#if !defined(VGO_darwin) +#if defined(VGO_darwin) + // This outputs "function not implemented" if uncommented + //if (r != 0) + // perror("sem_destroy"); +#else assert(!r); #endif return 0; diff --git a/include/pub_tool_redir.h b/include/pub_tool_redir.h index f2d7681087..e2cbac44fb 100644 --- a/include/pub_tool_redir.h +++ b/include/pub_tool_redir.h @@ -267,6 +267,7 @@ /* Not tested on systems older than OSX 10.13 */ #define VG_Z_LIBSYSTEM_C_SONAME libsystemZucZddylib #define VG_Z_LIBSYSTEM_PLATFORM_SONAME libsystemZuplatformZddylib +#define VG_Z_LIBSYSTEM_KERNEL_SONAME libsystemZukernelZddylib #else # error "Unknown platform" |
|
From: Paul F. <pa...@so...> - 2025-12-14 12:46:54
|
https://sourceware.org/cgit/valgrind/commit/?id=6878e3f78fe16aa0e758a5eb4483a9c4834e7cb3 commit 6878e3f78fe16aa0e758a5eb4483a9c4834e7cb3 Author: Paul Floyd <pj...@wa...> Date: Sun Dec 14 13:31:18 2025 +0100 Darwin fdleaks: fix handling of recvmsg cmsg In the Darwin headers the macro __DARWIN_ALIGN32 is used for the CMSG macros. We were using just ALIGN which looks like it uses __DARWIN_ALIGN for 8 byte alignment. Using the wrong alignment gate a wrong count of fds and check_cmsg_for_fds was only calling ML_(record_fd_open_named) for one fd. The result was fd errors when writing to a second fd that should have been recorded. Diff: --- include/vki/vki-darwin.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/vki/vki-darwin.h b/include/vki/vki-darwin.h index 056bd9e890..5e381ab4c6 100644 --- a/include/vki/vki-darwin.h +++ b/include/vki/vki-darwin.h @@ -296,7 +296,7 @@ typedef uint32_t vki_u32; #define vki_cmsghdr cmsghdr -#define VKI_CMSG_ALIGN(a) ALIGN(a) +#define VKI_CMSG_ALIGN(a) __DARWIN_ALIGN32(a) #define VKI_CMSG_DATA(cmsg) CMSG_DATA(cmsg) #define VKI_CMSG_FIRSTHDR(mhdr) CMSG_FIRSTHDR(mhdr) #define VKI_CMSG_NXTHDR(mhdr, cmsg) CMSG_NXTHDR(mhdr, cmsg) |
|
From: Paul F. <pa...@so...> - 2025-12-14 09:08:14
|
https://sourceware.org/cgit/valgrind/commit/?id=a28682dc7c6de34428eb680e4d04d887f2d45412 commit a28682dc7c6de34428eb680e4d04d887f2d45412 Author: Paul Floyd <pj...@wa...> Date: Sun Dec 14 10:05:04 2025 +0100 Darwin regtest: update none ioctl_moans This testcase needs IOCTL_REQUEST_BASE to be set to some bogus value with the platform dependent "no direction" flag set. That flag wasn't being set for Darwin and so the testcase was failing. Diff: --- none/tests/ioctl_moans.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/none/tests/ioctl_moans.c b/none/tests/ioctl_moans.c index d350758342..efb7582341 100644 --- a/none/tests/ioctl_moans.c +++ b/none/tests/ioctl_moans.c @@ -13,6 +13,8 @@ #define IOCTL_REQUEST_BASE (0x12345670 | _IOC(_IOC_NONE,0,0,0)) # elif defined(VGO_freebsd) #define IOCTL_REQUEST_BASE (0x12345670 | _IO(0,0)) +# elif defined(VGO_darwin) +#define IOCTL_REQUEST_BASE (0x12345670 | _IOC(IOC_VOID,0,0,0)) # else #define IOCTL_REQUEST_BASE 0x12345670 # endif |
|
From: Florian K. <fk...@so...> - 2025-12-13 22:13:04
|
https://sourceware.org/cgit/valgrind/commit/?id=0282c1cfc9015b69d097ac1cddff4fb264755e66 commit 0282c1cfc9015b69d097ac1cddff4fb264755e66 Author: Florian Krohm <fl...@ei...> Date: Sat Dec 13 22:12:23 2025 +0000 s390: Tweak a few helper functions. Diff: --- VEX/priv/host_s390_defs.c | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/VEX/priv/host_s390_defs.c b/VEX/priv/host_s390_defs.c index 3479bbc91b..fe37e9d1c6 100644 --- a/VEX/priv/host_s390_defs.c +++ b/VEX/priv/host_s390_defs.c @@ -5011,43 +5011,28 @@ s390_emit_RISBG(UChar *p, UChar r1, UChar r2, UChar i3, Char i4, UChar i5) static __inline__ Bool uint_fits_signed_16bit(UInt val) { - UInt v = val & 0xFFFFu; - - /* sign extend */ - v = (Int)(v << 16) >> 16; - - return val == v; + return val <= 0x7FFFu; } static __inline__ Bool ulong_fits_signed_16bit(ULong val) { - ULong v = val & 0xFFFFu; - - /* sign extend */ - v = (Long)(v << 48) >> 48; - - return val == v; + return val <= 0x7FFFu; } static __inline__ Bool ulong_fits_signed_32bit(ULong val) { - ULong v = val & 0xFFFFFFFFu; - - /* sign extend */ - v = (Long)(v << 32) >> 32; - - return val == v; + return val <= 0x7FFFFFFFu; } static __inline__ Bool ulong_fits_unsigned_32bit(ULong val) { - return (val & 0xFFFFFFFFu) == val; + return val <= 0xFFFFFFFFu; } |
|
From: Florian K. <fk...@so...> - 2025-12-13 18:39:29
|
https://sourceware.org/cgit/valgrind/commit/?id=778fe51a69eb099bc6cbfa616986310560a8b828 commit 778fe51a69eb099bc6cbfa616986310560a8b828 Author: Florian Krohm <fl...@ei...> Date: Sat Dec 13 18:37:27 2025 +0000 testsuite: Tidy. Remove empty .stdout.exp files As per tests/vg_regtest: Expected stdout (filtered) is kept in <test>.stdout.exp* (can be more than one expected output). It can be missing if it would be empty. Diff: --- dhat/tests/Makefile.am | 3 +- dhat/tests/user_histo1.stdout.exp | 0 drd/tests/Makefile.am | 3 - drd/tests/pth_detached.stdout.exp | 0 drd/tests/pth_detached2.stdout.exp | 0 drd/tests/pth_detached_sem.stdout.exp | 0 helgrind/tests/Makefile.am | 101 +++++++++------------ helgrind/tests/annotate_hbefore.stdout.exp | 0 helgrind/tests/annotate_rwlock.stdout.exp | 0 helgrind/tests/annotate_smart_pointer.stdout.exp | 0 helgrind/tests/bar_bad.stdout.exp | 0 helgrind/tests/cond_timedwait_invalid.stdout.exp | 0 helgrind/tests/cond_timedwait_test.stdout.exp | 0 helgrind/tests/free_is_write.stdout.exp | 0 helgrind/tests/hg01_all_ok.stdout.exp | 0 helgrind/tests/hg02_deadlock.stdout.exp | 0 helgrind/tests/hg03_inherit.stdout.exp | 0 helgrind/tests/hg04_race.stdout.exp | 0 helgrind/tests/hg04_race_h9.stdout.exp | 0 helgrind/tests/hg05_race2.stdout.exp | 0 helgrind/tests/hg06_readshared.stdout.exp | 0 helgrind/tests/locked_vs_unlocked1_fwd.stdout.exp | 0 helgrind/tests/locked_vs_unlocked1_rev.stdout.exp | 0 helgrind/tests/locked_vs_unlocked2.stdout.exp | 0 helgrind/tests/locked_vs_unlocked3.stdout.exp | 0 helgrind/tests/pth_barrier1.stdout.exp | 0 helgrind/tests/pth_barrier2.stdout.exp | 0 helgrind/tests/pth_barrier3.stdout.exp | 0 helgrind/tests/pth_spinlock.stdout.exp | 0 helgrind/tests/rwlock_race.stdout.exp | 0 helgrind/tests/rwlock_test.stdout.exp | 0 helgrind/tests/shmem_abits.stdout.exp | 0 helgrind/tests/stackteardown.stdout.exp | 0 helgrind/tests/tc01_simple_race.stdout.exp | 0 helgrind/tests/tc02_simple_tls.stdout.exp | 0 helgrind/tests/tc03_re_excl.stdout.exp | 0 helgrind/tests/tc04_free_lock.stdout.exp | 0 helgrind/tests/tc05_simple_race.stdout.exp | 0 helgrind/tests/tc06_two_races.stdout.exp | 0 helgrind/tests/tc06_two_races_xml.stdout.exp | 0 helgrind/tests/tc09_bad_unlock.stdout.exp | 0 helgrind/tests/tc10_rec_lock.stdout.exp | 0 helgrind/tests/tc12_rwl_trivial.stdout.exp | 0 helgrind/tests/tc13_laog1.stdout.exp | 0 helgrind/tests/tc14_laog_dinphils.stdout.exp | 0 helgrind/tests/tc15_laog_lockdel.stdout.exp | 0 helgrind/tests/tc16_byterace.stdout.exp | 0 helgrind/tests/tc17_sembar.stdout.exp | 0 helgrind/tests/tc18_semabuse.stdout.exp | 0 helgrind/tests/tc19_shadowmem.stdout.exp | 0 helgrind/tests/tc20_verifywrap.stdout.exp | 0 helgrind/tests/tc22_exit_w_lock.stdout.exp | 0 helgrind/tests/tc23_bogus_condwait.stdout.exp | 0 helgrind/tests/tc24_nonzero_sem.stdout.exp | 0 helgrind/tests/tls_threads.stdout.exp | 0 memcheck/tests/Makefile.am | 60 ++++++------ memcheck/tests/amd64-linux/Makefile.am | 6 +- .../tests/amd64-linux/access_below_sp_1.stdout.exp | 0 .../tests/amd64-linux/access_below_sp_2.stdout.exp | 0 memcheck/tests/amd64-solaris/Makefile.am | 4 +- .../tests/amd64-solaris/context_rflags2.stdout.exp | 0 memcheck/tests/amd64-solaris/scalar.stdout.exp | 0 memcheck/tests/amd64/Makefile.am | 9 +- .../tests/amd64/sh-mem-vec128-plo-no.stdout.exp | 0 .../tests/amd64/sh-mem-vec128-plo-yes.stdout.exp | 0 .../tests/amd64/sh-mem-vec256-plo-no.stdout.exp | 0 .../tests/amd64/sh-mem-vec256-plo-yes.stdout.exp | 0 memcheck/tests/amd64/xsave-avx.stdout.exp | 0 memcheck/tests/cond_ld.stdout.exp | 0 memcheck/tests/cond_st.stdout.exp | 0 memcheck/tests/cxx17_aligned_new.stdout.exp | 0 memcheck/tests/darwin/Makefile.am | 2 +- memcheck/tests/darwin/pth-undocumented.stdout.exp | 0 memcheck/tests/dw4.stdout.exp | 0 memcheck/tests/freebsd/Makefile.am | 1 - memcheck/tests/freebsd/sctp2.stdout.exp | 0 memcheck/tests/holey_buffer_too_small.stdout.exp | 0 memcheck/tests/inlinfo.stdout.exp | 0 memcheck/tests/inlinfosupp.stdout.exp | 0 memcheck/tests/inlinfosuppobj.stdout.exp | 0 memcheck/tests/inltemplate.stdout.exp | 0 memcheck/tests/linux/Makefile.am | 12 +-- .../tests/linux/dlclose_leak-no-keep.stdout.exp | 0 memcheck/tests/linux/dlclose_leak.stdout.exp | 0 memcheck/tests/linux/lsframe1.stdout.exp | 0 memcheck/tests/linux/lsframe2.stdout.exp | 0 memcheck/tests/linux/sys-openat.stdout.exp | 0 memcheck/tests/lks.stdout.exp | 0 memcheck/tests/mips32/Makefile.am | 2 +- memcheck/tests/mips32/fadvise64.stdout.exp | 0 memcheck/tests/mips64/Makefile.am | 2 +- memcheck/tests/mips64/fadvise64.stdout.exp | 0 memcheck/tests/noisy_child.stdout.exp | 0 memcheck/tests/origin1-yes.stdout.exp | 0 memcheck/tests/origin2-not-quite.stdout.exp | 0 memcheck/tests/origin3-no.stdout.exp | 0 memcheck/tests/origin4-many.stdout.exp | 0 memcheck/tests/origin6-fp.stdout.exp | 0 .../tests/realloc_size_zero_again_no.stdout.exp | 0 .../tests/realloc_size_zero_again_yes.stdout.exp | 0 memcheck/tests/s390x/Makefile.am | 4 +- memcheck/tests/s390x/cdsg.stdout.exp | 0 memcheck/tests/s390x/cli.stdout.exp | 0 memcheck/tests/s390x/cu21.stdout.exp | 0 memcheck/tests/s390x/cu42.stdout.exp | 0 memcheck/tests/s390x/ltgjhe.stdout.exp | 0 memcheck/tests/s390x/vfae.stdout.exp | 0 memcheck/tests/s390x/vistr.stdout.exp | 0 memcheck/tests/s390x/vme.stdout.exp | 0 memcheck/tests/s390x/vstrc.stdout.exp | 0 memcheck/tests/s390x/vstrs.stdout.exp | 0 memcheck/tests/solaris/Makefile.am | 50 +++++----- memcheck/tests/solaris/brk.stdout.exp | 0 .../tests/solaris/context_stack_die.stdout.exp | 0 memcheck/tests/solaris/ioctl.stdout.exp | 0 memcheck/tests/solaris/ldynsym.stdout.exp | 0 memcheck/tests/solaris/pkcs11.stdout.exp | 0 memcheck/tests/solaris/scalar.stdout.exp | 0 .../tests/solaris/scalar_auditon_stat.stdout.exp | 0 .../tests/solaris/scalar_frealpathat.stdout.exp | 0 memcheck/tests/solaris/scalar_getrandom.stdout.exp | 0 memcheck/tests/solaris/scalar_ioctl.stdout.exp | 0 memcheck/tests/solaris/scalar_lwp_kill.stdout.exp | 0 memcheck/tests/solaris/scalar_lwp_name.stdout.exp | 0 .../tests/solaris/scalar_lwp_sigqueue.stdout.exp | 0 .../tests/solaris/scalar_modctl_modnvl.stdout.exp | 0 memcheck/tests/solaris/scalar_obsolete.stdout.exp | 0 memcheck/tests/solaris/scalar_shm_new.stdout.exp | 0 memcheck/tests/solaris/scalar_spawn.stdout.exp | 0 .../tests/solaris/scalar_system_stats.stdout.exp | 0 memcheck/tests/solaris/scalar_utimensat.stdout.exp | 0 memcheck/tests/solaris/scalar_utimesys.stdout.exp | 0 memcheck/tests/solaris/scalar_uuidsys.stdout.exp | 0 .../tests/solaris/scalar_zone_defunct.stdout.exp | 0 memcheck/tests/solaris/strlcpy.stdout.exp | 0 memcheck/tests/solaris/syscall_at.stdout.exp | 0 .../solaris/thr_daemon_exit_standalone.stdout.exp | 0 memcheck/tests/stpncpy.stdout.exp | 0 memcheck/tests/suppsrc_lineno.stdout.exp | 0 memcheck/tests/suppsrc_sanlineno.stdout.exp | 0 memcheck/tests/test-plo-no.stdout.exp | 0 memcheck/tests/test-plo-yes.stdout.exp | 0 memcheck/tests/varinfo1.stdout.exp | 0 memcheck/tests/varinfo2.stdout.exp | 0 memcheck/tests/varinfo3.stdout.exp | 0 memcheck/tests/varinfo5.stdout.exp | 0 memcheck/tests/wcs.stdout.exp | 0 memcheck/tests/x86-solaris/Makefile.am | 6 +- .../tests/x86-solaris/context_eflags2.stdout.exp | 0 memcheck/tests/x86-solaris/scalar.stdout.exp | 0 .../tests/x86-solaris/scalar_obsolete.stdout.exp | 0 memcheck/tests/x86/Makefile.am | 4 +- memcheck/tests/x86/bug152022.stdout.exp | 0 memcheck/tests/x86/sh-mem-vec128-plo-no.stdout.exp | 0 .../tests/x86/sh-mem-vec128-plo-yes.stdout.exp | 0 none/tests/Makefile.am | 29 +++--- none/tests/amd64-solaris/Makefile.am | 4 +- .../coredump_single_thread.stdout.exp | 0 .../coredump_single_thread_sse.stdout.exp | 0 none/tests/amd64/Makefile.am | 7 +- none/tests/amd64/asorep.stdout.exp | 0 none/tests/amd64/mpx.stdout.exp | 0 none/tests/amd64/ssse3_misaligned.stdout.exp | 0 none/tests/execve.stdout.exp | 0 none/tests/fcntl_setown.stdout.exp | 0 none/tests/linux/Makefile.am | 3 +- none/tests/linux/mremap.stdout.exp | 0 none/tests/mmap_fcntl_bug.stdout.exp | 0 none/tests/ppc32/Makefile.am | 4 +- none/tests/ppc32/power6_bcmp.stdout.exp | 0 none/tests/ppc32/test_touch_tm.stdout.exp | 0 none/tests/ppc64/Makefile.am | 4 +- none/tests/ppc64/power6_bcmp.stdout.exp | 0 none/tests/ppc64/test_touch_tm.stdout.exp | 0 none/tests/ppoll_alarm.stdout.exp | 0 none/tests/pselect_alarm.stdout.exp | 0 none/tests/pselect_sigmask_null.stdout.exp | 0 none/tests/rlimit64_nofile.stdout.exp | 0 none/tests/rlimit_nofile.stdout.exp | 0 none/tests/s390x/Makefile.am | 6 +- none/tests/s390x/cksm.stdout.exp | 0 none/tests/s390x/flogr.stdout.exp | 0 none/tests/sem.stdout.exp | 0 none/tests/semlimit.stdout.exp | 0 none/tests/solaris/Makefile.am | 18 ++-- none/tests/solaris/context_link2.stdout.exp | 0 none/tests/solaris/context_null.stdout.exp | 0 none/tests/solaris/context_stack.stdout.exp | 0 none/tests/solaris/posix_spawn.stdout.exp | 0 none/tests/solaris/proc_auxv.stdout.exp | 0 none/tests/solaris/proc_auxv_multiple.stdout.exp | 0 none/tests/solaris/stack_prot.stdout.exp | 0 none/tests/solaris/threads_exitall.stdout.exp | 0 none/tests/syscall-restart1.stdout.exp | 0 none/tests/syscall-restart2.stdout.exp | 0 none/tests/track_new.stdout.exp | 0 none/tests/x86-solaris/Makefile.am | 7 +- .../x86-solaris/coredump_single_thread.stdout.exp | 0 .../coredump_single_thread_sse.stdout.exp | 0 none/tests/x86-solaris/syscalls.stdout.exp | 0 none/tests/x86/Makefile.am | 4 +- none/tests/x86/int.stdout.exp | 0 none/tests/x86/ssse3_misaligned.stdout.exp | 0 203 files changed, 157 insertions(+), 198 deletions(-) diff --git a/dhat/tests/Makefile.am b/dhat/tests/Makefile.am index aba7f06fdf..2b183782cc 100644 --- a/dhat/tests/Makefile.am +++ b/dhat/tests/Makefile.am @@ -12,8 +12,7 @@ EXTRA_DIST = \ empty.stderr.exp empty.vgtest \ sig.stderr.exp sig.vgtest \ single.stderr.exp single.vgtest \ - user_histo1.stderr.exp user_histo1.vgtest \ - user_histo1.stdout.exp + user_histo1.stderr.exp user_histo1.vgtest check_PROGRAMS = \ acc \ diff --git a/dhat/tests/user_histo1.stdout.exp b/dhat/tests/user_histo1.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 40985c5392..f076ce18af 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -220,17 +220,14 @@ EXTRA_DIST = \ pth_create_glibc_2_0.stderr.exp \ pth_create_glibc_2_0.vgtest \ pth_detached.stderr.exp \ - pth_detached.stdout.exp \ pth_detached.vgtest \ pth_detached2.stderr.exp \ - pth_detached2.stdout.exp \ pth_detached2.vgtest \ pth_detached3.stderr.exp1 \ pth_detached3.stderr.exp2 \ pth_detached3.stderr.exp-freebsd \ pth_detached3.vgtest \ pth_detached_sem.stderr.exp \ - pth_detached_sem.stdout.exp \ pth_detached_sem.vgtest \ pth_inconsistent_cond_wait.stderr.exp1 \ pth_inconsistent_cond_wait.stderr.exp2 \ diff --git a/drd/tests/pth_detached.stdout.exp b/drd/tests/pth_detached.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/drd/tests/pth_detached2.stdout.exp b/drd/tests/pth_detached2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/drd/tests/pth_detached_sem.stdout.exp b/drd/tests/pth_detached_sem.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/Makefile.am b/helgrind/tests/Makefile.am index 5b6c581eda..cc6698ea04 100644 --- a/helgrind/tests/Makefile.am +++ b/helgrind/tests/Makefile.am @@ -14,12 +14,9 @@ noinst_SCRIPTS = \ filter_stderr EXTRA_DIST = \ - annotate_hbefore.vgtest annotate_hbefore.stdout.exp \ - annotate_hbefore.stderr.exp \ - annotate_rwlock.vgtest annotate_rwlock.stdout.exp \ - annotate_rwlock.stderr.exp \ - annotate_smart_pointer.vgtest annotate_smart_pointer.stdout.exp \ - annotate_smart_pointer.stderr.exp \ + annotate_hbefore.vgtest annotate_hbefore.stderr.exp \ + annotate_rwlock.vgtest annotate_rwlock.stderr.exp \ + annotate_smart_pointer.vgtest annotate_smart_pointer.stderr.exp \ bug322621.vgtest bug322621.stderr.exp \ bug327548.vgtest bug327548.stderr.exp \ bug392331.vgtest bug392331.stdout.exp bug392331.stderr.exp \ @@ -27,43 +24,35 @@ EXTRA_DIST = \ bug392331.supp \ bug484480.vgtest bug484480.stderr.exp bug484480.stdout.exp \ cond_init_destroy.vgtest cond_init_destroy.stderr.exp \ - cond_timedwait_invalid.vgtest cond_timedwait_invalid.stdout.exp \ - cond_timedwait_invalid.stderr.exp \ - cond_timedwait_test.vgtest cond_timedwait_test.stdout.exp \ - cond_timedwait_test.stderr.exp \ - bar_bad.vgtest bar_bad.stdout.exp bar_bad.stderr.exp \ + cond_timedwait_invalid.vgtest cond_timedwait_invalid.stderr.exp \ + cond_timedwait_test.vgtest cond_timedwait_test.stderr.exp \ + bar_bad.vgtest bar_bad.stderr.exp \ bar_bad.stderr.exp-destroy-hang \ bar_bad.stderr.exp-freebsd \ bar_bad.stderr.exp-illumos \ bar_trivial.vgtest bar_trivial.stdout.exp bar_trivial.stderr.exp \ - free_is_write.vgtest free_is_write.stdout.exp \ - free_is_write.stderr.exp \ + free_is_write.vgtest free_is_write.stderr.exp \ getaddrinfo.vgtest getaddrinfo.stderr.exp \ - hg01_all_ok.vgtest hg01_all_ok.stdout.exp hg01_all_ok.stderr.exp \ - hg02_deadlock.vgtest hg02_deadlock.stdout.exp hg02_deadlock.stderr.exp \ - hg03_inherit.vgtest hg03_inherit.stdout.exp hg03_inherit.stderr.exp \ - hg04_race.vgtest hg04_race.stdout.exp hg04_race.stderr.exp \ - hg04_race_h9.vgtest hg04_race_h9.stdout.exp hg04_race_h9.stderr.exp \ - hg05_race2.vgtest hg05_race2.stdout.exp hg05_race2.stderr.exp \ - hg06_readshared.vgtest hg06_readshared.stdout.exp \ - hg06_readshared.stderr.exp \ + hg01_all_ok.vgtest hg01_all_ok.stderr.exp \ + hg02_deadlock.vgtest hg02_deadlock.stderr.exp \ + hg03_inherit.vgtest hg03_inherit.stderr.exp \ + hg04_race.vgtest hg04_race.stderr.exp \ + hg04_race_h9.vgtest hg04_race_h9.stderr.exp \ + hg05_race2.vgtest hg05_race2.stderr.exp \ + hg06_readshared.vgtest hg06_readshared.stderr.exp \ locked_vs_unlocked1_fwd.vgtest \ locked_vs_unlocked1_fwd.stderr.exp \ - locked_vs_unlocked1_fwd.stdout.exp \ locked_vs_unlocked1_rev.vgtest \ locked_vs_unlocked1_rev.stderr.exp \ - locked_vs_unlocked1_rev.stdout.exp \ locked_vs_unlocked2.vgtest \ locked_vs_unlocked2.stderr.exp \ - locked_vs_unlocked2.stdout.exp \ locked_vs_unlocked2.stderr.exp-freebsd \ locked_vs_unlocked3.vgtest \ locked_vs_unlocked3.stderr.exp \ - locked_vs_unlocked3.stdout.exp \ locked_vs_unlocked3.stderr.exp-freebsd \ - pth_barrier1.vgtest pth_barrier1.stdout.exp pth_barrier1.stderr.exp \ - pth_barrier2.vgtest pth_barrier2.stdout.exp pth_barrier2.stderr.exp \ - pth_barrier3.vgtest pth_barrier3.stdout.exp pth_barrier3.stderr.exp \ + pth_barrier1.vgtest pth_barrier1.stderr.exp \ + pth_barrier2.vgtest pth_barrier2.stderr.exp \ + pth_barrier3.vgtest pth_barrier3.stderr.exp \ pth_destroy_cond.vgtest \ pth_destroy_cond.stdout.exp pth_destroy_cond.stderr.exp \ pth_cond_destroy_busy.vgtest pth_cond_destroy_busy.stderr.exp \ @@ -71,63 +60,63 @@ EXTRA_DIST = \ pth_cond_destroy_busy.stderr.exp-solaris \ pth_cond_destroy_busy.stderr.exp-freebsd \ pth_mempcpy_false_races.vgtest pth_mempcpy_false_races.stderr.exp \ - pth_spinlock.vgtest pth_spinlock.stdout.exp pth_spinlock.stderr.exp \ - rwlock_race.vgtest rwlock_race.stdout.exp rwlock_race.stderr.exp \ - rwlock_test.vgtest rwlock_test.stdout.exp rwlock_test.stderr.exp \ + pth_spinlock.vgtest pth_spinlock.stderr.exp \ + rwlock_race.vgtest rwlock_race.stderr.exp \ + rwlock_test.vgtest rwlock_test.stderr.exp \ sem_clockwait_np.vgtest sem_clockwait_np.stdout.exp \ sem_clockwait_np.stderr.exp \ sem_timedwait.vgtest sem_timedwait.stdout.exp sem_timedwait.stderr.exp \ shared_timed_mutex.vgtest shared_timed_mutex.stderr.exp \ - shmem_abits.vgtest shmem_abits.stdout.exp shmem_abits.stderr.exp \ - stackteardown.vgtest stackteardown.stdout.exp stackteardown.stderr.exp \ + shmem_abits.vgtest shmem_abits.stderr.exp \ + stackteardown.vgtest stackteardown.stderr.exp \ t2t_laog.vgtest t2t_laog.stdout.exp t2t_laog.stderr.exp \ - tc01_simple_race.vgtest tc01_simple_race.stdout.exp \ + tc01_simple_race.vgtest \ tc01_simple_race.stderr.exp \ - tc02_simple_tls.vgtest tc02_simple_tls.stdout.exp \ + tc02_simple_tls.vgtest \ tc02_simple_tls.stderr.exp \ - tc03_re_excl.vgtest tc03_re_excl.stdout.exp \ + tc03_re_excl.vgtest \ tc03_re_excl.stderr.exp \ - tc04_free_lock.vgtest tc04_free_lock.stdout.exp \ + tc04_free_lock.vgtest \ tc04_free_lock.stderr.exp \ tc04_free_lock.stderr.exp-freebsd \ - tc05_simple_race.vgtest tc05_simple_race.stdout.exp \ + tc05_simple_race.vgtest \ tc05_simple_race.stderr.exp \ - tc06_two_races.vgtest tc06_two_races.stdout.exp \ + tc06_two_races.vgtest \ tc06_two_races.stderr.exp \ - tc06_two_races_xml.vgtest tc06_two_races_xml.stdout.exp \ + tc06_two_races_xml.vgtest \ tc06_two_races_xml.stderr.exp \ tc06_two_races_xml.stderr.exp-freebsd \ tc07_hbl1.vgtest tc07_hbl1.stdout.exp tc07_hbl1.stderr.exp \ tc08_hbl2.vgtest tc08_hbl2.stdout.exp tc08_hbl2.stderr.exp \ - tc09_bad_unlock.vgtest tc09_bad_unlock.stdout.exp \ + tc09_bad_unlock.vgtest \ tc09_bad_unlock.stderr.exp tc09_bad_unlock.stderr.exp-solaris \ tc09_bad_unlock.stderr.exp-freebsd \ - tc10_rec_lock.vgtest tc10_rec_lock.stdout.exp tc10_rec_lock.stderr.exp \ + tc10_rec_lock.vgtest tc10_rec_lock.stderr.exp \ tc11_XCHG.vgtest tc11_XCHG.stdout.exp tc11_XCHG.stderr.exp \ - tc12_rwl_trivial.vgtest tc12_rwl_trivial.stdout.exp \ + tc12_rwl_trivial.vgtest \ tc12_rwl_trivial.stderr.exp \ tc12_rwl_trivial.stderr.exp-darwin970 \ tc12_rwl_trivial.stderr.exp-solaris \ tc12_rwl_trivial.stderr.exp-freebsd \ - tc13_laog1.vgtest tc13_laog1.stdout.exp tc13_laog1.stderr.exp \ - tc14_laog_dinphils.vgtest tc14_laog_dinphils.stdout.exp \ + tc13_laog1.vgtest tc13_laog1.stderr.exp \ + tc14_laog_dinphils.vgtest \ tc14_laog_dinphils.stderr.exp \ - tc15_laog_lockdel.vgtest tc15_laog_lockdel.stdout.exp \ + tc15_laog_lockdel.vgtest \ tc15_laog_lockdel.stderr.exp \ - tc16_byterace.vgtest tc16_byterace.stdout.exp \ + tc16_byterace.vgtest \ tc16_byterace.stderr.exp \ - tc17_sembar.vgtest tc17_sembar.stdout.exp \ + tc17_sembar.vgtest \ tc17_sembar.stderr.exp \ - tc18_semabuse.vgtest tc18_semabuse.stdout.exp \ + tc18_semabuse.vgtest \ tc18_semabuse.stderr.exp \ tc18_semabuse.stderr.exp-linux-mips32 \ tc18_semabuse.stderr.exp-linux-mips32-b \ tc18_semabuse.stderr.exp-solaris \ tc18_semabuse.stderr.exp-freebsd \ - tc19_shadowmem.vgtest tc19_shadowmem.stdout.exp \ + tc19_shadowmem.vgtest \ tc19_shadowmem.stderr.exp tc19_shadowmem.stderr.exp-mips32 \ tc19_shadowmem.stderr.exp-mips32-BE \ - tc20_verifywrap.vgtest tc20_verifywrap.stdout.exp \ + tc20_verifywrap.vgtest \ tc20_verifywrap.stderr.exp \ tc20_verifywrap.stderr.exp-glibc-2.18 \ tc20_verifywrap.stderr.exp-glibc-2.21 \ @@ -136,19 +125,17 @@ EXTRA_DIST = \ tc20_verifywrap.stderr.exp-s390x \ tc20_verifywrap.stderr.exp-solaris \ tc21_pthonce.vgtest tc21_pthonce.stdout.exp tc21_pthonce.stderr.exp \ - tc22_exit_w_lock.vgtest tc22_exit_w_lock.stdout.exp \ + tc22_exit_w_lock.vgtest \ tc22_exit_w_lock.stderr.exp \ tc22_exit_w_lock.stderr.exp-kfail-x86 \ tc22_exit_w_lock.stderr.exp-solaris \ tc22_exit_w_lock.stderr.exp-freebsd15 \ - tc23_bogus_condwait.vgtest tc23_bogus_condwait.stdout.exp \ + tc23_bogus_condwait.vgtest \ tc23_bogus_condwait.stderr.exp \ tc23_bogus_condwait.stderr.exp-mips32 \ tc23_bogus_condwait.stderr.exp-freebsd \ - tc24_nonzero_sem.vgtest tc24_nonzero_sem.stdout.exp \ - tc24_nonzero_sem.stderr.exp \ - tls_threads.vgtest tls_threads.stdout.exp \ - tls_threads.stderr.exp \ + tc24_nonzero_sem.vgtest tc24_nonzero_sem.stderr.exp \ + tls_threads.vgtest tls_threads.stderr.exp \ tls_threads2.vgtest tls_threads2.stderr.exp \ trylock.vgtest trylock.stderr.exp diff --git a/helgrind/tests/annotate_hbefore.stdout.exp b/helgrind/tests/annotate_hbefore.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/annotate_rwlock.stdout.exp b/helgrind/tests/annotate_rwlock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/annotate_smart_pointer.stdout.exp b/helgrind/tests/annotate_smart_pointer.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/bar_bad.stdout.exp b/helgrind/tests/bar_bad.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/cond_timedwait_invalid.stdout.exp b/helgrind/tests/cond_timedwait_invalid.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/cond_timedwait_test.stdout.exp b/helgrind/tests/cond_timedwait_test.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/free_is_write.stdout.exp b/helgrind/tests/free_is_write.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg01_all_ok.stdout.exp b/helgrind/tests/hg01_all_ok.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg02_deadlock.stdout.exp b/helgrind/tests/hg02_deadlock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg03_inherit.stdout.exp b/helgrind/tests/hg03_inherit.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg04_race.stdout.exp b/helgrind/tests/hg04_race.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg04_race_h9.stdout.exp b/helgrind/tests/hg04_race_h9.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg05_race2.stdout.exp b/helgrind/tests/hg05_race2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/hg06_readshared.stdout.exp b/helgrind/tests/hg06_readshared.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/locked_vs_unlocked1_fwd.stdout.exp b/helgrind/tests/locked_vs_unlocked1_fwd.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/locked_vs_unlocked1_rev.stdout.exp b/helgrind/tests/locked_vs_unlocked1_rev.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/locked_vs_unlocked2.stdout.exp b/helgrind/tests/locked_vs_unlocked2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/locked_vs_unlocked3.stdout.exp b/helgrind/tests/locked_vs_unlocked3.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/pth_barrier1.stdout.exp b/helgrind/tests/pth_barrier1.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/pth_barrier2.stdout.exp b/helgrind/tests/pth_barrier2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/pth_barrier3.stdout.exp b/helgrind/tests/pth_barrier3.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/pth_spinlock.stdout.exp b/helgrind/tests/pth_spinlock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/rwlock_race.stdout.exp b/helgrind/tests/rwlock_race.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/rwlock_test.stdout.exp b/helgrind/tests/rwlock_test.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/shmem_abits.stdout.exp b/helgrind/tests/shmem_abits.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/stackteardown.stdout.exp b/helgrind/tests/stackteardown.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc01_simple_race.stdout.exp b/helgrind/tests/tc01_simple_race.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc02_simple_tls.stdout.exp b/helgrind/tests/tc02_simple_tls.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc03_re_excl.stdout.exp b/helgrind/tests/tc03_re_excl.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc04_free_lock.stdout.exp b/helgrind/tests/tc04_free_lock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc05_simple_race.stdout.exp b/helgrind/tests/tc05_simple_race.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc06_two_races.stdout.exp b/helgrind/tests/tc06_two_races.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc06_two_races_xml.stdout.exp b/helgrind/tests/tc06_two_races_xml.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc09_bad_unlock.stdout.exp b/helgrind/tests/tc09_bad_unlock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc10_rec_lock.stdout.exp b/helgrind/tests/tc10_rec_lock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc12_rwl_trivial.stdout.exp b/helgrind/tests/tc12_rwl_trivial.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc13_laog1.stdout.exp b/helgrind/tests/tc13_laog1.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc14_laog_dinphils.stdout.exp b/helgrind/tests/tc14_laog_dinphils.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc15_laog_lockdel.stdout.exp b/helgrind/tests/tc15_laog_lockdel.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc16_byterace.stdout.exp b/helgrind/tests/tc16_byterace.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc17_sembar.stdout.exp b/helgrind/tests/tc17_sembar.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc18_semabuse.stdout.exp b/helgrind/tests/tc18_semabuse.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc19_shadowmem.stdout.exp b/helgrind/tests/tc19_shadowmem.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc20_verifywrap.stdout.exp b/helgrind/tests/tc20_verifywrap.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc22_exit_w_lock.stdout.exp b/helgrind/tests/tc22_exit_w_lock.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc23_bogus_condwait.stdout.exp b/helgrind/tests/tc23_bogus_condwait.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tc24_nonzero_sem.stdout.exp b/helgrind/tests/tc24_nonzero_sem.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helgrind/tests/tls_threads.stdout.exp b/helgrind/tests/tls_threads.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index d49c6e34fb..51055e57bd 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -152,10 +152,10 @@ EXTRA_DIST = \ clo_redzone_default.stderr.exp clo_redzone_128.stderr.exp \ close_range.vgtest close_range.stderr.exp \ close_range.stderr.exp.linux \ - cond_ld.vgtest cond_ld.stdout.exp cond_ld.stderr.exp-arm \ + cond_ld.vgtest cond_ld.stderr.exp-arm \ cond_ld.stderr.exp-64bit-non-arm \ cond_ld.stderr.exp-32bit-non-arm \ - cond_st.vgtest cond_st.stdout.exp cond_st.stderr.exp-arm \ + cond_st.vgtest cond_st.stderr.exp-arm \ cond_st.stderr.exp-64bit-non-arm \ cond_st.stderr.exp-32bit-non-arm \ leak_cpp_interior.stderr.exp leak_cpp_interior.stderr.exp-64bit leak_cpp_interior.vgtest libstdc++.supp \ @@ -166,7 +166,6 @@ EXTRA_DIST = \ custom-overlap.stderr.exp custom-overlap.vgtest \ cxx17_aligned_new.stderr.exp cxx17_aligned_new.vgtest \ cxx17_aligned_new.stderr.exp_32 \ - cxx17_aligned_new.stdout.exp \ darwin.supp \ duplicate_align_size_errors.stderr.exp \ duplicate_align_size_errors.stderr.exp-memalign \ @@ -212,7 +211,7 @@ EXTRA_DIST = \ describe-block.stderr.exp describe-block.vgtest \ descr_belowsp.vgtest descr_belowsp.stderr.exp \ doublefree.stderr.exp doublefree.vgtest \ - dw4.vgtest dw4.stderr.exp dw4.stderr.exp-solaris dw4.stdout.exp \ + dw4.vgtest dw4.stderr.exp dw4.stderr.exp-solaris \ err_disable1.vgtest err_disable1.stderr.exp \ err_disable2.vgtest err_disable2.stderr.exp \ err_disable3.vgtest err_disable3.stderr.exp \ @@ -235,15 +234,13 @@ EXTRA_DIST = \ fwrite.stderr.exp fwrite.vgtest fwrite.stderr.exp-kfail \ gone_abrt_xml.vgtest gone_abrt_xml.stderr.exp gone_abrt_xml.stderr.exp-solaris \ gone_abrt_xml.stderr.exp-freebsd \ - holey_buffer_too_small.vgtest holey_buffer_too_small.stdout.exp \ - holey_buffer_too_small.stderr.exp \ + holey_buffer_too_small.vgtest holey_buffer_too_small.stderr.exp \ inits.stderr.exp inits.vgtest \ inline.stderr.exp inline.stdout.exp inline.vgtest \ - inlinfo.stderr.exp inlinfo.stdout.exp inlinfo.vgtest \ - inlinfosupp.stderr.exp inlinfosupp.stdout.exp inlinfosupp.supp inlinfosupp.vgtest \ - inlinfosuppobj.stderr.exp inlinfosuppobj.stdout.exp inlinfosuppobj.supp inlinfosuppobj.vgtest \ - inltemplate.stderr.exp inltemplate.stdout.exp inltemplate.vgtest \ - inltemplate.stderr.exp-old-gcc \ + inlinfo.stderr.exp inlinfo.vgtest \ + inlinfosupp.stderr.exp inlinfosupp.supp inlinfosupp.vgtest \ + inlinfosuppobj.stderr.exp inlinfosuppobj.supp inlinfosuppobj.vgtest \ + inltemplate.vgtest inltemplate.stderr.exp inltemplate.stderr.exp-old-gcc \ leak-0.vgtest leak-0.stderr.exp \ leak-cases-exit-on-definite.vgtest leak-cases-exit-on-definite.stderr.exp \ leak-cases-full.vgtest leak-cases-full.stderr.exp \ @@ -266,7 +263,7 @@ EXTRA_DIST = \ leak-autofreepool-5.stderr.exp-freebsd \ leak-tree.vgtest leak-tree.stderr.exp \ leak-segv-jmp.vgtest leak-segv-jmp.stderr.exp \ - lks.vgtest lks.stdout.exp lks.supp lks.stderr.exp \ + lks.vgtest lks.supp lks.stderr.exp \ long_namespace_xml.vgtest long_namespace_xml.stdout.exp \ long_namespace_xml.stderr.exp long_namespace_xml.stderr.exp-freebsd \ long-supps.vgtest long-supps.stderr.exp long-supps.supp \ @@ -310,18 +307,15 @@ EXTRA_DIST = \ nanoleak2.stderr.exp nanoleak2.vgtest \ new_nothrow.stderr.exp new_nothrow.vgtest \ new_override.stderr.exp new_override.stdout.exp new_override.vgtest \ - noisy_child.vgtest noisy_child.stderr.exp noisy_child.stdout.exp \ + noisy_child.vgtest noisy_child.stderr.exp \ null_socket.stderr.exp null_socket.vgtest \ - origin1-yes.vgtest origin1-yes.stdout.exp origin1-yes.stderr.exp \ + origin1-yes.vgtest origin1-yes.stderr.exp \ origin1-yes.stderr.exp-freebsd \ - origin2-not-quite.vgtest origin2-not-quite.stdout.exp \ - origin2-not-quite.stderr.exp \ + origin2-not-quite.vgtest origin2-not-quite.stderr.exp \ origin2-not-quite.stderr.exp-freebsd \ - origin3-no.vgtest origin3-no.stdout.exp \ + origin3-no.vgtest origin3-no.stderr.exp \ origin3-no.stderr.exp-freebsd \ - origin3-no.stderr.exp \ - origin4-many.vgtest origin4-many.stdout.exp \ - origin4-many.stderr.exp \ + origin4-many.vgtest origin4-many.stderr.exp \ origin5-bz2.vgtest origin5-bz2.stdout.exp \ origin5-bz2.stderr.exp-glibc25-x86 \ origin5-bz2.stderr.exp-glibc25-amd64 \ @@ -332,7 +326,7 @@ EXTRA_DIST = \ origin5-bz2.stderr.exp-glibc234-s390x \ origin5-bz2.stderr.exp-glibc218-mips32 \ origin5-bz2.stderr.exp-glibc236-arm \ - origin6-fp.vgtest origin6-fp.stdout.exp \ + origin6-fp.vgtest \ origin6-fp.stderr.exp-glibc25-amd64 \ origin6-fp.stderr.exp-glibc27-ppc64 \ overlap.stderr.exp overlap.stdout.exp overlap.vgtest \ @@ -373,12 +367,10 @@ EXTRA_DIST = \ realloc_size_zero_yes.stderr.exp realloc_size_zero_yes.stdout.exp \ realloc_size_zero_yes.vgtest \ realloc_size_zero_again_yes.stderr.exp \ - realloc_size_zero_again_yes.stdout.exp \ realloc_size_zero_again_yes.vgtest \ realloc_size_zero_no.stderr.exp realloc_size_zero_no.stdout.exp \ realloc_size_zero_no.vgtest \ realloc_size_zero_again_no.stderr.exp \ - realloc_size_zero_again_no.stdout.exp \ realloc_size_zero_again_no.vgtest \ realloc_size_zero_off.stderr.exp realloc_size_zero_off.stdout.exp \ realloc_size_zero_off.vgtest \ @@ -409,7 +401,7 @@ EXTRA_DIST = \ sigprocmask.stderr.exp sigprocmask.stderr.exp2 sigprocmask.vgtest \ sized_delete.stderr.exp sized_delete.stderr.exp-x86 sized_delete.vgtest \ static_malloc.stderr.exp static_malloc.vgtest \ - stpncpy.vgtest stpncpy.stderr.exp stpncpy.stdout.exp \ + stpncpy.vgtest stpncpy.stderr.exp \ strchr.stderr.exp strchr.stderr.exp2 strchr.stderr.exp3 strchr.vgtest \ str_tester.stderr.exp str_tester.vgtest \ supp-dir.vgtest supp-dir.stderr.exp \ @@ -421,15 +413,15 @@ EXTRA_DIST = \ suppfree.stderr.exp suppfree.supp suppfree.vgtest \ suppfreecollision.stderr.exp suppfreecollision.supp suppfreecollision.vgtest \ supponlyobj.stderr.exp supponlyobj.supp supponlyobj.vgtest \ - suppsrc_lineno.stderr.exp suppsrc_lineno.stdout.exp suppsrc_lineno.vgtest \ + suppsrc_lineno.stderr.exp suppsrc_lineno.vgtest \ suppsrc_lineno.supp \ - suppsrc_sanlineno.stderr.exp suppsrc_sanlineno.stdout.exp suppsrc_sanlineno.vgtest \ + suppsrc_sanlineno.stderr.exp suppsrc_sanlineno.vgtest \ suppsrc_sanlineno.supp \ suppvarinfo5.stderr.exp suppvarinfo5.supp suppvarinfo5.vgtest \ - test-plo-no.vgtest test-plo-no.stdout.exp \ + test-plo-no.vgtest \ test-plo-no.stderr.exp-le64 test-plo-no.stderr.exp-le32 \ test-plo-no.stderr.exp-le32-freebsd test-plo-no.stderr.exp-le64-freebsd \ - test-plo-yes.vgtest test-plo-yes.stdout.exp \ + test-plo-yes.vgtest \ test-plo-yes.stderr.exp-le64 test-plo-yes.stderr.exp-le32 \ test-plo-no.stderr.exp-s390x-mvc \ thread_alloca.stderr.exp thread_alloca.vgtest \ @@ -439,18 +431,18 @@ EXTRA_DIST = \ undef_malloc_args.stderr.exp undef_malloc_args.vgtest \ unit_libcbase.stderr.exp unit_libcbase.vgtest \ unit_oset.stderr.exp unit_oset.stdout.exp unit_oset.vgtest \ - varinfo1.vgtest varinfo1.stdout.exp varinfo1.stderr.exp \ + varinfo1.vgtest varinfo1.stderr.exp \ varinfo1.stderr.exp-ppc64 \ varinfo1.stderr.exp-freebsd \ - varinfo2.vgtest varinfo2.stdout.exp varinfo2.stderr.exp \ + varinfo2.vgtest varinfo2.stderr.exp \ varinfo2.stderr.exp-ppc64 \ - varinfo3.vgtest varinfo3.stdout.exp varinfo3.stderr.exp \ + varinfo3.vgtest varinfo3.stderr.exp \ varinfo3.stderr.exp-ppc64 \ varinfo3.stderr.exp-freebsd \ varinfo4.vgtest varinfo4.stdout.exp varinfo4.stderr.exp \ varinfo4.stderr.exp-ppc64 \ varinfo4.stderr.exp-freebsd \ - varinfo5.vgtest varinfo5.stdout.exp varinfo5.stderr.exp \ + varinfo5.vgtest varinfo5.stderr.exp \ varinfo5.stderr.exp-ppc64 \ varinfo5.stderr.exp-freebsd \ varinfo5.stderr.exp-freebsd2 \ @@ -464,7 +456,7 @@ EXTRA_DIST = \ vcpu_fnfns.stdout.exp-illumos \ vcpu_fnfns.stderr.exp vcpu_fnfns.vgtest \ wcpncpy1.stderr.exp wcpncpy1.vgtest \ - wcs.vgtest wcs.stderr.exp wcs.stdout.exp \ + wcs.vgtest wcs.stderr.exp \ wcscat.vgtest wcscat.stderr.exp wcscat.stdout.exp \ wcsncpy.vgtest wcsncpy.stderr.exp \ wmemcmp.vgtest wmemcmp.stderr.exp \ @@ -497,7 +489,7 @@ check_PROGRAMS = \ bug287260 \ bug340392 \ bug401284 \ - bug445235_ada_demangle \ + bug445235_ada_demangle \ bug464969_d_demangle \ bug472219 \ calloc-overflow \ diff --git a/memcheck/tests/amd64-linux/Makefile.am b/memcheck/tests/amd64-linux/Makefile.am index bd12337feb..70738a0dec 100644 --- a/memcheck/tests/amd64-linux/Makefile.am +++ b/memcheck/tests/amd64-linux/Makefile.am @@ -7,10 +7,8 @@ dist_noinst_SCRIPTS = \ noinst_HEADERS = scalar.h EXTRA_DIST = \ - access_below_sp_1.vgtest \ - access_below_sp_1.stderr.exp access_below_sp_1.stdout.exp \ - access_below_sp_2.vgtest \ - access_below_sp_2.stderr.exp access_below_sp_2.stdout.exp \ + access_below_sp_1.vgtest access_below_sp_1.stderr.exp \ + access_below_sp_2.vgtest access_below_sp_2.stderr.exp \ defcfaexpr.vgtest defcfaexpr.stderr.exp \ int3-amd64.vgtest int3-amd64.stderr.exp int3-amd64.stdout.exp \ scalar.stderr.exp scalar.vgtest \ diff --git a/memcheck/tests/amd64-linux/access_below_sp_1.stdout.exp b/memcheck/tests/amd64-linux/access_below_sp_1.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64-linux/access_below_sp_2.stdout.exp b/memcheck/tests/amd64-linux/access_below_sp_2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64-solaris/Makefile.am b/memcheck/tests/amd64-solaris/Makefile.am index 940706e22b..587d8eab54 100644 --- a/memcheck/tests/amd64-solaris/Makefile.am +++ b/memcheck/tests/amd64-solaris/Makefile.am @@ -7,10 +7,10 @@ EXTRA_DIST = \ context_fpu.stderr.exp context_fpu.stdout.exp context_fpu.vgtest \ context_gpr.stderr.exp context_gpr.stdout.exp context_gpr.vgtest \ context_rflags.stderr.exp context_rflags.stdout.exp context_rflags.vgtest \ - context_rflags2.stderr.exp context_rflags2.stdout.exp context_rflags2.vgtest \ + context_rflags2.stderr.exp context_rflags2.vgtest \ context_sse.stderr.exp context_sse.stdout.exp context_sse.vgtest \ ldsoexec.stderr.exp ldsoexec.vgtest \ - scalar.stderr.exp scalar.stdout.exp scalar.vgtest + scalar.stderr.exp scalar.vgtest check_PROGRAMS = \ context_fpu \ diff --git a/memcheck/tests/amd64-solaris/context_rflags2.stdout.exp b/memcheck/tests/amd64-solaris/context_rflags2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64-solaris/scalar.stdout.exp b/memcheck/tests/amd64-solaris/scalar.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64/Makefile.am b/memcheck/tests/amd64/Makefile.am index 4b25e1dcfc..7c5553be59 100644 --- a/memcheck/tests/amd64/Makefile.am +++ b/memcheck/tests/amd64/Makefile.am @@ -28,21 +28,17 @@ EXTRA_DIST = \ rh2257546_256.stderr.exp rh2257546_256.stdout.exp \ sh-mem-vec128-plo-no.vgtest \ sh-mem-vec128-plo-no.stderr.exp \ - sh-mem-vec128-plo-no.stdout.exp \ sh-mem-vec128-plo-yes.vgtest \ sh-mem-vec128-plo-yes.stderr.exp \ - sh-mem-vec128-plo-yes.stdout.exp \ sh-mem-vec256-plo-no.vgtest \ sh-mem-vec256-plo-no.stderr.exp \ - sh-mem-vec256-plo-no.stdout.exp \ sh-mem-vec256-plo-yes.vgtest \ sh-mem-vec256-plo-yes.stderr.exp \ - sh-mem-vec256-plo-yes.stdout.exp \ shr_edx.stderr.exp shr_edx.stdout.exp shr_edx.vgtest \ sse_memory.stderr.exp sse_memory.stdout.exp sse_memory.vgtest \ xor-undef-amd64.stderr.exp xor-undef-amd64.stdout.exp \ xor-undef-amd64.stderr.exp-freebsd xor-undef-amd64.vgtest \ - xsave-avx.vgtest xsave-avx.stdout.exp xsave-avx.stderr.exp + xsave-avx.vgtest xsave-avx.stderr.exp check_PROGRAMS = \ bt_everything \ @@ -65,8 +61,7 @@ if HAVE_ASM_CONSTRAINT_P endif # clang 3.5.0 barfs about -mfancy-math-387 if !COMPILER_IS_CLANG - check_PROGRAMS += \ - more_x87_fp + check_PROGRAMS += more_x87_fp endif # initially this was a "not clang" test diff --git a/memcheck/tests/amd64/sh-mem-vec128-plo-no.stdout.exp b/memcheck/tests/amd64/sh-mem-vec128-plo-no.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64/sh-mem-vec128-plo-yes.stdout.exp b/memcheck/tests/amd64/sh-mem-vec128-plo-yes.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-no.stdout.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-no.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stdout.exp b/memcheck/tests/amd64/sh-mem-vec256-plo-yes.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/amd64/xsave-avx.stdout.exp b/memcheck/tests/amd64/xsave-avx.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/cond_ld.stdout.exp b/memcheck/tests/cond_ld.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/cond_st.stdout.exp b/memcheck/tests/cond_st.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/cxx17_aligned_new.stdout.exp b/memcheck/tests/cxx17_aligned_new.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/darwin/Makefile.am b/memcheck/tests/darwin/Makefile.am index e43d4af795..650b7a640b 100644 --- a/memcheck/tests/darwin/Makefile.am +++ b/memcheck/tests/darwin/Makefile.am @@ -13,7 +13,7 @@ EXTRA_DIST = \ env.stderr.exp env.vgtest \ ioctl-tiocsbrk.stderr.exp ioctl-tiocsbrk.vgtest \ pth-supp.stderr.exp pth-supp.vgtest \ - pth-undocumented.stderr.exp pth-undocumented.stdout.exp pth-undocumented.vgtest \ + pth-undocumented.stderr.exp pth-undocumented.vgtest \ mkfifo.stderr.exp mkfifo.vgtest \ scalar.stderr.exp scalar.vgtest \ scalar_fork.stderr.exp scalar_fork.vgtest \ diff --git a/memcheck/tests/darwin/pth-undocumented.stdout.exp b/memcheck/tests/darwin/pth-undocumented.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/dw4.stdout.exp b/memcheck/tests/dw4.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/freebsd/Makefile.am b/memcheck/tests/freebsd/Makefile.am index 6a77a262d0..90f74f9c38 100644 --- a/memcheck/tests/freebsd/Makefile.am +++ b/memcheck/tests/freebsd/Makefile.am @@ -115,7 +115,6 @@ EXTRA_DIST = \ sctp.stdout.exp \ sctp2.vgtest \ sctp2.stderr.exp \ - sctp2.stdout.exp \ setcred.vgtest \ setcred.stderr.exp \ setproctitle.vgtest \ diff --git a/memcheck/tests/freebsd/sctp2.stdout.exp b/memcheck/tests/freebsd/sctp2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/holey_buffer_too_small.stdout.exp b/memcheck/tests/holey_buffer_too_small.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/inlinfo.stdout.exp b/memcheck/tests/inlinfo.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/inlinfosupp.stdout.exp b/memcheck/tests/inlinfosupp.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/inlinfosuppobj.stdout.exp b/memcheck/tests/inlinfosuppobj.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/inltemplate.stdout.exp b/memcheck/tests/inltemplate.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/linux/Makefile.am b/memcheck/tests/linux/Makefile.am index b9f273be8e..367af9913f 100644 --- a/memcheck/tests/linux/Makefile.am +++ b/memcheck/tests/linux/Makefile.am @@ -16,16 +16,14 @@ EXTRA_DIST = \ capget.stderr.exp4 \ debuginfod-check.stderr.exp debuginfod-check.vgtest.in \ debuginfod-check.pl \ - dlclose_leak-no-keep.stderr.exp dlclose_leak-no-keep.stdout.exp \ - dlclose_leak-no-keep.vgtest \ - dlclose_leak.stderr.exp dlclose_leak.stdout.exp \ - dlclose_leak.vgtest \ + dlclose_leak-no-keep.stderr.exp dlclose_leak-no-keep.vgtest \ + dlclose_leak.stderr.exp dlclose_leak.vgtest \ ioctl_procmap_query.stderr.exp \ ioctl_procmap_query.stdout.exp \ ioctl_procmap_query.vgtest \ ioctl-tiocsig.vgtest ioctl-tiocsig.stderr.exp \ - lsframe1.vgtest lsframe1.stdout.exp lsframe1.stderr.exp \ - lsframe2.vgtest lsframe2.stdout.exp lsframe2.stderr.exp \ + lsframe1.vgtest lsframe1.stderr.exp \ + lsframe2.vgtest lsframe2.stderr.exp \ memfd_create.vgtest memfd_create.stderr.exp \ memfd_create.stderr.exp-fcntl64 \ rfcomm.vgtest rfcomm.stderr.exp \ @@ -36,7 +34,7 @@ EXTRA_DIST = \ syscalls-2007.vgtest syscalls-2007.stderr.exp \ syslog-syscall.vgtest syslog-syscall.stderr.exp \ sys-copy_file_range.vgtest sys-copy_file_range.stderr.exp \ - sys-openat.vgtest sys-openat.stderr.exp sys-openat.stdout.exp \ + sys-openat.vgtest sys-openat.stderr.exp \ sys-statx.vgtest sys-statx.stderr.exp \ timerfd-syscall.vgtest timerfd-syscall.stderr.exp \ with-space.stderr.exp with-space.stdout.exp with-space.vgtest \ diff --git a/memcheck/tests/linux/dlclose_leak-no-keep.stdout.exp b/memcheck/tests/linux/dlclose_leak-no-keep.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/linux/dlclose_leak.stdout.exp b/memcheck/tests/linux/dlclose_leak.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/linux/lsframe1.stdout.exp b/memcheck/tests/linux/lsframe1.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/linux/lsframe2.stdout.exp b/memcheck/tests/linux/lsframe2.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/linux/sys-openat.stdout.exp b/memcheck/tests/linux/sys-openat.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/lks.stdout.exp b/memcheck/tests/lks.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/mips32/Makefile.am b/memcheck/tests/mips32/Makefile.am index 6f91d72627..0dcb995d00 100644 --- a/memcheck/tests/mips32/Makefile.am +++ b/memcheck/tests/mips32/Makefile.am @@ -7,7 +7,7 @@ dist_noinst_SCRIPTS = \ EXTRA_DIST = $(noinst_SCRIPTS) \ bad_sioc.stderr.exp bad_sioc.stdout.exp bad_sioc.vgtest \ fadvise64.stderr.exp fadvise64.stderr.exp-BE \ - fadvise64.stdout.exp fadvise64.vgtest + fadvise64.vgtest check_PROGRAMS = \ diff --git a/memcheck/tests/mips32/fadvise64.stdout.exp b/memcheck/tests/mips32/fadvise64.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/mips64/Makefile.am b/memcheck/tests/mips64/Makefile.am index f1c72a04ec..9c95901529 100644 --- a/memcheck/tests/mips64/Makefile.am +++ b/memcheck/tests/mips64/Makefile.am @@ -6,7 +6,7 @@ dist_noinst_SCRIPTS = \ EXTRA_DIST = $(noinst_SCRIPTS) \ bad_sioc.stderr.exp bad_sioc.stdout.exp bad_sioc.vgtest \ - fadvise64.stderr.exp fadvise64.stdout.exp fadvise64.vgtest + fadvise64.stderr.exp fadvise64.vgtest check_PROGRAMS = \ bad_sioc \ diff --git a/memcheck/tests/mips64/fadvise64.stdout.exp b/memcheck/tests/mips64/fadvise64.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/noisy_child.stdout.exp b/memcheck/tests/noisy_child.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/origin1-yes.stdout.exp b/memcheck/tests/origin1-yes.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/origin2-not-quite.stdout.exp b/memcheck/tests/origin2-not-quite.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/origin3-no.stdout.exp b/memcheck/tests/origin3-no.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/origin4-many.stdout.exp b/memcheck/tests/origin4-many.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/origin6-fp.stdout.exp b/memcheck/tests/origin6-fp.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/realloc_size_zero_again_no.stdout.exp b/memcheck/tests/realloc_size_zero_again_no.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/realloc_size_zero_again_yes.stdout.exp b/memcheck/tests/realloc_size_zero_again_yes.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/Makefile.am b/memcheck/tests/s390x/Makefile.am index 580fc1ee99..abeb97136e 100644 --- a/memcheck/tests/s390x/Makefile.am +++ b/memcheck/tests/s390x/Makefile.am @@ -8,8 +8,8 @@ check_PROGRAMS = $(INSN_TESTS) EXTRA_DIST = \ $(addsuffix .stderr.exp,$(INSN_TESTS)) \ - $(addsuffix .stdout.exp,$(INSN_TESTS)) \ - $(addsuffix .vgtest,$(INSN_TESTS)) + $(addsuffix .vgtest,$(INSN_TESTS)) \ + tmxx.stdout.exp AM_CFLAGS += @FLAG_M64@ AM_CXXFLAGS += @FLAG_M64@ diff --git a/memcheck/tests/s390x/cdsg.stdout.exp b/memcheck/tests/s390x/cdsg.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/cli.stdout.exp b/memcheck/tests/s390x/cli.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/cu21.stdout.exp b/memcheck/tests/s390x/cu21.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/cu42.stdout.exp b/memcheck/tests/s390x/cu42.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/ltgjhe.stdout.exp b/memcheck/tests/s390x/ltgjhe.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/vfae.stdout.exp b/memcheck/tests/s390x/vfae.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/vistr.stdout.exp b/memcheck/tests/s390x/vistr.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/vme.stdout.exp b/memcheck/tests/s390x/vme.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/vstrc.stdout.exp b/memcheck/tests/s390x/vstrc.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/s390x/vstrs.stdout.exp b/memcheck/tests/s390x/vstrs.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/Makefile.am b/memcheck/tests/solaris/Makefile.am index 0c0d551ed0..1387c715a0 100644 --- a/memcheck/tests/solaris/Makefile.am +++ b/memcheck/tests/solaris/Makefile.am @@ -14,50 +14,50 @@ noinst_HEADERS = scalar.h EXTRA_DIST = \ aligned_alloc.stderr.exp aligned_alloc.vgtest \ aligned_alloc.stderr.exp-solaris \ - brk.stderr.exp brk.stdout.exp brk.vgtest \ - context_stack_die.stderr.exp context_stack_die.stdout.exp context_stack_die.vgtest \ + brk.stderr.exp brk.vgtest \ + context_stack_die.stderr.exp context_stack_die.vgtest \ door_data.stderr.exp door_data.stdout.exp door_data.vgtest \ door_kill.stderr.exp door_kill.stdout.exp door_kill.vgtest \ execx.stderr.exp execx.stdout.exp execx.vgtest \ getzoneoffset.stderr.exp getzoneoffset.vgtest \ gethrtime.stderr.exp gethrtime.stdout.exp gethrtime.vgtest \ gethrusec.stderr.exp gethrusec.stdout.exp gethrusec.vgtest \ - ioctl.stderr.exp ioctl.stdout.exp ioctl.vgtest \ - ldynsym.stderr.exp ldynsym.stdout.exp ldynsym.vgtest \ + ioctl.stderr.exp ioctl.vgtest \ + ldynsym.stderr.exp ldynsym.vgtest \ lsframe1.stderr.exp lsframe1.stdout.exp lsframe1.vgtest \ lsframe2.stderr.exp lsframe2.stdout.exp lsframe2.vgtest \ mmapobj_bssonly.stderr.exp mmapobj_bssonly.stdout.exp mmapobj_bssonly.vgtest \ name_service_door.stderr.exp-amd64 name_service_door.stderr.exp-x86 \ name_service_door.stdout.exp name_service_door.vgtest \ - pkcs11.stderr.exp-illumos pkcs11.stderr.exp-solaris pkcs11.stdout.exp pkcs11.vgtest \ - scalar.stderr.exp scalar.stdout.exp scalar.vgtest \ - scalar_auditon_stat.stderr.exp scalar_auditon_stat.stdout.exp scalar_auditon_stat.vgtest \ - scalar_frealpathat.stderr.exp scalar_frealpathat.stdout.exp scalar_frealpathat.vgtest \ - scalar_getrandom.stderr.exp scalar_getrandom.stdout.exp scalar_getrandom.vgtest \ + pkcs11.stderr.exp-illumos pkcs11.stderr.exp-solaris pkcs11.vgtest \ + scalar.stderr.exp scalar.vgtest \ + scalar_auditon_stat.stderr.exp scalar_auditon_stat.vgtest \ + scalar_frealpathat.stderr.exp scalar_frealpathat.vgtest \ + scalar_getrandom.stderr.exp scalar_getrandom.vgtest \ scalar_getrandom.stderr.exp-illumos \ - scalar_ioctl.stderr.exp scalar_ioctl.stdout.exp scalar_ioctl.vgtest \ - scalar_lwp_kill.stderr.exp scalar_lwp_kill.stdout.exp scalar_lwp_kill.vgtest \ - scalar_lwp_name.stderr.exp scalar_lwp_name.stdout.exp scalar_lwp_name.vgtest \ - scalar_lwp_sigqueue.stderr.exp scalar_lwp_sigqueue.stdout.exp scalar_lwp_sigqueue.vgtest \ + scalar_ioctl.stderr.exp scalar_ioctl.vgtest \ + scalar_lwp_kill.stderr.exp scalar_lwp_kill.vgtest \ + scalar_lwp_name.stderr.exp scalar_lwp_name.vgtest \ + scalar_lwp_sigqueue.stderr.exp scalar_lwp_sigqueue.vgtest \ scalar_lwp_sigqueue_pid.stderr.exp scalar_lwp_sigqueue_pid.vgtest \ - scalar_modctl_modnvl.stderr.exp scalar_modctl_modnvl.stdout.exp scalar_modctl_modnvl.vgtest \ - scalar_obsolete.stderr.exp scalar_obsolete.stdout.exp scalar_obsolete.vgtest \ - scalar_shm_new.stderr.exp scalar_shm_new.stdout.exp scalar_shm_new.vgtest \ - scalar_spawn.stderr.exp scalar_spawn.stdout.exp scalar_spawn.vgtest \ - scalar_system_stats.stderr.exp scalar_system_stats.stdout.exp scalar_system_stats.vgtest \ + scalar_modctl_modnvl.stderr.exp scalar_modctl_modnvl.vgtest \ + scalar_obsolete.stderr.exp scalar_obsolete.vgtest \ + scalar_shm_new.stderr.exp scalar_shm_new.vgtest \ + scalar_spawn.stderr.exp scalar_spawn.vgtest \ + scalar_system_stats.stderr.exp scalar_system_stats.vgtest \ scalar_tsol_clearance.stderr.exp scalar_tsol_clearance.vgtest \ - scalar_utimensat.stderr.exp scalar_utimensat.stdout.exp scalar_utimensat.vgtest \ - scalar_utimesys.stderr.exp scalar_utimesys.stdout.exp scalar_utimesys.vgtest \ - scalar_uuidsys.stderr.exp scalar_uuidsys.stdout.exp scalar_uuidsys.vgtest \ - scalar_zone_defunct.stderr.exp scalar_zone_defunct.stdout.exp scalar_zone_defunct.vgtest \ + scalar_utimensat.stderr.exp scalar_utimensat.vgtest \ + scalar_utimesys.stderr.exp scalar_utimesys.vgtest \ + scalar_uuidsys.stderr.exp scalar_uuidsys.vgtest \ + scalar_zone_defunct.stderr.exp scalar_zone_defunct.vgtest \ sendfilev.stderr.exp sendfilev.stdout.exp sendfilev.vgtest \ shmat.stderr.exp shmat.stdout.exp shmat.vgtest \ spawn.stderr.exp spawn.stdout.exp spawn.vgtest \ - strlcpy.stderr.exp strlcpy.stdout.exp strlcpy.vgtest \ + strlcpy.stderr.exp strlcpy.vgtest \ supponlyobj.stderr.exp supponlyobj.supp supponlyobj.vgtest \ - syscall_at.stderr.exp syscall_at.stdout.exp syscall_at.vgtest \ + syscall_at.stderr.exp syscall_at.vgtest \ thr_daemon_exit_libc.stderr.exp thr_daemon_exit_libc.stdout.exp thr_daemon_exit_libc.vgtest \ - thr_daemon_exit_standalone.stderr.exp thr_daemon_exit_standalone.stdout.exp thr_daemon_exit_standalone.vgtest \ + thr_daemon_exit_standalone.stderr.exp thr_daemon_exit_standalone.vgtest \ memalign.vgtest memalign.stderr.exp check_PROGRAMS = \ diff --git a/memcheck/tests/solaris/brk.stdout.exp b/memcheck/tests/solaris/brk.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/context_stack_die.stdout.exp b/memcheck/tests/solaris/context_stack_die.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/ioctl.stdout.exp b/memcheck/tests/solaris/ioctl.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/ldynsym.stdout.exp b/memcheck/tests/solaris/ldynsym.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/pkcs11.stdout.exp b/memcheck/tests/solaris/pkcs11.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar.stdout.exp b/memcheck/tests/solaris/scalar.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_auditon_stat.stdout.exp b/memcheck/tests/solaris/scalar_auditon_stat.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_frealpathat.stdout.exp b/memcheck/tests/solaris/scalar_frealpathat.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_getrandom.stdout.exp b/memcheck/tests/solaris/scalar_getrandom.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_ioctl.stdout.exp b/memcheck/tests/solaris/scalar_ioctl.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_lwp_kill.stdout.exp b/memcheck/tests/solaris/scalar_lwp_kill.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_lwp_name.stdout.exp b/memcheck/tests/solaris/scalar_lwp_name.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_lwp_sigqueue.stdout.exp b/memcheck/tests/solaris/scalar_lwp_sigqueue.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_modctl_modnvl.stdout.exp b/memcheck/tests/solaris/scalar_modctl_modnvl.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_obsolete.stdout.exp b/memcheck/tests/solaris/scalar_obsolete.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_shm_new.stdout.exp b/memcheck/tests/solaris/scalar_shm_new.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_spawn.stdout.exp b/memcheck/tests/solaris/scalar_spawn.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_system_stats.stdout.exp b/memcheck/tests/solaris/scalar_system_stats.stdout.exp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/memcheck/tests/solaris/scalar_utimensat.stdout.exp b/memc... [truncated message content] |
|
From: Florian K. <fk...@so...> - 2025-12-12 20:46:18
|
https://sourceware.org/cgit/valgrind/commit/?id=5992b26427872876d1ab979448e070f037731fc2 commit 5992b26427872876d1ab979448e070f037731fc2 Author: Florian Krohm <fl...@ei...> Date: Fri Dec 12 20:43:55 2025 +0000 vex: change ISelEnv allocation No need for dynamic memory allocation. Local variable will do just fine. Saves roughly 136 bytes per IRSB on s390. Diff: --- VEX/priv/host_amd64_isel.c | 4 ++-- VEX/priv/host_arm64_isel.c | 4 ++-- VEX/priv/host_arm_isel.c | 4 ++-- VEX/priv/host_mips_isel.c | 4 ++-- VEX/priv/host_nanomips_isel.c | 4 ++-- VEX/priv/host_ppc_isel.c | 4 ++-- VEX/priv/host_riscv64_isel.c | 4 ++-- VEX/priv/host_s390_isel.c | 4 ++-- VEX/priv/host_x86_isel.c | 4 ++-- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/VEX/priv/host_amd64_isel.c b/VEX/priv/host_amd64_isel.c index 6de40bccfb..3b0c459c49 100644 --- a/VEX/priv/host_amd64_isel.c +++ b/VEX/priv/host_amd64_isel.c @@ -5405,7 +5405,7 @@ HInstrArray* iselSB_AMD64 ( const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; AMD64AMode *amCounter, *amFailAddr; @@ -5430,7 +5430,7 @@ HInstrArray* iselSB_AMD64 ( const IRSB* bb, vassert(archinfo_host->endness == VexEndnessLE); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ diff --git a/VEX/priv/host_arm64_isel.c b/VEX/priv/host_arm64_isel.c index 55d688531d..0c072d5835 100644 --- a/VEX/priv/host_arm64_isel.c +++ b/VEX/priv/host_arm64_isel.c @@ -4641,7 +4641,7 @@ HInstrArray* iselSB_ARM64 ( const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; ARM64AMode *amCounter, *amFailAddr; @@ -4655,7 +4655,7 @@ HInstrArray* iselSB_ARM64 ( const IRSB* bb, vassert(sizeof(ARM64Instr) <= 32); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ diff --git a/VEX/priv/host_arm_isel.c b/VEX/priv/host_arm_isel.c index 71bf871c4f..75041b63b0 100644 --- a/VEX/priv/host_arm_isel.c +++ b/VEX/priv/host_arm_isel.c @@ -6540,7 +6540,7 @@ HInstrArray* iselSB_ARM ( const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; ARMAMode1 *amCounter, *amFailAddr; @@ -6554,7 +6554,7 @@ HInstrArray* iselSB_ARM ( const IRSB* bb, vassert(sizeof(ARMInstr) <= 28); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ diff --git a/VEX/priv/host_mips_isel.c b/VEX/priv/host_mips_isel.c index 7d57078ba8..19c761b00b 100644 --- a/VEX/priv/host_mips_isel.c +++ b/VEX/priv/host_mips_isel.c @@ -7410,7 +7410,7 @@ HInstrArray *iselSB_MIPS ( const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; MIPSAMode *amCounter, *amFailAddr; hwcaps_host = archinfo_host->hwcaps; @@ -7433,7 +7433,7 @@ HInstrArray *iselSB_MIPS ( const IRSB* bb, has_msa = VEX_MIPS_PROC_MSA(archinfo_host->hwcaps); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; env->mode64 = mode64; env->fp_mode64 = fp_mode64; diff --git a/VEX/priv/host_nanomips_isel.c b/VEX/priv/host_nanomips_isel.c index 65998fd8aa..c14dfbc106 100644 --- a/VEX/priv/host_nanomips_isel.c +++ b/VEX/priv/host_nanomips_isel.c @@ -1515,7 +1515,7 @@ HInstrArray *iselSB_NANOMIPS(const IRSB * bb, { Int i, j; HReg hreg, hregHI; - ISelEnv *env; + ISelEnv *env, envmem; hwcaps_host = archinfo_host->hwcaps; /* sanity ... */ vassert(arch_host == VexArchNANOMIPS); @@ -1523,7 +1523,7 @@ HInstrArray *iselSB_NANOMIPS(const IRSB * bb, vassert(archinfo_host->endness == VexEndnessLE || archinfo_host->endness == VexEndnessBE); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ env->code = newHInstrArray(); diff --git a/VEX/priv/host_ppc_isel.c b/VEX/priv/host_ppc_isel.c index ea7ff89a9d..daac1ed16f 100644 --- a/VEX/priv/host_ppc_isel.c +++ b/VEX/priv/host_ppc_isel.c @@ -7259,7 +7259,7 @@ HInstrArray* iselSB_PPC ( const IRSB* bb, { Int i, j; HReg hregLo, hregMedLo, hregMedHi, hregHi; - ISelEnv* env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; Bool mode64 = False; UInt mask32, mask64; @@ -7297,7 +7297,7 @@ HInstrArray* iselSB_PPC ( const IRSB* bb, IEndianess = Iend_LE; /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Are we being ppc32 or ppc64? */ diff --git a/VEX/priv/host_riscv64_isel.c b/VEX/priv/host_riscv64_isel.c index b174d260d0..ca1b8babe5 100644 --- a/VEX/priv/host_riscv64_isel.c +++ b/VEX/priv/host_riscv64_isel.c @@ -2014,7 +2014,7 @@ HInstrArray* iselSB_RISCV64(const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; /* Do some sanity checks. */ vassert(arch_host == VexArchRISCV64); @@ -2026,7 +2026,7 @@ HInstrArray* iselSB_RISCV64(const IRSB* bb, vassert(sizeof(RISCV64Instr) <= 32); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ diff --git a/VEX/priv/host_s390_isel.c b/VEX/priv/host_s390_isel.c index ffe8a82a2a..d128f6eeb0 100644 --- a/VEX/priv/host_s390_isel.c +++ b/VEX/priv/host_s390_isel.c @@ -5497,7 +5497,7 @@ iselSB_S390(const IRSB *bb, VexArch arch_host, const VexArchInfo *archinfo_host, { UInt i, j; HReg hreg, hregHI; - ISelEnv *env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; /* Do some sanity checks */ @@ -5507,7 +5507,7 @@ iselSB_S390(const IRSB *bb, VexArch arch_host, const VexArchInfo *archinfo_host, vassert(archinfo_host->endness == VexEndnessBE); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ diff --git a/VEX/priv/host_x86_isel.c b/VEX/priv/host_x86_isel.c index 72d6b46843..22a5702c05 100644 --- a/VEX/priv/host_x86_isel.c +++ b/VEX/priv/host_x86_isel.c @@ -4586,7 +4586,7 @@ HInstrArray* iselSB_X86 ( const IRSB* bb, { Int i, j; HReg hreg, hregHI; - ISelEnv* env; + ISelEnv *env, envmem; UInt hwcaps_host = archinfo_host->hwcaps; X86AMode *amCounter, *amFailAddr; @@ -4603,7 +4603,7 @@ HInstrArray* iselSB_X86 ( const IRSB* bb, vassert(archinfo_host->endness == VexEndnessLE); /* Make up an initial environment to use. */ - env = LibVEX_Alloc_inline(sizeof(ISelEnv)); + env = &envmem; env->vreg_ctr = 0; /* Set up output code array. */ |
|
From: Paul F. <pa...@so...> - 2025-12-12 12:48:31
|
https://sourceware.org/cgit/valgrind/commit/?id=4a5f1eb1f5c2353aec851507cbb45d188ff52f6e commit 4a5f1eb1f5c2353aec851507cbb45d188ff52f6e Author: Paul Floyd <pj...@wa...> Date: Fri Dec 12 13:47:54 2025 +0100 Darwin suppression: another Helgrind suppression for getaddrinfo in 10.14 Diff: --- darwin-helgrind.supp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/darwin-helgrind.supp b/darwin-helgrind.supp index db923303ac..e4f628997a 100644 --- a/darwin-helgrind.supp +++ b/darwin-helgrind.supp @@ -184,3 +184,9 @@ fun:getpwuid_r } +{ + macOS1014:_objc_msgSend_uncached + Helgrind:Race + ... + fun:_objc_msgSend_uncached +} |
|
From: Andreas A. <ar...@so...> - 2025-12-11 12:46:33
|
https://sourceware.org/cgit/valgrind/commit/?id=b811351450b3b4637457849b720cc922e503a5bf commit b811351450b3b4637457849b720cc922e503a5bf Author: Andreas Arnez <ar...@li...> Date: Fri Dec 5 18:01:22 2025 +0100 s390x: Simplify single multiplications So far the single-multiplication instructions are implemented by taking the low half of a widening multiply. This pattern is then recognized by the instruction selector, which combines it to a single multiplication again. This is unnecessarily complicated, since single-multiply operations can be expressed directly by Iop_Mul32 and Iop_Mul64 instead. So do this, simplifying the code generation. Also, since Iop_Mul32 and Iop_Mul64 haven't really been used before, the instruction selector generates sub-optimal code for them. Fix that. Diff: --- VEX/priv/guest_s390_toIR.c | 106 ++++++++------------------------------------- VEX/priv/host_s390_isel.c | 21 ++++----- 2 files changed, 30 insertions(+), 97 deletions(-) diff --git a/VEX/priv/guest_s390_toIR.c b/VEX/priv/guest_s390_toIR.c index 8f42c844d3..9e850b78ff 100644 --- a/VEX/priv/guest_s390_toIR.c +++ b/VEX/priv/guest_s390_toIR.c @@ -9015,14 +9015,7 @@ s390_irgen_MLG(UChar r1, IRTemp op2addr) static const HChar * s390_irgen_MSR(UChar r1, UChar r2) { - IRTemp op1 = newTemp(Ity_I32); - IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I64); - - assign(op1, get_gpr_w1(r1)); - assign(op2, get_gpr_w1(r2)); - assign(result, binop(Iop_MullS32, mkexpr(op1), mkexpr(op2))); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, binop(Iop_Mul32, get_gpr_w1(r1), get_gpr_w1(r2))); return "msr"; } @@ -9030,14 +9023,7 @@ s390_irgen_MSR(UChar r1, UChar r2) static const HChar * s390_irgen_MSGR(UChar r1, UChar r2) { - IRTemp op1 = newTemp(Ity_I64); - IRTemp op2 = newTemp(Ity_I64); - IRTemp result = newTemp(Ity_I128); - - assign(op1, get_gpr_dw0(r1)); - assign(op2, get_gpr_dw0(r2)); - assign(result, binop(Iop_MullS64, mkexpr(op1), mkexpr(op2))); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0(r1, binop(Iop_Mul64, get_gpr_dw0(r1), get_gpr_dw0(r2))); return "msgr"; } @@ -9045,15 +9031,8 @@ s390_irgen_MSGR(UChar r1, UChar r2) static const HChar * s390_irgen_MSGFR(UChar r1, UChar r2) { - IRTemp op1 = newTemp(Ity_I64); - IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I128); - - assign(op1, get_gpr_dw0(r1)); - assign(op2, get_gpr_w1(r2)); - assign(result, binop(Iop_MullS64, mkexpr(op1), unop(Iop_32Sto64, mkexpr(op2)) - )); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0( + r1, binop(Iop_Mul64, get_gpr_dw0(r1), unop(Iop_32Sto64, get_gpr_w1(r2)))); return "msgfr"; } @@ -9061,14 +9040,8 @@ s390_irgen_MSGFR(UChar r1, UChar r2) static const HChar * s390_irgen_MS(UChar r1, IRTemp op2addr) { - IRTemp op1 = newTemp(Ity_I32); - IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I64); - - assign(op1, get_gpr_w1(r1)); - assign(op2, load(Ity_I32, mkexpr(op2addr))); - assign(result, binop(Iop_MullS32, mkexpr(op1), mkexpr(op2))); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, + binop(Iop_Mul32, get_gpr_w1(r1), load(Ity_I32, mkexpr(op2addr)))); return "ms"; } @@ -9078,13 +9051,11 @@ s390_irgen_MSC(UChar r1, IRTemp op2addr) { IRTemp op1 = newTemp(Ity_I32); IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I64); assign(op1, get_gpr_w1(r1)); assign(op2, load(Ity_I32, mkexpr(op2addr))); - assign(result, binop(Iop_MullS32, mkexpr(op1), mkexpr(op2))); s390_cc_thunk_putSS(S390_CC_OP_MUL_32, op1, op2); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, binop(Iop_Mul32, mkexpr(op1), mkexpr(op2))); return "msc"; } @@ -9094,13 +9065,11 @@ s390_irgen_MSRKC(UChar r3, UChar r1, UChar r2) { IRTemp op2 = newTemp(Ity_I32); IRTemp op3 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I64); assign(op2, get_gpr_w1(r2)); assign(op3, get_gpr_w1(r3)); - assign(result, binop(Iop_MullS32, mkexpr(op2), mkexpr(op3))); s390_cc_thunk_putSS(S390_CC_OP_MUL_32, op2, op3); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, binop(Iop_Mul32, mkexpr(op2), mkexpr(op3))); return "msrkc"; } @@ -9108,14 +9077,8 @@ s390_irgen_MSRKC(UChar r3, UChar r1, UChar r2) static const HChar * s390_irgen_MSY(UChar r1, IRTemp op2addr) { - IRTemp op1 = newTemp(Ity_I32); - IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I64); - - assign(op1, get_gpr_w1(r1)); - assign(op2, load(Ity_I32, mkexpr(op2addr))); - assign(result, binop(Iop_MullS32, mkexpr(op1), mkexpr(op2))); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, + binop(Iop_Mul32, get_gpr_w1(r1), load(Ity_I32, mkexpr(op2addr)))); return "msy"; } @@ -9123,14 +9086,8 @@ s390_irgen_MSY(UChar r1, IRTemp op2addr) static const HChar * s390_irgen_MSG(UChar r1, IRTemp op2addr) { - IRTemp op1 = newTemp(Ity_I64); - IRTemp op2 = newTemp(Ity_I64); - IRTemp result = newTemp(Ity_I128); - - assign(op1, get_gpr_dw0(r1)); - assign(op2, load(Ity_I64, mkexpr(op2addr))); - assign(result, binop(Iop_MullS64, mkexpr(op1), mkexpr(op2))); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0(r1, + binop(Iop_Mul64, get_gpr_dw0(r1), load(Ity_I64, mkexpr(op2addr)))); return "msg"; } @@ -9140,13 +9097,11 @@ s390_irgen_MSGC(UChar r1, IRTemp op2addr) { IRTemp op1 = newTemp(Ity_I64); IRTemp op2 = newTemp(Ity_I64); - IRTemp result = newTemp(Ity_I128); assign(op1, get_gpr_dw0(r1)); assign(op2, load(Ity_I64, mkexpr(op2addr))); - assign(result, binop(Iop_MullS64, mkexpr(op1), mkexpr(op2))); s390_cc_thunk_putSS(S390_CC_OP_MUL_64, op1, op2); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0(r1, binop(Iop_Mul64, mkexpr(op1), mkexpr(op2))); return "msgc"; } @@ -9154,15 +9109,8 @@ s390_irgen_MSGC(UChar r1, IRTemp op2addr) static const HChar * s390_irgen_MSGF(UChar r1, IRTemp op2addr) { - IRTemp op1 = newTemp(Ity_I64); - IRTemp op2 = newTemp(Ity_I32); - IRTemp result = newTemp(Ity_I128); - - assign(op1, get_gpr_dw0(r1)); - assign(op2, load(Ity_I32, mkexpr(op2addr))); - assign(result, binop(Iop_MullS64, mkexpr(op1), unop(Iop_32Sto64, mkexpr(op2)) - )); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0(r1, binop(Iop_Mul64, get_gpr_dw0(r1), + unop(Iop_32Sto64, load(Ity_I32, mkexpr(op2addr))))); return "msgf"; } @@ -9170,14 +9118,7 @@ s390_irgen_MSGF(UChar r1, IRTemp op2addr) static const HChar * s390_irgen_MSFI(UChar r1, UInt i2) { - IRTemp op1 = newTemp(Ity_I32); - Int op2; - IRTemp result = newTemp(Ity_I64); - - assign(op1, get_gpr_w1(r1)); - op2 = (Int)i2; - assign(result, binop(Iop_MullS32, mkexpr(op1), mkU32((UInt)op2))); - put_gpr_w1(r1, unop(Iop_64to32, mkexpr(result))); + put_gpr_w1(r1, binop(Iop_Mul32, get_gpr_w1(r1), mkU32(i2))); return "msfi"; } @@ -9185,15 +9126,8 @@ s390_irgen_MSFI(UChar r1, UInt i2) static const HChar * s390_irgen_MSGFI(UChar r1, UInt i2) { - IRTemp op1 = newTemp(Ity_I64); - Int op2; - IRTemp result = newTemp(Ity_I128); - - assign(op1, get_gpr_dw0(r1)); - op2 = (Int)i2; - assign(result, binop(Iop_MullS64, mkexpr(op1), unop(Iop_32Sto64, mkU32((UInt) - op2)))); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + ULong op2 = (ULong)i2 - (((ULong)i2 & (1 << 31)) << 1); + put_gpr_dw0(r1, binop(Iop_Mul64, get_gpr_dw0(r1), mkU64(op2))); return "msgfi"; } @@ -9203,13 +9137,11 @@ s390_irgen_MSGRKC(UChar r3, UChar r1, UChar r2) { IRTemp op2 = newTemp(Ity_I64); IRTemp op3 = newTemp(Ity_I64); - IRTemp result = newTemp(Ity_I128); assign(op2, get_gpr_dw0(r2)); assign(op3, get_gpr_dw0(r3)); - assign(result, binop(Iop_MullS64, mkexpr(op2), mkexpr(op3))); s390_cc_thunk_putSS(S390_CC_OP_MUL_64, op2, op3); - put_gpr_dw0(r1, unop(Iop_128to64, mkexpr(result))); + put_gpr_dw0(r1, binop(Iop_Mul64, mkexpr(op2), mkexpr(op3))); return "msgrkc"; } diff --git a/VEX/priv/host_s390_isel.c b/VEX/priv/host_s390_isel.c index 9cb9b65d3b..ffe8a82a2a 100644 --- a/VEX/priv/host_s390_isel.c +++ b/VEX/priv/host_s390_isel.c @@ -1277,13 +1277,21 @@ s390_isel_int_expr_wrk(ISelEnv *env, IRExpr *expr) goto do_multiply; do_multiply: { - HReg r10, r11; - UInt arg_size = is_single_multiply ? size : size / 2; - order_commutative_operands(arg1, arg2); h1 = s390_isel_int_expr(env, arg1); /* Process 1st operand */ op2 = s390_isel_int_expr_RMI(env, arg2); /* Process 2nd operand */ + res = newVRegI(env); + + if (is_single_multiply) { + /* No register pair needed */ + addInstr(env, s390_insn_move(size, res, h1)); + addInstr(env, s390_insn_alu(size, S390_ALU_MUL, res, op2)); + return res; + } + + HReg r10, r11; + UInt arg_size = size / 2; /* We use non-virtual registers r10 and r11 as pair */ r10 = make_gpr(10); @@ -1295,7 +1303,6 @@ s390_isel_int_expr_wrk(ISelEnv *env, IRExpr *expr) /* Multiply */ addInstr(env, s390_insn_mul(arg_size, r10, r11, op2, is_signed_multiply)); - res = newVRegI(env); if (arg_size == 1 || arg_size == 2) { /* For 8-bit and 16-bit multiplication the result is in r11[32:63] */ @@ -1303,12 +1310,6 @@ s390_isel_int_expr_wrk(ISelEnv *env, IRExpr *expr) return res; } - /* For Iop_Mul64 the result is in r11[0:63] */ - if (expr->Iex.Binop.op == Iop_Mul64) { - addInstr(env, s390_insn_move(size, res, r11)); - return res; - } - /* The result is in registers r10 and r11. Combine them into a SIZE-bit value into the destination register. */ addInstr(env, s390_insn_move(arg_size, res, r10)); |
|
From: Paul F. <pa...@so...> - 2025-12-11 08:08:53
|
https://sourceware.org/cgit/valgrind/commit/?id=68bc32225cc83f6c2df79c03ad8ef4d1d4447d15 commit 68bc32225cc83f6c2df79c03ad8ef4d1d4447d15 Author: Paul Floyd <pj...@wa...> Date: Thu Dec 11 09:06:38 2025 +0100 Darwin regtest: update a few expecteds One predated correct redirection of the C++ library operator new One has a few line number changes plus I removed an assert that is firing (asserts firing in tests is never a good thing). And the last one is just line number changes. Diff: --- .../annotate_smart_pointer2.stderr.exp-darwin | 4 +-- drd/tests/pth_detached3.stderr.exp1 | 4 +-- .../tc23_bogus_condwait.stderr.exp-darwin-amd64 | 40 +++++++++------------- 3 files changed, 21 insertions(+), 27 deletions(-) diff --git a/drd/tests/annotate_smart_pointer2.stderr.exp-darwin b/drd/tests/annotate_smart_pointer2.stderr.exp-darwin index 54fa41e12a..e3e33c5c57 100644 --- a/drd/tests/annotate_smart_pointer2.stderr.exp-darwin +++ b/drd/tests/annotate_smart_pointer2.stderr.exp-darwin @@ -1,12 +1,12 @@ Conflicting store by thread x at 0x........ size 4 at 0x........: counter::~counter() (annotate_smart_pointer.cpp:?) + by 0x........: counter::~counter() (annotate_smart_pointer.cpp:?) by 0x........: smart_ptr<counter>::set(counter*, AtomicInt32*) (annotate_smart_pointer.cpp:?) by 0x........: smart_ptr<counter>::operator=(counter*) (annotate_smart_pointer.cpp:?) by 0x........: main (annotate_smart_pointer.cpp:?) Address 0x........ is at offset ... from 0x......... Allocation context: - at 0x........: malloc (vg_replace_malloc.c:...) - by 0x........: operator new(unsigned long) (in /usr/lib/libstdc++.6.0.9.dylib) + at 0x........: ...operator new... (vg_replace_malloc.c:...) by 0x........: main (annotate_smart_pointer.cpp:?) Done. diff --git a/drd/tests/pth_detached3.stderr.exp1 b/drd/tests/pth_detached3.stderr.exp1 index 8dd58ba0f3..683d634b0e 100644 --- a/drd/tests/pth_detached3.stderr.exp1 +++ b/drd/tests/pth_detached3.stderr.exp1 @@ -1,11 +1,11 @@ pthread_detach(): invalid thread ID 0x........ at 0x........: pthread_detach (drd_pthread_intercepts.c:?) - by 0x........: main (pth_detached3.c:22) + by 0x........: main (pth_detached3.c:26) pthread_detach(): invalid thread ID 0x........ at 0x........: pthread_detach (drd_pthread_intercepts.c:?) - by 0x........: main (pth_detached3.c:25) + by 0x........: main (pth_detached3.c:32) Finished. diff --git a/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 b/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 index 3310390001..9fc4b77d79 100644 --- a/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 +++ b/drd/tests/tc23_bogus_condwait.stderr.exp-darwin-amd64 @@ -1,76 +1,70 @@ The object at address 0x........ is not a mutex. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:69) + by 0x........: main (tc23_bogus_condwait.c:75) Mutex not locked: mutex 0x........, recursion count 0, owner 0. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:72) + by 0x........: main (tc23_bogus_condwait.c:79) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:54) + by 0x........: main (tc23_bogus_condwait.c:59) Thread 3: Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:20) + by 0x........: rescue_me (tc23_bogus_condwait.c:24) by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) cond 0x........ was first observed at: at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) + by 0x........: main (tc23_bogus_condwait.c:61) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:54) + by 0x........: main (tc23_bogus_condwait.c:59) Thread 1: The object at address 0x........ is not a mutex. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:75) + by 0x........: main (tc23_bogus_condwait.c:82) rwlock 0x........ was first observed at: at 0x........: pthread_rwlock_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:57) + by 0x........: main (tc23_bogus_condwait.c:62) Mutex not locked by calling thread: mutex 0x........, recursion count 1, owner 2. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:78) + by 0x........: main (tc23_bogus_condwait.c:85) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) + by 0x........: main (tc23_bogus_condwait.c:58) Thread 3: Probably a race condition: condition variable 0x........ has been signaled but the associated mutex 0x........ is not locked by the signalling thread. at 0x........: pthread_cond_signal (drd_pthread_intercepts.c:?) - by 0x........: rescue_me (tc23_bogus_condwait.c:24) + by 0x........: rescue_me (tc23_bogus_condwait.c:29) by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) cond 0x........ was first observed at: at 0x........: pthread_cond_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:56) + by 0x........: main (tc23_bogus_condwait.c:61) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) + by 0x........: main (tc23_bogus_condwait.c:58) Thread 1: The impossible happened: mutex is locked simultaneously by two threads: mutex 0x........, recursion count 1, owner 2. at 0x........: pthread_cond_wait (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:78) + by 0x........: main (tc23_bogus_condwait.c:85) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) + by 0x........: main (tc23_bogus_condwait.c:58) Thread 2: Mutex not locked by calling thread: mutex 0x........, recursion count 2, owner 1. at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: grab_the_lock (tc23_bogus_condwait.c:42) + by 0x........: grab_the_lock (tc23_bogus_condwait.c:47) by 0x........: vgDrd_thread_wrapper (drd_pthread_intercepts.c:?) mutex 0x........ was first observed at: at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (tc23_bogus_condwait.c:53) - -Assertion failed: (!r), function main, file tc23_bogus_condwait.c, line 86. + by 0x........: main (tc23_bogus_condwait.c:58) -Process terminating with default action of signal 6 (SIGABRT) - at 0x........: __kill (in /...libc...) - by 0x........: __assert_rtn (in /...libc...) - by 0x........: main (tc23_bogus_condwait.c:86) ERROR SUMMARY: 10 errors from 8 contexts (suppressed: 0 from 0) |
|
From: Paul F. <pa...@so...> - 2025-12-11 08:06:46
|
https://sourceware.org/cgit/valgrind/commit/?id=ef6b8d841b6fe79ba1d8475d2798e22540e8e7b9 commit ef6b8d841b6fe79ba1d8475d2798e22540e8e7b9 Author: Paul Floyd <pj...@wa...> Date: Thu Dec 11 09:03:08 2025 +0100 Darwin libcproc: fix for VG_(read_millisecond_timer) This function had some peculiar workaround for how the result was handled. That peculiarity seems to have gone away (some time before Darwin 17). Now use 'normal' handling for the result for Darwin 17+. This was causing some DRD timed mutex testcases to fail. Code copied from Louis Brunner. Diff: --- coregrind/m_libcproc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/coregrind/m_libcproc.c b/coregrind/m_libcproc.c index 7c4d6acc9d..4c4b96eefb 100644 --- a/coregrind/m_libcproc.c +++ b/coregrind/m_libcproc.c @@ -1052,7 +1052,15 @@ UInt VG_(read_millisecond_timer) ( void ) struct vki_timeval tv_now = { 0, 0 }; res = VG_(do_syscall2)(__NR_gettimeofday, (UWord)&tv_now, (UWord)NULL); vg_assert(! sr_isError(res)); +# if DARWIN_VERS >= DARWIN_10_13 + now = tv_now.tv_sec * 1000000ULL + tv_now.tv_usec; +# else + // Weird: it seems that gettimeofday() doesn't fill in the timeval, but + // rather returns the tv_sec as the low 32 bits of the result and the + // tv_usec as the high 32 bits of the result. (But the timeval cannot be + // NULL!) See bug 200990. now = sr_Res(res) * 1000000ULL + sr_ResHI(res); +#endif } # else |
|
From: Paul F. <pa...@so...> - 2025-12-11 07:05:53
|
https://sourceware.org/cgit/valgrind/commit/?id=38fbc300b38aeb7b337abe0526eaa7f738b305dc commit 38fbc300b38aeb7b337abe0526eaa7f738b305dc Author: Paul Floyd <pj...@wa...> Date: Thu Dec 11 08:03:46 2025 +0100 Darwin DRD: add a bodge for LLVM DWARF that our reader does not like Longer term, need to understand Apple DWARF quirks and adapt to them as necessary. Diff: --- coregrind/m_debuginfo/readdwarf3.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index 374237498e..b67e41b7cf 100644 --- a/coregrind/m_debuginfo/readdwarf3.c +++ b/coregrind/m_debuginfo/readdwarf3.c @@ -2977,6 +2977,14 @@ static void parse_var_DIE ( if (level == 0) setup_cu_svma(cc, have_lo, ip_lo, td3); +#if defined(VGO_darwin) + // FIXME PJF Darwin LLVM generates this (non-standard?) combination + // it only seems to affect DRD + if (have_lo && have_range && !have_hi1) { + have_lo = False; + } +#endif + /* Do we have something that looks sane? */ if (have_lo && have_hi1 && (!have_range)) { if (ip_lo < ip_hi1) |
|
From: Paul F. <pa...@so...> - 2025-12-10 12:37:50
|
https://sourceware.org/cgit/valgrind/commit/?id=8b901a6ca28b80e5ebaef33bc36f95163ae58dc1 commit 8b901a6ca28b80e5ebaef33bc36f95163ae58dc1 Author: Paul Floyd <pj...@wa...> Date: Wed Dec 10 13:35:49 2025 +0100 Darwin warnings: add options to turn off warnings from system headers Darwin 18 / clang 11 are quite noisy with nullability and expansion to defined warnings in the system headers. Diff: --- Makefile.all.am | 1 + configure.ac | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.all.am b/Makefile.all.am index df78960167..154585dce3 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -151,6 +151,7 @@ if VGCONF_OS_IS_DARWIN AM_CFLAGS_PSO_BASE = -dynamic \ -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ -fpic -fPIC -fno-builtin @FLAG_FNO_IPA_ICF@ +AM_CFLAGS_BASE += @FLAG_W_NO_EXPANSION_TO_DEFINED@ @FLAG_W_NO_NULLABILITY_COMPLETENESS@ else if VGCONF_OS_IS_FREEBSD AM_CFLAGS_PSO_BASE = -O -g -fno-omit-frame-pointer -fno-strict-aliasing \ diff --git a/configure.ac b/configure.ac index 40330fdc31..5deb338fa3 100644 --- a/configure.ac +++ b/configure.ac @@ -2749,6 +2749,7 @@ AC_GCC_WARNING_SUBST_NO([deprecated], [FLAG_W_NO_DEPRECATED]) # OK for 32 and 64 bit AC_GCC_WARNING_SUBST_NO([alloc-size], [FLAG_W_NO_ALLOC_SIZE]) AC_GCC_WARNING_SUBST_NO([deprecated-declarations], [FLAG_W_NO_DEPRECATED_DECLARATIONS]) +AC_GCC_WARNING_SUBST_NO([nullability-completeness], [FLAG_W_NO_NULLABILITY_COMPLETENESS]) AC_GCC_WARNING_SUBST([write-strings], [FLAG_W_WRITE_STRINGS]) AC_GCC_WARNING_SUBST([empty-body], [FLAG_W_EMPTY_BODY]) |
|
From: Paul F. <pa...@so...> - 2025-12-10 12:17:40
|
https://sourceware.org/cgit/valgrind/commit/?id=2e773335b768d9e0ec67bcc0a0d6c6424c2cfd5a commit 2e773335b768d9e0ec67bcc0a0d6c6424c2cfd5a Author: Paul Floyd <pj...@wa...> Date: Wed Dec 10 13:16:54 2025 +0100 Regtest: fix and x86 test unused function warning Diff: --- none/tests/x86/Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/none/tests/x86/Makefile.am b/none/tests/x86/Makefile.am index 18e707cba0..b95631a21c 100644 --- a/none/tests/x86/Makefile.am +++ b/none/tests/x86/Makefile.am @@ -183,6 +183,7 @@ insn_sse3_SOURCES = insn_sse3.def insn_sse3_LDADD = -lm insn_ssse3_SOURCES = insn_ssse3.def insn_ssse3_LDADD = -lm +sse4_x86_CFLAGS = ${AM_CFLAGS} @FLAG_W_NO_UNUSED_FUNCTION@ x86locked_CFLAGS = $(AM_CFLAGS) -O yield_LDADD = -lpthread |
|
From: Paul F. <pa...@so...> - 2025-12-10 08:02:19
|
https://sourceware.org/cgit/valgrind/commit/?id=720d388d91e88571e3618b87b2f2192b23222719 commit 720d388d91e88571e3618b87b2f2192b23222719 Author: Paul Floyd <pj...@wa...> Date: Wed Dec 10 08:58:25 2025 +0100 Darwin regtest: numerous bits of Darwin 18 cleanup Add a few more ignore-fn options to the massif tests for the extra leaks that are in Darwin 18. Add some suppressions to a couple of memcheck tests that use num-callers of 2 or 3. The shorter callsteack means some of the many Darwin default suppressions don't match which was causing these tests to fail. Add more DRD suppressions for getaddrinfo. There seems to be a never ending amount of conflicts in dyld. Diff: --- darwin-drd.supp | 53 ++++++++++++++++++++++++++++++++++++ massif/tests/alloc-fns-A.vgtest | 2 ++ massif/tests/alloc-fns-B.vgtest | 2 ++ massif/tests/basic.vgtest | 2 ++ massif/tests/basic2.vgtest | 2 ++ massif/tests/big-alloc.vgtest | 2 ++ massif/tests/bug469146.vgtest | 2 ++ massif/tests/culling1.stderr.exp | 3 ++ massif/tests/culling1.vgtest | 2 ++ massif/tests/culling2.stderr.exp | 3 ++ massif/tests/culling2.vgtest | 2 ++ massif/tests/custom_alloc.vgtest | 2 ++ massif/tests/deep-A.vgtest | 2 ++ massif/tests/deep-B.stderr.exp | 3 ++ massif/tests/deep-B.vgtest | 2 ++ massif/tests/deep-C.stderr.exp | 3 ++ massif/tests/deep-C.vgtest | 2 ++ massif/tests/deep-D.vgtest | 2 ++ massif/tests/ignored.vgtest | 2 ++ massif/tests/ignoring.vgtest | 2 ++ massif/tests/inlinfomalloc.vgtest | 2 ++ massif/tests/insig.vgtest | 2 ++ massif/tests/long-names.vgtest | 2 ++ massif/tests/long-time.vgtest | 2 ++ massif/tests/new-cpp.vgtest | 2 ++ massif/tests/null.vgtest | 2 ++ massif/tests/one.vgtest | 2 ++ massif/tests/overloaded-new.vgtest | 2 ++ massif/tests/peak.vgtest | 2 ++ massif/tests/peak2.stderr.exp | 3 ++ massif/tests/peak2.vgtest | 2 ++ massif/tests/realloc.stderr.exp | 3 ++ massif/tests/realloc.vgtest | 2 ++ massif/tests/thresholds_0_0.vgtest | 2 ++ massif/tests/thresholds_0_10.vgtest | 2 ++ massif/tests/thresholds_10_0.vgtest | 2 ++ massif/tests/thresholds_10_10.vgtest | 2 ++ massif/tests/thresholds_5_0.vgtest | 2 ++ massif/tests/thresholds_5_10.vgtest | 2 ++ massif/tests/zero1.vgtest | 2 ++ massif/tests/zero2.vgtest | 2 ++ memcheck/tests/Makefile.am | 1 + memcheck/tests/badfree-2trace.vgtest | 2 +- memcheck/tests/darwin.supp | 34 +++++++++++++++++++++++ memcheck/tests/err_disable4.vgtest | 2 +- 45 files changed, 176 insertions(+), 2 deletions(-) diff --git a/darwin-drd.supp b/darwin-drd.supp index 76bdd86368..39f9b9b638 100644 --- a/darwin-drd.supp +++ b/darwin-drd.supp @@ -367,3 +367,56 @@ ... fun:_ZN4dyldL8addImageEP11ImageLoader } + +{ + macOS1014:isKnownClass(objc_class*) + drd:ConflictingAccess + fun:_ZL12isKnownClassP10objc_class +} + +{ + macOS1014:ImageLoader::ImageLoader(char const*, unsigned int) + drd:ConflictingAccess + fun:_ZN11ImageLoaderC2EPKcj +} + +{ + macOS1014:_os_once_callout + drd:ConflictingAccess + ... + fun:_os_once_callout +} + +{ + macOS1014:ImageLoaderMachO::ImageLoaderMachO(macho_header const*, char const*, unsigned int, unsigned int*, unsigned int) + drd:ConflictingAccess + fun:_ZN16ImageLoaderMachOC2EPK12macho_headerPKcjPjj +} + +{ + macOS1014:_fsi_get_validation + drd:ConflictingAccess + ... + fun:_fsi_get_validation +} + +{ + macOS1014:__nw_context_copy_implicit_context_block_invoke + drd:ConflictingAccess + ... + fun:__nw_context_copy_implicit_context_block_invoke +} + +{ + macOS1014:_objc_msgSend_uncached + drd:ConflictingAccess + ... + fun:_objc_msgSend_uncached +} + +{ + macOS1014:dyld::load(char const*, dyld::LoadContext const&, unsigned int&) + drd:ConflictingAccess + ... + fun:_ZN4dyld4loadEPKcRKNS_11LoadContextERj +} diff --git a/massif/tests/alloc-fns-A.vgtest b/massif/tests/alloc-fns-A.vgtest index a605a9b31d..c9163223d4 100644 --- a/massif/tests/alloc-fns-A.vgtest +++ b/massif/tests/alloc-fns-A.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/alloc-fns-B.vgtest b/massif/tests/alloc-fns-B.vgtest index 24da5ad029..e7329a378a 100644 --- a/massif/tests/alloc-fns-B.vgtest +++ b/massif/tests/alloc-fns-B.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --alloc-fn=a4 --alloc-fn=b4 --a vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/basic.vgtest b/massif/tests/basic.vgtest index 6a67f8a607..87c3a64444 100644 --- a/massif/tests/basic.vgtest +++ b/massif/tests/basic.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/basic2.vgtest b/massif/tests/basic2.vgtest index 36e3118693..1dce7706f4 100644 --- a/massif/tests/basic2.vgtest +++ b/massif/tests/basic2.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out --detailed-freq=1 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/big-alloc.vgtest b/massif/tests/big-alloc.vgtest index d7242de195..7f9149d912 100644 --- a/massif/tests/big-alloc.vgtest +++ b/massif/tests/big-alloc.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/bug469146.vgtest b/massif/tests/bug469146.vgtest index 60847a185d..3bf1b60c10 100644 --- a/massif/tests/bug469146.vgtest +++ b/massif/tests/bug469146.vgtest @@ -6,5 +6,7 @@ vgopts: --ignore-fn=call_init --ignore-fn=pool vgopts: --ignore-fn=filter_function1 --ignore-fn="filter_function2(int)" --ignore-fn=filter_function3 # macOS allocations vgopts: --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn=map_images_nolock --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInser --ignore-fn=add_class_to_loadable_list --ignore-fn=NXHashInsert --ignore-fn=class_createInstance --ignore-fn=_xpc_malloc --ignore-fn=strdup --ignore-fn=_xpc_calloc +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | sed 's/gcc[0-9]*/gcc/' | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/culling1.stderr.exp b/massif/tests/culling1.stderr.exp index 812113d860..e277dc60ea 100644 --- a/massif/tests/culling1.stderr.exp +++ b/massif/tests/culling1.stderr.exp @@ -36,6 +36,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:32, hp:16, ex:16, st:0) Massif: alloc S. 2 (t:64, hp:32, ex:32, st:0) diff --git a/massif/tests/culling1.vgtest b/massif/tests/culling1.vgtest index 91f6056124..5247e1b711 100644 --- a/massif/tests/culling1.vgtest +++ b/massif/tests/culling1.vgtest @@ -3,5 +3,7 @@ vgopts: -v -v --stats=yes --stacks=no --time-unit=B --heap-admin=16 --massif-out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose cleanup: rm massif.out diff --git a/massif/tests/culling2.stderr.exp b/massif/tests/culling2.stderr.exp index 07a14e645d..599d0f0aa6 100644 --- a/massif/tests/culling2.stderr.exp +++ b/massif/tests/culling2.stderr.exp @@ -36,6 +36,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:16, hp:0, ex:16, st:0) Massif: alloc S. 2 (t:432, hp:400, ex:32, st:0) diff --git a/massif/tests/culling2.vgtest b/massif/tests/culling2.vgtest index 186a41729c..847010e1ef 100644 --- a/massif/tests/culling2.vgtest +++ b/massif/tests/culling2.vgtest @@ -3,5 +3,7 @@ vgopts: -v -v --stats=yes --stacks=no --time-unit=B --heap-admin=16 --massif-out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose cleanup: rm massif.out diff --git a/massif/tests/custom_alloc.vgtest b/massif/tests/custom_alloc.vgtest index 58e68c67fe..c651534da5 100644 --- a/massif/tests/custom_alloc.vgtest +++ b/massif/tests/custom_alloc.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=16 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/deep-A.vgtest b/massif/tests/deep-A.vgtest index 01139e0f7c..77fc9d0e3d 100644 --- a/massif/tests/deep-A.vgtest +++ b/massif/tests/deep-A.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --depth=8 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/deep-B.stderr.exp b/massif/tests/deep-B.stderr.exp index 526f6225ca..7f7c332b92 100644 --- a/massif/tests/deep-B.stderr.exp +++ b/massif/tests/deep-B.stderr.exp @@ -43,6 +43,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:408, hp:400, ex:8, st:0) Massif: alloc S. 2 (t:816, hp:800, ex:16, st:0) diff --git a/massif/tests/deep-B.vgtest b/massif/tests/deep-B.vgtest index 75e9f10f02..0328353b37 100644 --- a/massif/tests/deep-B.vgtest +++ b/massif/tests/deep-B.vgtest @@ -3,6 +3,8 @@ vgopts: --stats=yes --stacks=no --time-unit=B --alloc-fn=a6 --alloc-fn=a7 --allo vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/deep-C.stderr.exp b/massif/tests/deep-C.stderr.exp index 53dfc700a8..39b35f139b 100644 --- a/massif/tests/deep-C.stderr.exp +++ b/massif/tests/deep-C.stderr.exp @@ -46,6 +46,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:408, hp:400, ex:8, st:0) Massif: alloc S. 2 (t:816, hp:800, ex:16, st:0) diff --git a/massif/tests/deep-C.vgtest b/massif/tests/deep-C.vgtest index aa592c5570..b21e5df8b1 100644 --- a/massif/tests/deep-C.vgtest +++ b/massif/tests/deep-C.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --time-unit=B --alloc-fn=a3 --alloc-fn=a4 --alloc-fn=a5 --al vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/deep-D.vgtest b/massif/tests/deep-D.vgtest index 2259b309f5..374f2afc29 100644 --- a/massif/tests/deep-D.vgtest +++ b/massif/tests/deep-D.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --alloc-fn=a1 --alloc-fn=a2 --alloc-fn=a3 --al vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ../../tests/filter_libc | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/ignored.vgtest b/massif/tests/ignored.vgtest index acd67b87a3..7f9448156e 100644 --- a/massif/tests/ignored.vgtest +++ b/massif/tests/ignored.vgtest @@ -4,5 +4,7 @@ vgopts: --ignore-fn=ignore1 --ignore-fn=ignore2 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/ignoring.vgtest b/massif/tests/ignoring.vgtest index bcaf7a8ec3..7181f3435a 100644 --- a/massif/tests/ignoring.vgtest +++ b/massif/tests/ignoring.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/inlinfomalloc.vgtest b/massif/tests/inlinfomalloc.vgtest index 4b410b6ad8..8f5c401e4d 100644 --- a/massif/tests/inlinfomalloc.vgtest +++ b/massif/tests/inlinfomalloc.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --heap-admin=0 --time-unit=B --threshold=0 --detailed-freq=6 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # macOS allocations vgopts: --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=map_images_nolock --ignore-fn=NXCreateHashTableFromZone --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=_xpc_malloc --ignore-fn=strdup --ignore-fn=_xpc_calloc +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/insig.vgtest b/massif/tests/insig.vgtest index a23eedb0ef..a2994b5244 100644 --- a/massif/tests/insig.vgtest +++ b/massif/tests/insig.vgtest @@ -4,5 +4,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=128 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/long-names.vgtest b/massif/tests/long-names.vgtest index eff405574d..562778deec 100644 --- a/massif/tests/long-names.vgtest +++ b/massif/tests/long-names.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out -- vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/long-time.vgtest b/massif/tests/long-time.vgtest index 3d038d353d..16d0af0fa3 100644 --- a/massif/tests/long-time.vgtest +++ b/massif/tests/long-time.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/new-cpp.vgtest b/massif/tests/new-cpp.vgtest index 19ea0db35e..aa966243de 100644 --- a/massif/tests/new-cpp.vgtest +++ b/massif/tests/new-cpp.vgtest @@ -5,5 +5,7 @@ vgopts: --ignore-fn=get_or_create_key_element --ignore-fn=_GLOBAL__sub_I_eh_allo vgopts: --ignore-fn=call_init --ignore-fn=pool # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | sed 's/gcc[0-9]*/gcc/' | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/null.vgtest b/massif/tests/null.vgtest index 89a3152fcf..bab26da37f 100644 --- a/massif/tests/null.vgtest +++ b/massif/tests/null.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/one.vgtest b/massif/tests/one.vgtest index a51f019b9f..aa867395e7 100644 --- a/massif/tests/one.vgtest +++ b/massif/tests/one.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/overloaded-new.vgtest b/massif/tests/overloaded-new.vgtest index 292b6cc73f..cf41ad2a7a 100644 --- a/massif/tests/overloaded-new.vgtest +++ b/massif/tests/overloaded-new.vgtest @@ -6,5 +6,7 @@ vgopts: --ignore-fn=get_or_create_key_element --ignore-fn=_GLOBAL__sub_I_eh_allo vgopts: --ignore-fn=call_init --ignore-fn=pool # macOS allocations vgopts: --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn=map_images_nolock --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=_xpc_malloc +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | sed 's/gcc[0-9]*/gcc/' | ./filter_new_aligned | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/peak.vgtest b/massif/tests/peak.vgtest index 044e6c70b4..fd2ccbe1ec 100644 --- a/massif/tests/peak.vgtest +++ b/massif/tests/peak.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --peak-inaccuracy=0 --heap-admin=128 --massif- vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/peak2.stderr.exp b/massif/tests/peak2.stderr.exp index 45ea90f762..0bbf60f5e7 100644 --- a/massif/tests/peak2.stderr.exp +++ b/massif/tests/peak2.stderr.exp @@ -36,6 +36,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:1728, hp:1600, ex:128, st:0) Massif: alloc S. 2 (t:1872, hp:1616, ex:256, st:0) diff --git a/massif/tests/peak2.vgtest b/massif/tests/peak2.vgtest index b11005803f..2c253566a8 100644 --- a/massif/tests/peak2.vgtest +++ b/massif/tests/peak2.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --time-unit=B -v -v --stats=yes --peak-inaccuracy=10.0 --hea vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/realloc.stderr.exp b/massif/tests/realloc.stderr.exp index 19e076f517..585a9ee7e8 100644 --- a/massif/tests/realloc.stderr.exp +++ b/massif/tests/realloc.stderr.exp @@ -36,6 +36,9 @@ Massif: 12: add_class_to_loadable_list Massif: 13: class_createInstance Massif: 14: xpc_string_create Massif: 15: xpc_array_create +Massif: 16: _NXMapRehash(_NXMapTable*) +Massif: 17: arc4_init +Massif: 18: realizeClassWithoutSwift(objc_class*) Massif: startup S. 0 (t:0, hp:0, ex:0, st:0) Massif: alloc S. 1 (t:800, hp:800, ex:0, st:0) Massif: realloc S. 2 (t:800, hp:800, ex:0, st:0) diff --git a/massif/tests/realloc.vgtest b/massif/tests/realloc.vgtest index 7d2b5c9abd..07207cecfa 100644 --- a/massif/tests/realloc.vgtest +++ b/massif/tests/realloc.vgtest @@ -4,6 +4,8 @@ vgopts: -v -v --stats=yes --stacks=no --heap-admin=0 --time-unit=B --threshold=0 vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" stderr_filter: filter_verbose post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_0_0.vgtest b/massif/tests/thresholds_0_0.vgtest index 8965fb3b5b..46024cc3f5 100644 --- a/massif/tests/thresholds_0_0.vgtest +++ b/massif/tests/thresholds_0_0.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_0_10.vgtest b/massif/tests/thresholds_0_10.vgtest index 647b28533c..8c750b083b 100644 --- a/massif/tests/thresholds_0_10.vgtest +++ b/massif/tests/thresholds_0_10.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=0 --massif-out-file vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_10_0.vgtest b/massif/tests/thresholds_10_0.vgtest index 5a026cf71e..d4e2f376ca 100644 --- a/massif/tests/thresholds_10_0.vgtest +++ b/massif/tests/thresholds_10_0.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-fil vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_10_10.vgtest b/massif/tests/thresholds_10_10.vgtest index 4b64764d52..478e5099f1 100644 --- a/massif/tests/thresholds_10_10.vgtest +++ b/massif/tests/thresholds_10_10.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=10 --massif-out-fil vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_5_0.vgtest b/massif/tests/thresholds_5_0.vgtest index 7b4fa59938..791a4fceb0 100644 --- a/massif/tests/thresholds_5_0.vgtest +++ b/massif/tests/thresholds_5_0.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=0 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/thresholds_5_10.vgtest b/massif/tests/thresholds_5_10.vgtest index 2343a2cd94..4cb99429e1 100644 --- a/massif/tests/thresholds_5_10.vgtest +++ b/massif/tests/thresholds_5_10.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --time-unit=B --heap-admin=0 --threshold=5 --massif-out-file vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out --threshold=10 | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/zero1.vgtest b/massif/tests/zero1.vgtest index b5f10f25d4..fb8dfe26a5 100644 --- a/massif/tests/zero1.vgtest +++ b/massif/tests/zero1.vgtest @@ -3,6 +3,8 @@ vgopts: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print --threshold=0 massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/massif/tests/zero2.vgtest b/massif/tests/zero2.vgtest index 44de552f34..3c36122958 100644 --- a/massif/tests/zero2.vgtest +++ b/massif/tests/zero2.vgtest @@ -3,5 +3,7 @@ vgopts: --stacks=no --heap-admin=0 --time-unit=B --massif-out-file=massif.out vgopts: --ignore-fn=__part_load_locale --ignore-fn=__time_load_locale --ignore-fn=dwarf2_unwind_dyld_add_image_hook --ignore-fn=get_or_create_key_element # Darwin ignore functions, for macOS 10.13 vgopts: --alloc-fn=_xpc_malloc --ignore-fn=_xpc_dictionary_insert --ignore-fn=map_images_nolock --ignore-fn="allocBuckets(void*, unsigned int)" --ignore-fn="realizeClass(objc_class*)" --ignore-fn=_NXHashRehashToCapacity --ignore-fn=NXCreateHashTableFromZone --ignore-fn=NXCreateMapTableFromZone --ignore-fn=NXHashInsert --ignore-fn=add_class_to_loadable_list --ignore-fn=class_createInstance --ignore-fn=xpc_string_create --alloc-fn=strdup --alloc-fn=_xpc_calloc --ignore-fn=xpc_array_create +# Darwin ignore functions, for macOS 10.14 +vgopts: --ignore-fn="_NXMapRehash(_NXMapTable*)" --ignore-fn=arc4_init --ignore-fn="realizeClassWithoutSwift(objc_class*)" post: perl ../../massif/ms_print massif.out | ../../tests/filter_addresses | ./filter_ignore_fn cleanup: rm massif.out diff --git a/memcheck/tests/Makefile.am b/memcheck/tests/Makefile.am index 39974c18db..d49c6e34fb 100644 --- a/memcheck/tests/Makefile.am +++ b/memcheck/tests/Makefile.am @@ -167,6 +167,7 @@ EXTRA_DIST = \ cxx17_aligned_new.stderr.exp cxx17_aligned_new.vgtest \ cxx17_aligned_new.stderr.exp_32 \ cxx17_aligned_new.stdout.exp \ + darwin.supp \ duplicate_align_size_errors.stderr.exp \ duplicate_align_size_errors.stderr.exp-memalign \ duplicate_align_size_errors.stderr.exp-darwin \ diff --git a/memcheck/tests/badfree-2trace.vgtest b/memcheck/tests/badfree-2trace.vgtest index a89be10ff2..a58020529a 100644 --- a/memcheck/tests/badfree-2trace.vgtest +++ b/memcheck/tests/badfree-2trace.vgtest @@ -1,3 +1,3 @@ -vgopts: --num-callers=2 -q +vgopts: --num-callers=2 -q --suppressions=darwin.supp prog: badfree stderr_filter_args: badfree.c diff --git a/memcheck/tests/darwin.supp b/memcheck/tests/darwin.supp new file mode 100644 index 0000000000..2f9c530b65 --- /dev/null +++ b/memcheck/tests/darwin.supp @@ -0,0 +1,34 @@ +# macOS needs lots of suppressions for memory faults +# and leaks. This testcase restricts the recorded callstack to +# a depth of 2 which means several of the default suppressions +# with a depth of 3 or more no longer match + +# so this file puts back a load of 2-deep suppressions +{ + macOS dyld 1 + Memcheck:Cond + ... + fun:_ZN13dyldbootstrap5startEPK12macho_headeriPPKclS2_Pm +} + +{ + macOS dyld 2 + Memcheck:Cond + ... + fun:_ZN4dyld5_mainEPK12macho_headermiPPKcS5_S5_Pm +} + +{ + macOS dyld 3 + Memcheck:Cond + ... + fun:_ZN4dyldL25checkEnvironmentVariablesEPPKc +} + +{ + macOS dyld 4 + Memcheck:Cond + ... + fun:_ZN4dyldL10loadPhase1EPKcS1_RKNS_11LoadContextERjPNSt3__16vectorIS1_NS6_9allocatorIS1_EEEE +} + diff --git a/memcheck/tests/err_disable4.vgtest b/memcheck/tests/err_disable4.vgtest index dc5831a7ae..e407a88d0d 100644 --- a/memcheck/tests/err_disable4.vgtest +++ b/memcheck/tests/err_disable4.vgtest @@ -1,5 +1,5 @@ prog: err_disable4 -vgopts: -q --num-callers=3 --valgrind-stacksize=131072 +vgopts: -q --num-callers=3 --valgrind-stacksize=131072 --suppressions=darwin.supp ## 131072 is the minimum value needed on ppc64 (2 pages of 64K) stderr_filter: ../../helgrind/tests/filter_stderr ## This is so as to get rid of the "Thread #" lines, which |
|
From: Paul F. <pa...@so...> - 2025-12-09 13:08:43
|
https://sourceware.org/cgit/valgrind/commit/?id=d74347eb4d36c94bb621e0e9fc23e547ad032bdb commit d74347eb4d36c94bb621e0e9fc23e547ad032bdb Author: Paul Floyd <pj...@wa...> Date: Tue Dec 9 14:06:06 2025 +0100 Darwin: add macOS 10.14 support == 714 tests, 77 stderr failures, 5 stdout failures, 0 stderrB failures, 0 stdoutB failures, 33 post failures == x86 tests are all failing due to unsupported instructions I need to go through the Massif tests to filter out all of the new macOS leaks. Otherwise fairly similar to trhe results on macOS 10.13 Diff: --- Makefile.all.am | 6 ++- NEWS | 4 +- configure.ac | 4 ++ coregrind/m_syswrap/syswrap-x86-darwin.c | 3 +- darwin-drd.supp | 68 ++++++++++++++++++++++++++++++++ darwin-helgrind.supp | 43 ++++++++++++++++++++ darwin.supp | 24 +++++++++++ 7 files changed, 148 insertions(+), 4 deletions(-) diff --git a/Makefile.all.am b/Makefile.all.am index d4f6b3fb79..df78960167 100644 --- a/Makefile.all.am +++ b/Makefile.all.am @@ -257,7 +257,8 @@ AM_CCASFLAGS_ARM64_FREEBSD = @FLAG_M64@ -g AM_FLAG_M3264_X86_DARWIN = -arch i386 AM_CFLAGS_X86_DARWIN = $(WERROR) -arch i386 $(AM_CFLAGS_BASE) \ - -mmacosx-version-min=10.6 \ + -I@SDK_INC_DIR@ \ + @CLANG_OS_MIN_VERS_ARG@ \ -fno-pic -fno-PIC AM_CFLAGS_PSO_X86_DARWIN = $(AM_CFLAGS_X86_DARWIN) $(AM_CFLAGS_PSO_BASE) @@ -265,7 +266,8 @@ AM_CCASFLAGS_X86_DARWIN = -arch i386 -g AM_FLAG_M3264_AMD64_DARWIN = -arch x86_64 AM_CFLAGS_AMD64_DARWIN = $(WERROR) -arch x86_64 $(AM_CFLAGS_BASE) \ - -mmacosx-version-min=10.6 + -I@SDK_INC_DIR@ \ + @CLANG_OS_MIN_VERS_ARG@ AM_CFLAGS_PSO_AMD64_DARWIN = $(AM_CFLAGS_AMD64_DARWIN) $(AM_CFLAGS_PSO_BASE) AM_CCASFLAGS_AMD64_DARWIN = -arch x86_64 -g diff --git a/NEWS b/NEWS index 723b716b5e..51ba3e940a 100644 --- a/NEWS +++ b/NEWS @@ -6,7 +6,7 @@ PPC32/Linux, PPC64BE/Linux, PPC64LE/Linux, S390X/Linux, MIPS32/Linux, MIPS64/Linux, RISCV64/Linux, ARM/Android, ARM64/Android, MIPS32/Android, X86/Android, X86/Solaris, AMD64/Solaris, X86/macOS, AMD64/macOS. X86/FreeBSD, AMD64/FreeBSD and ARM64/FreeBSD. There is preliminary support -for nanoMIPS/Linux. macOS is supported up to version 10.13 High Sierra. +for nanoMIPS/Linux. macOS is supported up to version 10.14 Mojave. * ==================== CORE CHANGES =================== @@ -14,6 +14,8 @@ for nanoMIPS/Linux. macOS is supported up to version 10.13 High Sierra. s390x: Machine models older than z196 are no longer supported. +Initial support for macOS 10.14 Mojave has been added. + * ==================== TOOL CHANGES =================== diff --git a/configure.ac b/configure.ac index e251d795db..40330fdc31 100644 --- a/configure.ac +++ b/configure.ac @@ -542,6 +542,10 @@ case "${host_os}" in AC_MSG_RESULT([Darwin 17.x (${kernel}) / macOS 10.13 High Sierra]) DARWIN_VERS=$DARWIN_10_13 ;; + 18.*) + AC_MSG_RESULT([Darwin 18.x (${kernel}) / macOS 10.14 Mojave]) + DARWIN_VERS=$DARWIN_10_14 + ;; *) AC_MSG_RESULT([unsupported (${darwin_platform} ${kernel})]) AC_MSG_ERROR([Valgrind works on Darwin 10.x-25.x (Mac OS X 10.8-10.11, macOS 10.12-10.13)]) diff --git a/coregrind/m_syswrap/syswrap-x86-darwin.c b/coregrind/m_syswrap/syswrap-x86-darwin.c index 76416b06d9..a0bc1a1e7a 100644 --- a/coregrind/m_syswrap/syswrap-x86-darwin.c +++ b/coregrind/m_syswrap/syswrap-x86-darwin.c @@ -430,7 +430,8 @@ void wqthread_hijack(Addr self, Addr kport, Addr stackaddr, Addr workitem, || DARWIN_VERS == DARWIN_10_10 \ || DARWIN_VERS == DARWIN_10_11 \ || DARWIN_VERS == DARWIN_10_12 \ - || DARWIN_VERS == DARWIN_10_13 + || DARWIN_VERS == DARWIN_10_13 \ + || DARWIN_VERS == DARWIN_10_14 UWord magic_delta = 0xB0; # else # error "magic_delta: to be computed on new OS version" diff --git a/darwin-drd.supp b/darwin-drd.supp index e8cccdaab1..76bdd86368 100644 --- a/darwin-drd.supp +++ b/darwin-drd.supp @@ -299,3 +299,71 @@ fun:gomp_barrier_wait fun:child } + +# DRD suppressions for Darwin 18 / macOS 10.14 Mohave + +{ + macOS1014:pthread_mutex_destroy + drd:MutexErr + fun:pthread_mutex_destroy +} + +{ + macOS1014:_xpc_dictionary_look_up_table + drd:ConflictingAccess + ... + fun:_xpc_dictionary_look_up_table +} + +{ + macOS1014:objc_msgSendSuper2 + drd:ConflictingAccess + fun:objc_msgSendSuper2 +} + +{ + mac1014:nw_path_copy_interface_with_generation + drd:ConflictingAccess + ... + fun:nw_path_copy_interface_with_generation +} + +{ + mac1014:__setenv_locked + drd:ConflictingAccess + fun:__setenv_locked +} + +{ + mac1014:dlopen_internal + drd:ConflictingAccess + ... + fun:dlopen_internal +} + +{ + mac1014:getpwuid_r + drd:ConflictingAccess + fun:si_search + fun:getpwuid_r +} + +{ + mac1014:_pthread_tsd_cleanup + drd:ConflictingAccess + ... + fun:_pthread_tsd_cleanup +} + +{ + macOS1014:dyld::findMappedRange(unsigned long) + drd:ConflictingAccess + fun:_ZN4dyld15findMappedRangeEm +} + +{ + macOS1014:dyld::addImage(ImageLoader*) + drd:ConflictingAccess + ... + fun:_ZN4dyldL8addImageEP11ImageLoader +} diff --git a/darwin-helgrind.supp b/darwin-helgrind.supp index 7588c1d06f..db923303ac 100644 --- a/darwin-helgrind.supp +++ b/darwin-helgrind.supp @@ -141,3 +141,46 @@ fun:_ZNSt3__119__thread_local_dataEv } +# Helgrind Suppressions for Darwin 18.x / macOS 10.14 Mojave + +{ + macOS1014:_xpc_dictionary_look_up_tab + Helgrind:Race + fun:_platform_strcmp + fun:_xpc_dictionary_look_up_table +} + +{ + macOS1014:_pthread_tsd_cleanup + Helgrind:Race + ... + fun:_pthread_tsd_cleanup +} + +{ + macOS1014:nw_path_copy_interface_with_generation + Helgrind:Race + ... + fun:nw_path_copy_interface_with_generation +} + +{ + macOS1014:__setenv_locked + Helgrind:Race + fun:__setenv_locked +} + +{ + macOS1014:_pthread_once_handler + Helgrind:Race + ... + fun:__pthread_once_handler +} + +{ + macOS1014:getpwuid_r + Helgrind:Race + fun:si_search + fun:getpwuid_r +} + diff --git a/darwin.supp b/darwin.supp index af2c3ee698..1fd1948115 100644 --- a/darwin.supp +++ b/darwin.supp @@ -783,3 +783,27 @@ Memcheck:Cond fun:ccaes_vng_ctr_crypt } + +# Suppressions for Darwin 18.x / macOS 10.14 Mojave + +{ + macOS1014:_dyld_start + Memcheck:Cond + ... + fun:_dyld_start +} + +{ + macOS1014:libSystem_initializer + Memcheck:Addr16 + ... + fun:libSystem_initializer +} + +{ + macOS1014:_NXHashRehashToCapacity + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_calloc + fun:_NXHashRehashToCapacity +} |
|
From: Alexandra H. <aha...@so...> - 2025-12-09 12:26:08
|
https://sourceware.org/cgit/valgrind/commit/?id=fb25ce838c953c010883e6bc309fc672a78073e1 commit fb25ce838c953c010883e6bc309fc672a78073e1 Author: Alexandra Hájková <aha...@re...> Date: Tue Dec 2 11:06:58 2025 -0500 Add SSE4.1 min/max instructions for x86 32 bit Support pmaxsb, pminsb, pmaxuw, pminuw, pmaxud and pminud instructions in guest_x86_toIR.c and host_x86_isel.c. Move test functions from amd64/sse4-64.c to sse4-common.h and update none/tests/x86/sse4-x86.c and sse4-x86.stdout.exp to test all min/max instructions. BZ: https://bugs.kde.org/show_bug.cgi?id=512873 Diff: --- NEWS | 1 + VEX/priv/guest_x86_toIR.c | 54 ++++++++++ VEX/priv/host_x86_isel.c | 18 ++++ none/tests/amd64/sse4-64.c | 65 ------------ none/tests/sse4-common.h | 66 ++++++++++++ none/tests/x86/sse4-x86.c | 6 ++ none/tests/x86/sse4-x86.stdout.exp | 200 +++++++++++++++++++++++++++++-------- 7 files changed, 305 insertions(+), 105 deletions(-) diff --git a/NEWS b/NEWS index 6583e5807c..723b716b5e 100644 --- a/NEWS +++ b/NEWS @@ -33,6 +33,7 @@ are not entered into bugzilla tend to get forgotten about or ignored. 510416 Missing syswraps for file_getattr and file_setattr 510563 Add missing syswraps for lsm_get_self_attr and lsm_set_self_attr 510864 Add SSE4.1 PMAXSD and PMINSD instructions support for 32-bit x86 +512873 Add SSE4.1 min/max instructions for x86 32 bit 511329 Darwin and FreeBSD: Move setting of carry flag out of ML_(do_syscall_for_client_WRK) 511713 Refactor syscall argument handling diff --git a/VEX/priv/guest_x86_toIR.c b/VEX/priv/guest_x86_toIR.c index a91551f562..af4edf21e3 100644 --- a/VEX/priv/guest_x86_toIR.c +++ b/VEX/priv/guest_x86_toIR.c @@ -12995,6 +12995,24 @@ DisResult disInstr_X86_WRK ( goto decode_success; } + /* 66 0F 38 38 /r - PMINSB xmm1, xmm2/m128 + 66 0F 38 3C /r - PMAXSB xmm1, xmm2/m128 + Minimum/Maximum of Packed Signed Byte Integers (XMM) + */ + if (sz == 2 + && insn[0] == 0x0F && insn[1] == 0x38 + && (insn[2] == 0x38 || insn[2] == 0x3C)) { + /* FIXME: this needs an alignment check */ + Bool isMAX = insn[2] == 0x3C; + delta = dis_SSEint_E_to_G( + sorb, delta+3, + isMAX ? "pmaxsb" : "pminsb", + isMAX ? Iop_Max8Sx16 : Iop_Min8Sx16, + False + ); + goto decode_success; + } + /* 66 0F 38 39 /r - PMINSD xmm1, xmm2/m128 66 0F 38 3D /r - PMAXSD xmm1, xmm2/m128 66 prefix (sz == 2): SSE2/SSE4 XMM instructions (128-bit) @@ -13015,6 +13033,42 @@ DisResult disInstr_X86_WRK ( goto decode_success; } + /* 66 0F 38 3A /r - PMINUW xmm1, xmm2/m128 + 66 0F 38 3E /r - PMAXUW xmm1, xmm2/m128 + Minimum/Maximum of Packed Unsigned Word Integers (XMM) + */ + if (sz == 2 + && insn[0] == 0x0F && insn[1] == 0x38 + && (insn[2] == 0x3A || insn[2] == 0x3E)) { + /* FIXME: this needs an alignment check */ + Bool isMAX = insn[2] == 0x3E; + delta = dis_SSEint_E_to_G( + sorb, delta+3, + isMAX ? "pmaxuw" : "pminuw", + isMAX ? Iop_Max16Ux8 : Iop_Min16Ux8, + False + ); + goto decode_success; + } + + /* 66 0F 38 3B /r - PMINUD xmm1, xmm2/m128 + 66 0F 38 3F /r - PMAXUD xmm1, xmm2/m128 + Minimum/Maximum of Packed Unsigned Doubleword Integers (XMM) + */ + if (sz == 2 + && insn[0] == 0x0F && insn[1] == 0x38 + && (insn[2] == 0x3B || insn[2] == 0x3F)) { + /* FIXME: this needs an alignment check */ + Bool isMAX = insn[2] == 0x3F; + delta = dis_SSEint_E_to_G( + sorb, delta+3, + isMAX ? "pmaxud" : "pminud", + isMAX ? Iop_Max32Ux4 : Iop_Min32Ux4, + False + ); + goto decode_success; + } + /* 66 0F 3A 0B /r ib = ROUNDSD imm8, xmm2/m64, xmm1 (Partial implementation only -- only deal with cases where the rounding mode is specified directly by the immediate byte.) diff --git a/VEX/priv/host_x86_isel.c b/VEX/priv/host_x86_isel.c index 0dbd0fb8a2..72d6b46843 100644 --- a/VEX/priv/host_x86_isel.c +++ b/VEX/priv/host_x86_isel.c @@ -3867,12 +3867,30 @@ static HReg iselVecExpr_wrk ( ISelEnv* env, const IRExpr* e ) case Iop_NarrowBin16to8x16: fn = (HWord)h_generic_calc_NarrowBin16to8x16; goto do_SseAssistedBinary; + case Iop_Max8Sx16: + fn = (HWord)h_generic_calc_Max8Sx16; + goto do_SseAssistedBinary; + case Iop_Min8Sx16: + fn = (HWord)h_generic_calc_Min8Sx16; + goto do_SseAssistedBinary; + case Iop_Max16Ux8: + fn = (HWord)h_generic_calc_Max16Ux8; + goto do_SseAssistedBinary; + case Iop_Min16Ux8: + fn = (HWord)h_generic_calc_Min16Ux8; + goto do_SseAssistedBinary; case Iop_Max32Sx4: fn = (HWord)h_generic_calc_Max32Sx4; goto do_SseAssistedBinary; case Iop_Min32Sx4: fn = (HWord)h_generic_calc_Min32Sx4; goto do_SseAssistedBinary; + case Iop_Max32Ux4: + fn = (HWord)h_generic_calc_Max32Ux4; + goto do_SseAssistedBinary; + case Iop_Min32Ux4: + fn = (HWord)h_generic_calc_Min32Ux4; + goto do_SseAssistedBinary; do_SseAssistedBinary: { /* As with the amd64 case (where this is copied from) we generate pretty bad code. */ diff --git a/none/tests/amd64/sse4-64.c b/none/tests/amd64/sse4-64.c index fc30963448..f4207b858b 100644 --- a/none/tests/amd64/sse4-64.c +++ b/none/tests/amd64/sse4-64.c @@ -1492,71 +1492,6 @@ void test_PHMINPOSUW ( void ) DO_mandr_r("phminposuw", src, dst); } -void test_PMAXSB ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pmaxsb", src, dst); - } -} - -void test_PMAXUD ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pmaxud", src, dst); - } -} - -void test_PMAXUW ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pmaxuw", src, dst); - } -} - -void test_PMINSB ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pminsb", src, dst); - } -} - -void test_PMINUD ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pminud", src, dst); - } -} - -void test_PMINUW ( void ) -{ - V128 src, dst; - Int i; - for (i = 0; i < 10; i++) { - randV128(&src); - randV128(&dst); - DO_mandr_r("pminuw", src, dst); - } -} void test_PMOVSXBW ( void ) { diff --git a/none/tests/sse4-common.h b/none/tests/sse4-common.h index e3341186bd..1191d4bb08 100644 --- a/none/tests/sse4-common.h +++ b/none/tests/sse4-common.h @@ -274,4 +274,70 @@ static inline void test_PMINSD ( void ) } } +static inline void test_PMAXSB ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pmaxsb", src, dst); + } +} + +static inline void test_PMAXUD ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pmaxud", src, dst); + } +} + +static inline void test_PMAXUW ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pmaxuw", src, dst); + } +} + +static inline void test_PMINSB ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pminsb", src, dst); + } +} + +static inline void test_PMINUD ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pminud", src, dst); + } +} + +static inline void test_PMINUW ( void ) +{ + V128 src, dst; + Int i; + for (i = 0; i < 10; i++) { + randV128(&src); + randV128(&dst); + DO_mandr_r("pminuw", src, dst); + } +} + #endif /* __SSE4_COMMON_H */ diff --git a/none/tests/x86/sse4-x86.c b/none/tests/x86/sse4-x86.c index f47f185bf6..6642357752 100644 --- a/none/tests/x86/sse4-x86.c +++ b/none/tests/x86/sse4-x86.c @@ -104,8 +104,14 @@ int main(void) { // ------ SSE 4.1 ------ test_PINSRD(); + test_PMAXSB(); test_PMAXSD(); + test_PMAXUD(); + test_PMAXUW(); + test_PMINSB(); test_PMINSD(); + test_PMINUD(); + test_PMINUW(); return 0; } diff --git a/none/tests/x86/sse4-x86.stdout.exp b/none/tests/x86/sse4-x86.stdout.exp index 99822c46cf..515c227669 100644 --- a/none/tests/x86/sse4-x86.stdout.exp +++ b/none/tests/x86/sse4-x86.stdout.exp @@ -6,43 +6,163 @@ r pinsrd $2 3bd127afa6e9c369 55555555555555555555555555555555 55555555a6e9c3 m pinsrd $2 3bd127afa6e9c369 55555555555555555555555555555555 55555555a6e9c3695555555555555555 r pinsrd $3 0d6a95fac528657d 55555555555555555555555555555555 c528657d555555555555555555555555 m pinsrd $3 0d6a95fac528657d 55555555555555555555555555555555 c528657d555555555555555555555555 -r pmaxsd 60b160857d45c48447b8d8c0eeef1e50 b6d2fb5aa7bc5127fe9915e556a044b2 60b160857d45c48447b8d8c056a044b2 -m pmaxsd 60b160857d45c48447b8d8c0eeef1e50 b6d2fb5aa7bc5127fe9915e556a044b2 60b160857d45c48447b8d8c056a044b2 -r pmaxsd 19a348215c3a67fd399182c2dbcc2d38 065d77195d623e6b842adc6450659e17 19a348215d623e6b399182c250659e17 -m pmaxsd 19a348215c3a67fd399182c2dbcc2d38 065d77195d623e6b842adc6450659e17 19a348215d623e6b399182c250659e17 -r pmaxsd d89998df5035ed364a4bc43968bc40e5 cb509970b8136c85d740b80eb7839b97 d89998df5035ed364a4bc43968bc40e5 -m pmaxsd d89998df5035ed364a4bc43968bc40e5 cb509970b8136c85d740b80eb7839b97 d89998df5035ed364a4bc43968bc40e5 -r pmaxsd f9dd4a29f8c093db56b01a12b0ca1583 5ff85bc9535c191fd3a727d1a705f65d 5ff85bc9535c191f56b01a12b0ca1583 -m pmaxsd f9dd4a29f8c093db56b01a12b0ca1583 5ff85bc9535c191fd3a727d1a705f65d 5ff85bc9535c191f56b01a12b0ca1583 -r pmaxsd d8bc5c6dee699597398e0039cf03663d 20a1bb92cbc97fe8542da4983df76c96 20a1bb92ee699597542da4983df76c96 -m pmaxsd d8bc5c6dee699597398e0039cf03663d 20a1bb92cbc97fe8542da4983df76c96 20a1bb92ee699597542da4983df76c96 -r pmaxsd d182c916cebc2e17cfaff39be272ef40 6897b536bbe4da8a369dab4f9465b86e 6897b536cebc2e17369dab4fe272ef40 -m pmaxsd d182c916cebc2e17cfaff39be272ef40 6897b536bbe4da8a369dab4f9465b86e 6897b536cebc2e17369dab4fe272ef40 -r pmaxsd 407b8d9035449b06f4e06e2205236eb7 95264321bf3b68b255c2b9e2c95c9810 407b8d9035449b0655c2b9e205236eb7 -m pmaxsd 407b8d9035449b06f4e06e2205236eb7 95264321bf3b68b255c2b9e2c95c9810 407b8d9035449b0655c2b9e205236eb7 -r pmaxsd 81f2a547be8d181184ededbc53239dcf 019963bf7459630b8d69483df7e8c6a9 019963bf7459630b8d69483d53239dcf -m pmaxsd 81f2a547be8d181184ededbc53239dcf 019963bf7459630b8d69483df7e8c6a9 019963bf7459630b8d69483d53239dcf -r pmaxsd f0350ca70523e0e45ba1ec54e87d39b3 0a3e0f7c75cb0842b95ed64d3b13ff64 0a3e0f7c75cb08425ba1ec543b13ff64 -m pmaxsd f0350ca70523e0e45ba1ec54e87d39b3 0a3e0f7c75cb0842b95ed64d3b13ff64 0a3e0f7c75cb08425ba1ec543b13ff64 -r pmaxsd e98ebd1ca893312a54cae7d5e13dfe91 0a5f45c55f1c9202b76ddefcb0ebfe6e 0a5f45c55f1c920254cae7d5e13dfe91 -m pmaxsd e98ebd1ca893312a54cae7d5e13dfe91 0a5f45c55f1c9202b76ddefcb0ebfe6e 0a5f45c55f1c920254cae7d5e13dfe91 -r pminsd c84ab713406845904d325b2d5a70a792 5f490104ced83ff86262dd37727c80f3 c84ab713ced83ff84d325b2d5a70a792 -m pminsd c84ab713406845904d325b2d5a70a792 5f490104ced83ff86262dd37727c80f3 c84ab713ced83ff84d325b2d5a70a792 -r pminsd e9b5f3f66b2e58c121a6c3476d21f1e5 63483da65c8c49d096084deb9ed0411e e9b5f3f65c8c49d096084deb9ed0411e -m pminsd e9b5f3f66b2e58c121a6c3476d21f1e5 63483da65c8c49d096084deb9ed0411e e9b5f3f65c8c49d096084deb9ed0411e -r pminsd a81b6e33c572a86aacf29b0f395c98b4 73a8f718a8c3ec352e2dac0350f6fd1c a81b6e33a8c3ec35acf29b0f395c98b4 -m pminsd a81b6e33c572a86aacf29b0f395c98b4 73a8f718a8c3ec352e2dac0350f6fd1c a81b6e33a8c3ec35acf29b0f395c98b4 -r pminsd 61c82534e9bf6f37c9e25f72d82e582b ecb42ac54b0966d4089b756aa3f77018 ecb42ac5e9bf6f37c9e25f72a3f77018 -m pminsd 61c82534e9bf6f37c9e25f72d82e582b ecb42ac54b0966d4089b756aa3f77018 ecb42ac5e9bf6f37c9e25f72a3f77018 -r pminsd 6f07136773a2ead356428c5a66a2ec77 28bad218e4ebf159ff1f240eb3e1553f 28bad218e4ebf159ff1f240eb3e1553f -m pminsd 6f07136773a2ead356428c5a66a2ec77 28bad218e4ebf159ff1f240eb3e1553f 28bad218e4ebf159ff1f240eb3e1553f -r pminsd 3026343700a654eb2ddd9db4ffc411c4 8404eb7f0cf4ca6fee8536da9dbf68bc 8404eb7f00a654ebee8536da9dbf68bc -m pminsd 3026343700a654eb2ddd9db4ffc411c4 8404eb7f0cf4ca6fee8536da9dbf68bc 8404eb7f00a654ebee8536da9dbf68bc -r pminsd ff6f850f2c57ea2a2c810e6dc1a1833d 5cdf726562b02dc2b39925ba7d9d67bc ff6f850f2c57ea2ab39925bac1a1833d -m pminsd ff6f850f2c57ea2a2c810e6dc1a1833d 5cdf726562b02dc2b39925ba7d9d67bc ff6f850f2c57ea2ab39925bac1a1833d -r pminsd 372f015d9242e83d2ef85b6fc544fd0f 0c9761367fac55ff28276f9a6e880c6b 0c9761369242e83d28276f9ac544fd0f -m pminsd 372f015d9242e83d2ef85b6fc544fd0f 0c9761367fac55ff28276f9a6e880c6b 0c9761369242e83d28276f9ac544fd0f -r pminsd 36b2a38dcef18acf0e0f01a829ba3c66 f078b65e01737fd22bfa8f668c8b14f4 f078b65ecef18acf0e0f01a88c8b14f4 -m pminsd 36b2a38dcef18acf0e0f01a829ba3c66 f078b65e01737fd22bfa8f668c8b14f4 f078b65ecef18acf0e0f01a88c8b14f4 -r pminsd 57436a097df30b8daa927a03090dfc6d 65ce6d498492e7e796df010bf4b23b84 57436a098492e7e796df010bf4b23b84 -m pminsd 57436a097df30b8daa927a03090dfc6d 65ce6d498492e7e796df010bf4b23b84 57436a098492e7e796df010bf4b23b84 +r pmaxsb 60b160857d45c48447b8d8c0eeef1e50 b6d2fb5aa7bc5127fe9915e556a044b2 60d2605a7d45512747b815e556ef4450 +m pmaxsb 60b160857d45c48447b8d8c0eeef1e50 b6d2fb5aa7bc5127fe9915e556a044b2 60d2605a7d45512747b815e556ef4450 +r pmaxsb 19a348215c3a67fd399182c2dbcc2d38 065d77195d623e6b842adc6450659e17 195d77215d62676b392adc6450652d38 +m pmaxsb 19a348215c3a67fd399182c2dbcc2d38 065d77195d623e6b842adc6450659e17 195d77215d62676b392adc6450652d38 +r pmaxsb d89998df5035ed364a4bc43968bc40e5 cb509970b8136c85d740b80eb7839b97 d850997050356c364a4bc43968bc40e5 +m pmaxsb d89998df5035ed364a4bc43968bc40e5 cb509970b8136c85d740b80eb7839b97 d850997050356c364a4bc43968bc40e5 +r pmaxsb f9dd4a29f8c093db56b01a12b0ca1583 5ff85bc9535c191fd3a727d1a705f65d 5ff85b29535c191f56b02712b005155d +m pmaxsb f9dd4a29f8c093db56b01a12b0ca1583 5ff85bc9535c191fd3a727d1a705f65d 5ff85b29535c191f56b02712b005155d +r pmaxsb d8bc5c6dee699597398e0039cf03663d 20a1bb92cbc97fe8542da4983df76c96 20bc5c6dee697fe8542d00393d036c3d +m pmaxsb d8bc5c6dee699597398e0039cf03663d 20a1bb92cbc97fe8542da4983df76c96 20bc5c6dee697fe8542d00393d036c3d +r pmaxsb d182c916cebc2e17cfaff39be272ef40 6897b536bbe4da8a369dab4f9465b86e 6897c936cee42e1736aff34fe272ef6e +m pmaxsb d182c916cebc2e17cfaff39be272ef40 6897b536bbe4da8a369dab4f9465b86e 6897c936cee42e1736aff34fe272ef6e +r pmaxsb 407b8d9035449b06f4e06e2205236eb7 95264321bf3b68b255c2b9e2c95c9810 407b43213544680655e06e22055c6e10 +m pmaxsb 407b8d9035449b06f4e06e2205236eb7 95264321bf3b68b255c2b9e2c95c9810 407b43213544680655e06e22055c6e10 +r pmaxsb 81f2a547be8d181184ededbc53239dcf 019963bf7459630b8d69483df7e8c6a9 01f26347745963118d69483d5323c6cf +m pmaxsb 81f2a547be8d181184ededbc53239dcf 019963bf7459630b8d69483df7e8c6a9 01f26347745963118d69483d5323c6cf +r pmaxsb f0350ca70523e0e45ba1ec54e87d39b3 0a3e0f7c75cb0842b95ed64d3b13ff64 0a3e0f7c752308425b5eec543b7d3964 +m pmaxsb f0350ca70523e0e45ba1ec54e87d39b3 0a3e0f7c75cb0842b95ed64d3b13ff64 0a3e0f7c752308425b5eec543b7d3964 +r pmaxsb e98ebd1ca893312a54cae7d5e13dfe91 0a5f45c55f1c9202b76ddefcb0ebfe6e 0a5f451c5f1c312a546de7fce13dfe6e +m pmaxsb e98ebd1ca893312a54cae7d5e13dfe91 0a5f45c55f1c9202b76ddefcb0ebfe6e 0a5f451c5f1c312a546de7fce13dfe6e +r pmaxsd c84ab713406845904d325b2d5a70a792 5f490104ced83ff86262dd37727c80f3 5f490104406845906262dd37727c80f3 +m pmaxsd c84ab713406845904d325b2d5a70a792 5f490104ced83ff86262dd37727c80f3 5f490104406845906262dd37727c80f3 +r pmaxsd e9b5f3f66b2e58c121a6c3476d21f1e5 63483da65c8c49d096084deb9ed0411e 63483da66b2e58c121a6c3476d21f1e5 +m pmaxsd e9b5f3f66b2e58c121a6c3476d21f1e5 63483da65c8c49d096084deb9ed0411e 63483da66b2e58c121a6c3476d21f1e5 +r pmaxsd a81b6e33c572a86aacf29b0f395c98b4 73a8f718a8c3ec352e2dac0350f6fd1c 73a8f718c572a86a2e2dac0350f6fd1c +m pmaxsd a81b6e33c572a86aacf29b0f395c98b4 73a8f718a8c3ec352e2dac0350f6fd1c 73a8f718c572a86a2e2dac0350f6fd1c +r pmaxsd 61c82534e9bf6f37c9e25f72d82e582b ecb42ac54b0966d4089b756aa3f77018 61c825344b0966d4089b756ad82e582b +m pmaxsd 61c82534e9bf6f37c9e25f72d82e582b ecb42ac54b0966d4089b756aa3f77018 61c825344b0966d4089b756ad82e582b +r pmaxsd 6f07136773a2ead356428c5a66a2ec77 28bad218e4ebf159ff1f240eb3e1553f 6f07136773a2ead356428c5a66a2ec77 +m pmaxsd 6f07136773a2ead356428c5a66a2ec77 28bad218e4ebf159ff1f240eb3e1553f 6f07136773a2ead356428c5a66a2ec77 +r pmaxsd 3026343700a654eb2ddd9db4ffc411c4 8404eb7f0cf4ca6fee8536da9dbf68bc 302634370cf4ca6f2ddd9db4ffc411c4 +m pmaxsd 3026343700a654eb2ddd9db4ffc411c4 8404eb7f0cf4ca6fee8536da9dbf68bc 302634370cf4ca6f2ddd9db4ffc411c4 +r pmaxsd ff6f850f2c57ea2a2c810e6dc1a1833d 5cdf726562b02dc2b39925ba7d9d67bc 5cdf726562b02dc22c810e6d7d9d67bc +m pmaxsd ff6f850f2c57ea2a2c810e6dc1a1833d 5cdf726562b02dc2b39925ba7d9d67bc 5cdf726562b02dc22c810e6d7d9d67bc +r pmaxsd 372f015d9242e83d2ef85b6fc544fd0f 0c9761367fac55ff28276f9a6e880c6b 372f015d7fac55ff2ef85b6f6e880c6b +m pmaxsd 372f015d9242e83d2ef85b6fc544fd0f 0c9761367fac55ff28276f9a6e880c6b 372f015d7fac55ff2ef85b6f6e880c6b +r pmaxsd 36b2a38dcef18acf0e0f01a829ba3c66 f078b65e01737fd22bfa8f668c8b14f4 36b2a38d01737fd22bfa8f6629ba3c66 +m pmaxsd 36b2a38dcef18acf0e0f01a829ba3c66 f078b65e01737fd22bfa8f668c8b14f4 36b2a38d01737fd22bfa8f6629ba3c66 +r pmaxsd 57436a097df30b8daa927a03090dfc6d 65ce6d498492e7e796df010bf4b23b84 65ce6d497df30b8daa927a03090dfc6d +m pmaxsd 57436a097df30b8daa927a03090dfc6d 65ce6d498492e7e796df010bf4b23b84 65ce6d497df30b8daa927a03090dfc6d +r pmaxud f5304f3e3ad1a923dc4c446c804bf950 c5e48064a393c8e947a34273c10a3c47 f5304f3ea393c8e9dc4c446cc10a3c47 +m pmaxud f5304f3e3ad1a923dc4c446c804bf950 c5e48064a393c8e947a34273c10a3c47 f5304f3ea393c8e9dc4c446cc10a3c47 +r pmaxud 6ec34f98a2199d3c810bdacfab80ee3d 6d08ed19fa045f841810cd8c109ed568 6ec34f98fa045f84810bdacfab80ee3d +m pmaxud 6ec34f98a2199d3c810bdacfab80ee3d 6d08ed19fa045f841810cd8c109ed568 6ec34f98fa045f84810bdacfab80ee3d +r pmaxud 1c4a678450562685769ab818a5b7985e b984aed62671e865e6f21d40fc7bc013 b984aed650562685e6f21d40fc7bc013 +m pmaxud 1c4a678450562685769ab818a5b7985e b984aed62671e865e6f21d40fc7bc013 b984aed650562685e6f21d40fc7bc013 +r pmaxud 5d0f926ce1157eaa95c45b338afcb3df 05a5c205c3659f388e17b17da2acb976 5d0f926ce1157eaa95c45b33a2acb976 +m pmaxud 5d0f926ce1157eaa95c45b338afcb3df 05a5c205c3659f388e17b17da2acb976 5d0f926ce1157eaa95c45b33a2acb976 +r pmaxud 8b5fccbef0e1e256bc563e0c775bfaed acb722146c6cbfa9ea4a022e1d3d7dbb acb72214f0e1e256ea4a022e775bfaed +m pmaxud 8b5fccbef0e1e256bc563e0c775bfaed acb722146c6cbfa9ea4a022e1d3d7dbb acb72214f0e1e256ea4a022e775bfaed +r pmaxud 048612e51a468e36c51cdd8f87e12ab4 0c05cb6ebd128663d7568e3e8a3ac80e 0c05cb6ebd128663d7568e3e8a3ac80e +m pmaxud 048612e51a468e36c51cdd8f87e12ab4 0c05cb6ebd128663d7568e3e8a3ac80e 0c05cb6ebd128663d7568e3e8a3ac80e +r pmaxud 22cf5e4cfad1bdf58de2b4a9d799ff5f 80ddba7e53e42d123208cf9b04b0569c 80ddba7efad1bdf58de2b4a9d799ff5f +m pmaxud 22cf5e4cfad1bdf58de2b4a9d799ff5f 80ddba7e53e42d123208cf9b04b0569c 80ddba7efad1bdf58de2b4a9d799ff5f +r pmaxud 4288ae612c0dad40f0733f448390351b 6489eab2c96df363d52c4330a7aae391 6489eab2c96df363f0733f44a7aae391 +m pmaxud 4288ae612c0dad40f0733f448390351b 6489eab2c96df363d52c4330a7aae391 6489eab2c96df363f0733f44a7aae391 +r pmaxud c1fbfd8f4d8698c2cb9dfb4ea5d18713 14575775bc3a12029d8e66ea90352a18 c1fbfd8fbc3a1202cb9dfb4ea5d18713 +m pmaxud c1fbfd8f4d8698c2cb9dfb4ea5d18713 14575775bc3a12029d8e66ea90352a18 c1fbfd8fbc3a1202cb9dfb4ea5d18713 +r pmaxud f9754842f9c9ba28f82a63b15c68b274 ec91fe34c7d6c79a66fab2b3db5ce85e f9754842f9c9ba28f82a63b1db5ce85e +m pmaxud f9754842f9c9ba28f82a63b15c68b274 ec91fe34c7d6c79a66fab2b3db5ce85e f9754842f9c9ba28f82a63b1db5ce85e +r pmaxuw 474289e7cb61501e54e7f35bc162726a 4784d95987cd4ed80c3ca578a32bd88e 4784d959cb61501e54e7f35bc162d88e +m pmaxuw 474289e7cb61501e54e7f35bc162726a 4784d95987cd4ed80c3ca578a32bd88e 4784d959cb61501e54e7f35bc162d88e +r pmaxuw 08aebee85fda964fbba02737f3c98220 837be65197abe2686b1fba2604afb8d5 837be65197abe268bba0ba26f3c9b8d5 +m pmaxuw 08aebee85fda964fbba02737f3c98220 837be65197abe2686b1fba2604afb8d5 837be65197abe268bba0ba26f3c9b8d5 +r pmaxuw 9605e2b252c1c86809217c310baca0c3 fbc4208894fdc0f55f706da71bf2425f fbc4e2b294fdc8685f707c311bf2a0c3 +m pmaxuw 9605e2b252c1c86809217c310baca0c3 fbc4208894fdc0f55f706da71bf2425f fbc4e2b294fdc8685f707c311bf2a0c3 +r pmaxuw 4e92f1b240a122141a366d352714867e 0aaa836b194e242cc5fc3ae904033357 4e92f1b240a1242cc5fc6d352714867e +m pmaxuw 4e92f1b240a122141a366d352714867e 0aaa836b194e242cc5fc3ae904033357 4e92f1b240a1242cc5fc6d352714867e +r pmaxuw 8ca3e752c306df00caab752f630ff07e 0e780c65c22b4ab8778d9ed6d9eb46ea 8ca3e752c306df00caab9ed6d9ebf07e +m pmaxuw 8ca3e752c306df00caab752f630ff07e 0e780c65c22b4ab8778d9ed6d9eb46ea 8ca3e752c306df00caab9ed6d9ebf07e +r pmaxuw ac82c1007a7d3cd8f54b130cdaa89cef 627bb6e12d1f6d4651ef145cb9b83843 ac82c1007a7d6d46f54b145cdaa89cef +m pmaxuw ac82c1007a7d3cd8f54b130cdaa89cef 627bb6e12d1f6d4651ef145cb9b83843 ac82c1007a7d6d46f54b145cdaa89cef +r pmaxuw 0a7c7a27fe91744777e3c0b6a9ec44fc 61ff7d4df3b6ca8131f01866bd76c58f 61ff7d4dfe91ca8177e3c0b6bd76c58f +m pmaxuw 0a7c7a27fe91744777e3c0b6a9ec44fc 61ff7d4df3b6ca8131f01866bd76c58f 61ff7d4dfe91ca8177e3c0b6bd76c58f +r pmaxuw 02dd0e32eecfc5fa2c3ffa1aebe6a4d2 69505d14b27d9d16f25b26e0042fa9fa 69505d14eecfc5faf25bfa1aebe6a9fa +m pmaxuw 02dd0e32eecfc5fa2c3ffa1aebe6a4d2 69505d14b27d9d16f25b26e0042fa9fa 69505d14eecfc5faf25bfa1aebe6a9fa +r pmaxuw f0f1798fe3c1699cf02b3b25bca27a9c d4ba52a206ff21b170fbbab6a7f19faf f0f1798fe3c1699cf02bbab6bca29faf +m pmaxuw f0f1798fe3c1699cf02b3b25bca27a9c d4ba52a206ff21b170fbbab6a7f19faf f0f1798fe3c1699cf02bbab6bca29faf +r pmaxuw 3004b7a97cf69dda9f7301c1392d8087 0088596389c893fd879d51d4c5c764db 3004b7a989c89dda9f7351d4c5c78087 +m pmaxuw 3004b7a97cf69dda9f7301c1392d8087 0088596389c893fd879d51d4c5c764db 3004b7a989c89dda9f7351d4c5c78087 +r pminsb 1e61c5ec52f79c6015e3c8dc7e9273bf 47086cc3da642fa7130d662777beb4a9 1e08c5c3daf79ca713e3c8dc7792b4a9 +m pminsb 1e61c5ec52f79c6015e3c8dc7e9273bf 47086cc3da642fa7130d662777beb4a9 1e08c5c3daf79ca713e3c8dc7792b4a9 +r pminsb 16559ec50352a3d92d460a61a5dd0f6f 0784892e9360315bf0177599dbe14b46 078489c59352a3d9f0170a99a5dd0f46 +m pminsb 16559ec50352a3d92d460a61a5dd0f6f 0784892e9360315bf0177599dbe14b46 078489c59352a3d9f0170a99a5dd0f46 +r pminsb 742c3e9e2b92eef2c569453ccd1b0fc4 9a49ac115048d4c4f987fa170d3ce4dd 9a2cac9e2b92d4c4c587fa17cd1be4c4 +m pminsb 742c3e9e2b92eef2c569453ccd1b0fc4 9a49ac115048d4c4f987fa170d3ce4dd 9a2cac9e2b92d4c4c587fa17cd1be4c4 +r pminsb 9432a2e46543b956b819f459105730e9 5da3cfd6aea6558e0c28728e28dc3c9c 94a3a2d6aea6b98eb819f48e10dc309c +m pminsb 9432a2e46543b956b819f459105730e9 5da3cfd6aea6558e0c28728e28dc3c9c 94a3a2d6aea6b98eb819f48e10dc309c +r pminsb d2b3c4044ef23fb2e22093a48a9d2e0b adddf0eb4808f06704c857e949cc0fac adb3c4eb48f2f0b2e2c893a48a9d0fac +m pminsb d2b3c4044ef23fb2e22093a48a9d2e0b adddf0eb4808f06704c857e949cc0fac adb3c4eb48f2f0b2e2c893a48a9d0fac +r pminsb 89fba268812abdb21e4a9e0958fac555 e4450ababbfae0f9bc3127138b19183c 89fba2ba81fabdb2bc319e098bfac53c +m pminsb 89fba268812abdb21e4a9e0958fac555 e4450ababbfae0f9bc3127138b19183c 89fba2ba81fabdb2bc319e098bfac53c +r pminsb 1755377e9a786f014a6592749579b0f4 5f2619b1a20662f012305efa0acd1475 172619b19a0662f0123092fa95cdb0f4 +m pminsb 1755377e9a786f014a6592749579b0f4 5f2619b1a20662f012305efa0acd1475 172619b19a0662f0123092fa95cdb0f4 +r pminsb d70f7fb13667914c413cead25e27ac14 7acb193b9abab2f9e1917689e3f6bf86 d7cb19b19aba91f9e191ea89e3f6ac86 +m pminsb d70f7fb13667914c413cead25e27ac14 7acb193b9abab2f9e1917689e3f6bf86 d7cb19b19aba91f9e191ea89e3f6ac86 +r pminsb 2573776df1835e3ede9a220dce0e75e0 918107c43ea20cc00420edac31a0d599 918107c4f1830cc0de9aedaccea0d599 +m pminsb 2573776df1835e3ede9a220dce0e75e0 918107c43ea20cc00420edac31a0d599 918107c4f1830cc0de9aedaccea0d599 +r pminsb 5cce191e65591384ff4cb613013cc685 0194ddb82b49abf059a93d4f11d611db 0194ddb82b49ab84ffa9b61301d6c685 +m pminsb 5cce191e65591384ff4cb613013cc685 0194ddb82b49abf059a93d4f11d611db 0194ddb82b49ab84ffa9b61301d6c685 +r pminsd da6c63303173ecc97e1e22cf15bd5c2f 24509983fc3bcc36baf7e45e9fa43077 da6c6330fc3bcc36baf7e45e9fa43077 +m pminsd da6c63303173ecc97e1e22cf15bd5c2f 24509983fc3bcc36baf7e45e9fa43077 da6c6330fc3bcc36baf7e45e9fa43077 +r pminsd fa99500fef6024ba39dce32c239cf309 570037914d04ab3d05d75ec6f616ee9a fa99500fef6024ba05d75ec6f616ee9a +m pminsd fa99500fef6024ba39dce32c239cf309 570037914d04ab3d05d75ec6f616ee9a fa99500fef6024ba05d75ec6f616ee9a +r pminsd 17a0dc273ba9f8030a52741849e54740 f6f2b14fbb3184b2141625713239066f f6f2b14fbb3184b20a5274183239066f +m pminsd 17a0dc273ba9f8030a52741849e54740 f6f2b14fbb3184b2141625713239066f f6f2b14fbb3184b20a5274183239066f +r pminsd 8fcf04e5b2dca44fcf4c517ea3a413ff 5d700527e24d9241c57eb74d70183523 8fcf04e5b2dca44fc57eb74da3a413ff +m pminsd 8fcf04e5b2dca44fcf4c517ea3a413ff 5d700527e24d9241c57eb74d70183523 8fcf04e5b2dca44fc57eb74da3a413ff +r pminsd bc70c3b3ef84644b6295f64a4ce61473 e8c72e865de41295f2db8f44cbbf37e2 bc70c3b3ef84644bf2db8f44cbbf37e2 +m pminsd bc70c3b3ef84644b6295f64a4ce61473 e8c72e865de41295f2db8f44cbbf37e2 bc70c3b3ef84644bf2db8f44cbbf37e2 +r pminsd fcd015ff8f2e73a3a0fae06860b606c7 f34428d9c8833f5b78fb29445f3bc8d7 f34428d98f2e73a3a0fae0685f3bc8d7 +m pminsd fcd015ff8f2e73a3a0fae06860b606c7 f34428d9c8833f5b78fb29445f3bc8d7 f34428d98f2e73a3a0fae0685f3bc8d7 +r pminsd a93bf6332d650e0266478ac4fc21a428 da30ef8bc0b5573e34a901384a97a32f a93bf633c0b5573e34a90138fc21a428 +m pminsd a93bf6332d650e0266478ac4fc21a428 da30ef8bc0b5573e34a901384a97a32f a93bf633c0b5573e34a90138fc21a428 +r pminsd 20fd62bd65b571158e48704b3c31abc2 f9da7f07e00794eb00b0940ba5e08516 f9da7f07e00794eb8e48704ba5e08516 +m pminsd 20fd62bd65b571158e48704b3c31abc2 f9da7f07e00794eb00b0940ba5e08516 f9da7f07e00794eb8e48704ba5e08516 +r pminsd be625608d5abd787f5c90ee73af5d7c0 ac8dd5bbc503330eb9dd5dab8e212ab7 ac8dd5bbc503330eb9dd5dab8e212ab7 +m pminsd be625608d5abd787f5c90ee73af5d7c0 ac8dd5bbc503330eb9dd5dab8e212ab7 ac8dd5bbc503330eb9dd5dab8e212ab7 +r pminsd ddb5cd8016d27d057796e0861576e44f 4e94ec120b386f523bfcd80321664d3e ddb5cd800b386f523bfcd8031576e44f +m pminsd ddb5cd8016d27d057796e0861576e44f 4e94ec120b386f523bfcd80321664d3e ddb5cd800b386f523bfcd8031576e44f +r pminud db43c391c6b69f3af17a6312e7c28d9a 3d3cc0784c2f856363d9810079bbabd9 3d3cc0784c2f856363d9810079bbabd9 +m pminud db43c391c6b69f3af17a6312e7c28d9a 3d3cc0784c2f856363d9810079bbabd9 3d3cc0784c2f856363d9810079bbabd9 +r pminud 125934a781e479d33d431279cce48fce d4d14e592776b1ef0b40d58cb22d00b1 125934a72776b1ef0b40d58cb22d00b1 +m pminud 125934a781e479d33d431279cce48fce d4d14e592776b1ef0b40d58cb22d00b1 125934a72776b1ef0b40d58cb22d00b1 +r pminud df411d2ee2e7467c38bb69a6e1e9a617 6f9f902235982fa010fd4e94e9c808f5 6f9f902235982fa010fd4e94e1e9a617 +m pminud df411d2ee2e7467c38bb69a6e1e9a617 6f9f902235982fa010fd4e94e9c808f5 6f9f902235982fa010fd4e94e1e9a617 +r pminud 9e477892854b43e0beafe48541dc8da0 69f2843d15223a224edb6a053a967ecf 69f2843d15223a224edb6a053a967ecf +m pminud 9e477892854b43e0beafe48541dc8da0 69f2843d15223a224edb6a053a967ecf 69f2843d15223a224edb6a053a967ecf +r pminud acb9433f079dacacabeb000208c90296 20162517609f0f22a1a7a4c9c0a51f6b 20162517079dacaca1a7a4c908c90296 +m pminud acb9433f079dacacabeb000208c90296 20162517609f0f22a1a7a4c9c0a51f6b 20162517079dacaca1a7a4c908c90296 +r pminud 63e279a20368bc8bdb3b370954bcbf24 ef56701db49bea4ce52e79ce9700a7f7 63e279a20368bc8bdb3b370954bcbf24 +m pminud 63e279a20368bc8bdb3b370954bcbf24 ef56701db49bea4ce52e79ce9700a7f7 63e279a20368bc8bdb3b370954bcbf24 +r pminud 200d17261638b12a2a6a07863ec28077 31005fb9ada2074bf63a63fedcb4d29c 200d17261638b12a2a6a07863ec28077 +m pminud 200d17261638b12a2a6a07863ec28077 31005fb9ada2074bf63a63fedcb4d29c 200d17261638b12a2a6a07863ec28077 +r pminud 3f871736dc9ac5357446eb65e4e703bb 445ef059e641a1ccb097e047aacc5b89 3f871736dc9ac5357446eb65aacc5b89 +m pminud 3f871736dc9ac5357446eb65e4e703bb 445ef059e641a1ccb097e047aacc5b89 3f871736dc9ac5357446eb65aacc5b89 +r pminud 1c9c7740ef193457959960926235021b 83bd1e68fb03f57bef136b941e54ffe8 1c9c7740ef193457959960921e54ffe8 +m pminud 1c9c7740ef193457959960926235021b 83bd1e68fb03f57bef136b941e54ffe8 1c9c7740ef193457959960921e54ffe8 +r pminud 139832afee423c3d6930e0fad3ba39c4 4969e55289753f038f7980d1535979e5 139832af89753f036930e0fa535979e5 +m pminud 139832afee423c3d6930e0fad3ba39c4 4969e55289753f038f7980d1535979e5 139832af89753f036930e0fa535979e5 +r pminuw 80c745ef729f1792ccd7e987538166e1 f4ad41832c22ba116c949cea66e687ae 80c741832c2217926c949cea538166e1 +m pminuw 80c745ef729f1792ccd7e987538166e1 f4ad41832c22ba116c949cea66e687ae 80c741832c2217926c949cea538166e1 +r pminuw bf75aa6c1abe01039a5af627ff97439f ded72f677f96a350623139cb7207e36c bf752f671abe0103623139cb7207439f +m pminuw bf75aa6c1abe01039a5af627ff97439f ded72f677f96a350623139cb7207e36c bf752f671abe0103623139cb7207439f +r pminuw 2ced5f927f2b383caf8484c5f3078d2a 6431aa6a1e5e366d4c1cd56194c94a4e 2ced5f921e5e366d4c1c84c594c94a4e +m pminuw 2ced5f927f2b383caf8484c5f3078d2a 6431aa6a1e5e366d4c1cd56194c94a4e 2ced5f921e5e366d4c1c84c594c94a4e +r pminuw 237d5fcd3f71f6e8e6230d4d4add00ad e309aef8a605af130821eb96e737777e 237d5fcd3f71af1308210d4d4add00ad +m pminuw 237d5fcd3f71f6e8e6230d4d4add00ad e309aef8a605af130821eb96e737777e 237d5fcd3f71af1308210d4d4add00ad +r pminuw 006fa689f61c78b41d010fab20265755 b5a9377eb31749ef710cf757885d2728 006f377eb31749ef1d010fab20262728 +m pminuw 006fa689f61c78b41d010fab20265755 b5a9377eb31749ef710cf757885d2728 006f377eb31749ef1d010fab20262728 +r pminuw 1f1030333fb8fa4b2feb05cb92ed4f4d 385e4166df2141ad63a8769192481679 1f1030333fb841ad2feb05cb92481679 +m pminuw 1f1030333fb8fa4b2feb05cb92ed4f4d 385e4166df2141ad63a8769192481679 1f1030333fb841ad2feb05cb92481679 +r pminuw dbacfa35b7d2b75af8ad6b99bb3fa4c2 c673c91ec9aed3f8b9c3e32f2103009d c673c91eb7d2b75ab9c36b992103009d +m pminuw dbacfa35b7d2b75af8ad6b99bb3fa4c2 c673c91ec9aed3f8b9c3e32f2103009d c673c91eb7d2b75ab9c36b992103009d +r pminuw 928efefdf9f5ec8d5313bd01b82612e0 bc36ca100a4a3a7d5127ba1c529aa0bf 928eca100a4a3a7d5127ba1c529a12e0 +m pminuw 928efefdf9f5ec8d5313bd01b82612e0 bc36ca100a4a3a7d5127ba1c529aa0bf 928eca100a4a3a7d5127ba1c529a12e0 +r pminuw 9f043af6a1aed58f1ee978efa4b054d2 76f140aa4182b4e706a17746411ab40c 76f13af64182b4e706a17746411a54d2 +m pminuw 9f043af6a1aed58f1ee978efa4b054d2 76f140aa4182b4e706a17746411ab40c 76f13af64182b4e706a17746411a54d2 +r pminuw 5e58aa8b4c88ae0d34fa174f9ce927c4 51f2275707e17ae4b3fd9698098ef5b0 51f2275707e17ae434fa174f098e27c4 +m pminuw 5e58aa8b4c88ae0d34fa174f9ce927c4 51f2275707e17ae4b3fd9698098ef5b0 51f2275707e17ae434fa174f098e27c4 |
|
From: Paul F. <pa...@so...> - 2025-12-09 08:48:39
|
https://sourceware.org/cgit/valgrind/commit/?id=de840f1459832b878fa1f572cec12ae5d315e583 commit de840f1459832b878fa1f572cec12ae5d315e583 Author: Paul Floyd <pj...@wa...> Date: Tue Dec 9 09:47:45 2025 +0100 Darwin: fix warning for hack to prevent crashes during stacktrace generation Diff: --- coregrind/m_stacktrace.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/coregrind/m_stacktrace.c b/coregrind/m_stacktrace.c index 5175f79fef..b9cf0e62d0 100644 --- a/coregrind/m_stacktrace.c +++ b/coregrind/m_stacktrace.c @@ -46,6 +46,11 @@ #include "pub_core_trampoline.h" #include "config.h" +#if defined(VGO_darwin) +// FIXME PJF this is bad (it's a syswrap private function) +// but the alternative for the moment is crashes when trying to produce stack traces +extern Bool ML_(safe_to_deref) ( const void *start, SizeT size ); +#endif /*------------------------------------------------------------*/ /*--- ---*/ |
|
From: Paul F. <pa...@so...> - 2025-12-09 08:43:32
|
https://sourceware.org/cgit/valgrind/commit/?id=47e1fa5d26f4128eb3564d78ec317dd8a0d54118 commit 47e1fa5d26f4128eb3564d78ec317dd8a0d54118 Author: Paul Floyd <pj...@wa...> Date: Tue Dec 9 09:41:01 2025 +0100 Darwin: remove support for old systems Valgrind no longer builds on Darwin 11 / Mac OS X 10.7. So remove support for Darwin 9 to Darwin 11 inclusive. Diff: --- Makefile.am | 1 - configure.ac | 20 +-- darwin9-drd.supp | 469 ------------------------------------------------------- darwin9.supp | 297 ----------------------------------- 4 files changed, 2 insertions(+), 785 deletions(-) diff --git a/Makefile.am b/Makefile.am index 4a62915bbc..abac4d2037 100644 --- a/Makefile.am +++ b/Makefile.am @@ -47,7 +47,6 @@ SUPP_FILES = \ glibc-2.X-helgrind.supp \ glibc-2.2-LinuxThreads-helgrind.supp \ glibc-2.X-drd.supp \ - darwin9.supp darwin9-drd.supp \ freebsd.supp freebsd-helgrind.supp freebsd-drd.supp \ darwin-legacy.supp darwin.supp \ darwin-drd.supp darwin-helgrind.supp \ diff --git a/configure.ac b/configure.ac index 8b7799ee3d..e251d795db 100644 --- a/configure.ac +++ b/configure.ac @@ -508,11 +508,7 @@ case "${host_os}" in DARWIN_DRD_SUPP="darwin-drd.supp" case "${kernel}" in - 9.*) - DARWIN_DRD_SUPP="darwin9-drd.supp" - DEFAULT_SUPP="$srcdir/darwin-legacy.supp ${DEFAULT_SUPP}" - ;; - 1[0-6].*) + 1[2-6].*) DEFAULT_SUPP="$srcdir/darwin-legacy.supp ${DEFAULT_SUPP}" ;; *) @@ -522,18 +518,6 @@ case "${host_os}" in case "${kernel}" in - 9.*) - AC_MSG_RESULT([Darwin 9.x (${kernel}) / Mac OS X 10.5 Leopard]) - DARWIN_VERS=$DARWIN_10_5 - ;; - 10.*) - AC_MSG_RESULT([Darwin 10.x (${kernel}) / Mac OS X 10.6 Snow Leopard]) - DARWIN_VERS=$DARWIN_10_6 - ;; - 11.*) - AC_MSG_RESULT([Darwin 11.x (${kernel}) / Mac OS X 10.7 Lion]) - DARWIN_VERS=$DARWIN_10_7 - ;; 12.*) AC_MSG_RESULT([Darwin 12.x (${kernel}) / Mac OS X 10.8 Mountain Lion]) DARWIN_VERS=$DARWIN_10_8 @@ -560,7 +544,7 @@ case "${host_os}" in ;; *) AC_MSG_RESULT([unsupported (${darwin_platform} ${kernel})]) - AC_MSG_ERROR([Valgrind works on Darwin 10.x-25.x (Mac OS X 10.6-10.11, macOS 10.12-10.13)]) + AC_MSG_ERROR([Valgrind works on Darwin 10.x-25.x (Mac OS X 10.8-10.11, macOS 10.12-10.13)]) ;; esac diff --git a/darwin9-drd.supp b/darwin9-drd.supp deleted file mode 100644 index ea301431b0..0000000000 --- a/darwin9-drd.supp +++ /dev/null @@ -1,469 +0,0 @@ - -# DRD suppressions for Darwin 9.x / Mac OS X 10.5 Leopard - -# -# Suppression patterns for dyld, the dynamic loader. -# - -{ - drd-darwin-dyld-register-func-for-add-image - drd:MutexErr - fun:pthread_mutex_unlock - fun:_dyld_register_func_for_add_image - fun:__keymgr_initializer - fun:libSystem_initializer -} -{ - drd-darwin-dyld-register-func-for-remove-image - drd:MutexErr - fun:pthread_mutex_unlock - fun:_dyld_register_func_for_remove_image - fun:__keymgr_initializer - fun:libSystem_initializer -} -{ - drd-darwin-dyld-GlobalLockInitialize - drd:MutexErr - fun:pthread_mutex_init - fun:_Z24dyldGlobalLockInitializev - fun:_dyld_initializer -} -{ - drd-darwin-dyld-bindLazySymbol - drd:ConflictingAccess - ... - fun:_ZN4dyld14bindLazySymbolEPK11mach_headerPm - fun:stub_binding_helper_interface2 -} -{ - drd-darwin-dyld-addImage - drd:ConflictingAccess - fun:_ZN4dyld8addImageEP11ImageLoader -} -{ - dyld-ImageLoader::link - drd:ConflictingAccess - ... - fun:_ZN4dyld18notifyBatchPartialE17dyld_image_statesbPFPKcS0_jPK15dyld_image_infoE - fun:_ZN11ImageLoader4linkERKNS_11LinkContextEbbRKNS_10RPathChainE - fun:_ZN4dyld4linkEP11ImageLoaderbRKNS0_10RPathChainE -} -{ - drd-darwin-dyld-ImageLoaderMachO::resolveUndefined - drd:ConflictingAccess - ... - fun:_ZN16ImageLoaderMachO16resolveUndefinedERKN11ImageLoader11LinkContextEPK11macho_nlistbPPKS0_ -} -{ - drd-darwin-dyld-ImageLoaderMachO::findExportedSymbol - drd:ConflictingAccess - fun:_ZNK16ImageLoaderMachO18findExportedSymbolEPKcPKvbPPK11ImageLoader - fun:_ZNK11ImageLoader41findExportedSymbolInDependentImagesExceptEPKcPPKS_RS4_S4_S4_ - fun:_ZNK11ImageLoader42findExportedSymbolInImageOrDependentImagesEPKcRKNS_11LinkContextEPPKS_ - fun:dlsym -} - - -# -# Suppression patterns for libc, Darwin's C library. -# - -{ - drd-darwin-libc-cerror - drd:ConflictingAccess - ... - fun:cerror -} -{ - drd-darwin-libc-rand - drd:ConflictingAccess - fun:do_rand -} -{ - drd-darwin-libc-vfprintf-1 - drd:ConflictingAccess - fun:vfprintf_l -} -{ - drd-darwin-libc-vfprintf-2 - drd:ConflictingAccess - fun:__vfprintf -} -{ - drd-darwin-libc-localeconv - drd:ConflictingAccess - fun:localeconv_l -} -{ - drd-darwin-libc-fwrite - drd:ConflictingAccess - ... - fun:fwrite$UNIX2003 -} -{ - drd-darwin-cxa-guard-acquire - drd:ConflictingAccess - obj:* - fun:__cxa_current_exception_type - fun:__cxa_guard_acquire -} -{ - drd-darwin-cxa-guard-release - drd:ConflictingAccess - fun:__cxa_guard_release -} -{ - drd-darwin-cxa-finalize - drd:MutexErr - fun:pthread_mutex_destroy - fun:__tcf_115 - fun:__cxa_finalize - fun:exit -} -{ - drd-darwin-atexit-register - drd:ConflictingAccess - fun:atexit_register -} -{ - drd-darwin-opendir - drd:ConflictingAccess - fun:telldir$UNIX2003 - fun:__opendir2$UNIX2003 - fun:opendir$UNIX2003 -} -{ - drd-darwin-readdir - drd:ConflictingAccess - fun:readdir -} -{ - drd-darwin-closedir - drd:ConflictingAccess - fun:closedir$UNIX2003 -} -{ - drd:darwin-ptrace - drd:ConflictingAccess - fun:ptrace -} - - -# -# Suppression patterns for libpthread, Darwin's POSIX threads implementation. -# - -{ - drd-darwin-pthread-create-1 - drd:ConflictingAccess - obj:* - fun:thread_start -} -{ - drd-darwin-pthread-create-2 - drd:ConflictingAccess - ... - fun:pthread_create* -} -{ - drd-darwin-pthread-join-1 - drd:ConflictingAccess - ... - fun:pthread_join$UNIX2003 -} -{ - drd-darwin-pthread-exit - drd:ConflictingAccess - ... - fun:_pthread_exit -} -{ - drd-darwin-pthread-find-thread - drd:ConflictingAccess - fun:_pthread_find_thread -} -{ - drd-darwin-pthread-spin-unlock - drd:ConflictingAccess - fun:spin_unlock -} -{ - drd-darwin-pthread-testcancel - drd:ConflictingAccess - fun:_pthread_testcancel -} -{ - drd-darwin-pthread-detach - drd:ConflictingAccess - ... - fun:pthread_detach -} -{ - drd-darwin-pthread-detach - drd:CondRaceErr - ... - fun:pthread_detach -} -{ - drd-darwin-pthread-kill - drd:ConflictingAccess - ... - fun:pthread_kill -} -{ - drd-darwin-pthread-free-pthread-onstack - drd:ConflictingAccess - fun:mig_dealloc_reply_port - fun:_pthread_free_pthread_onstack -} -{ - drd-darwin-pthread-mach-thread-np - drd:ConflictingAccess - ... - fun:pthread_mach_thread_np -} -{ - drd-darwin-pthread-key-create - drd:ConflictingAccess - fun:pthread_key_create -} - - -# -# Suppression patterns for libobjc. -# - -# It looks like the implementation of objc_msgSend uses another means than the -# POSIX threads library for locking. More information about messaging and -# objc_msgSend can be found here: -# http://devworld.apple.com/documentation/Cocoa/Conceptual/ObjCRuntimeGuide/Articles/ocrtHowMessagingWorks.html -# - -{ - drd-darwin-objc-msgSend - drd:ConflictingAccess - ... - fun:objc_msgSend -} -{ - drd-darwin-objc-msgSend - drd:ConflictingAccess - ... - fun:objc_sync_enter -} - - -# -# Suppression patterns for CoreFoundation.framework. -# - -# Suppressions for NSObject methods. For more information about the NSObject -# class, see also -# http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSObject_Class/Reference/Reference.html -{ - drd-darwin-NSObject-release - drd:ConflictingAccess - ... - fun:-[NSObject release] -} -{ - drd-darwin-NSObject-autorelease-1 - drd:ConflictingAccess - ... - fun:-[NSObject(NSObject) autorelease] -} -{ - drd-darwin-NSObject-autorelease-2 - drd:ConflictingAccess - fun:__NSAutoreleaseObject -} -{ - drd-darwin-NSObject-NSDeallocateObject - drd:ConflictingAccess - fun:_internal_object_dispose - fun:NSDeallocateObject -} -{ - drd-darwin-NSObject-retain - drd:ConflictingAccess - ... - fun:-[NSObject retain] -} -{ - drd-darwin-NSObject-retainCount - drd:ConflictingAccess - ... - fun:-[NSObject retainCount] -} -{ - drd-darwin-NSObject-NSDelayedPerforming-1 - drd:ConflictingAccess - ... - fun:+[NSObject(NSDelayedPerforming) cancelPreviousPerformRequestsWithTarget:selector:object:] -} -{ - drd-darwin-NSObject-NSDelayedPerforming-2 - drd:ConflictingAccess - ... - fun:-[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:] -} -{ - drd-darwin-NSObject-NSDelayedPerforming-3 - drd:ConflictingAccess - ... - fun:-[NSObject(NSDelayedPerforming) performSelector:withObject:afterDelay:inModes:] -} -{ - drd-darwin-NSObject-NSDelayedPerforming-4 - drd:ConflictingAccess - ... - fun:-[NSObject(NSThreadPerformAdditions) performSelector:onThread:withObject:waitUntilDone:modes:] -} -{ - drd-darwin-NSObject-NSDelayedPerforming-5 - drd:ConflictingAccess - ... - fun:-[NSObject(NSThreadPerformAdditions) performSelectorOnMainThread:withObject:waitUntilDone:] -} - -# Suppressions for methods of the NSThread class. -{ - drd-NSThread-nq - drd:ConflictingAccess - ... - fun:-[NSThread _nq:] -} - -# Suppressions for methods of the NSLock class. See also -# http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSLock_Class/Reference/Reference.html -{ - drd-darwin-NSLock-lock - drd:ConflictingAccess - fun:-[NSLock lock] -} -{ - drd-darwin-NSLock-unlock - drd:ConflictingAccess - fun:-[NSLock unlock] -} -# Suppressions for NSCondition methods. -{ - drd-darwin-NSConditionLock-lock - drd:ConflictingAccess - fun:-[NSCondition lock] -} -# Suppressions for NSConditionLock methods. -{ - drd-darwin-NSConditionLock-lockWhenCondition:beforeDate: - drd:ConflictingAccess - fun:-[NSConditionLock lockWhenCondition:beforeDate:] -} - - -# NSExtraRefCount returns the specified object's reference count, and -# NSDecrementExtraRefCountWasZero decrements the specified object's reference -# count. -# See also http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Miscellaneous/Foundation_Functions/Reference/reference.html -{ - drd-darwin-NSExtraRefCount - drd:ConflictingAccess - ... - fun:NSExtraRefCount -} -{ - drd-darwin-NSDecrementExtraRefCountWasZero - drd:ConflictingAccess - ... - fun:NSDecrementExtraRefCountWasZero -} -# For more information about key-value observing, see also the NSKeyValueObserving Protocol Reference: -# http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Protocols/NSKeyValueObserving_Protocol/Reference/Reference.html -{ - drd-darwin-NSKVONotify - drd:ConflictingAccess - ... - fun:NSKVONotify -} -{ - drd-darwin-NSKVONotifyingEnableForInfoAndKey - drd:ConflictingAccess - ... - fun:_NSKVONotifyingEnableForInfoAndKey -} -# From the NSRunLoop class reference: -# Warning: The NSRunLoop class is generally not considered to be thread-safe -# and its methods should only be called within the context of the current -# thread. You should never try to call the methods of an NSRunLoop object -# running in a different thread, as doing so might cause unexpected results. -# See also the NSRunLoop Class Reference: -# http://developer.apple.com/documentation/Cocoa/Reference/Foundation/Classes/NSRunLoop_Class/Reference/Reference.html -# { -# drd-darwin-CFRunLoop* -# drd:ConflictingAccess -# ... -# fun:CFRunLoop* -# } -# See also the CFBag reference: -# http://developer.apple.com/documentation/CoreFoundation/Reference/CFBagRef/Reference/reference.html -# { -# drd-darwin-CFBag* -# drd:ConflictingAccess -# fun:CFBag* -# } - -# Suppression patterns for the memory allocation functions in WTF. -{ - drd-WTF::fastCalloc - drd:ConflictingAccess - ... - fun:_ZN3WTF10fastCallocEmm -} -{ - drd-WTF::fastMalloc - drd:ConflictingAccess - ... - fun:_ZN3WTF10fastMallocEm -} -{ - drd-WTF::fastFree - drd:ConflictingAccess - ... - fun:_ZN3WTF8fastFreeEPv -} - -# Suppression patterns for the string manipulation functions in WebCore. -{ - drd-WebCore::StringImpl::init - drd:ConflictingAccess - ... - fun:_ZN7WebCore10StringImpl4initEPKcj -} -{ - drd-WebCore::StringImpl::append - drd:ConflictingAccess - ... - fun:_ZN7WebCore10StringImpl6appendEPKtj -} -{ - drd-WebCore::CString::init - drd:ConflictingAccess - ... - fun:_ZN7WebCore7CString4initEPKcj -} - -# Suppression patterns for the text encoding functions in WebCore. -{ - drd-WebCore::WebCore::TextCodec::~TextCodec() - drd:ConflictingAccess - fun:_ZN7WebCore9TextCodecD2Ev -} -{ - drd-WebCore::TextCodecICU::TextCodecICU - drd:ConflictingAccess - fun:_ZN7WebCore12TextCodecICUC2ERKNS_12TextEncodingE -} -{ - drd-WebCore::TextCodecICU::~TextCodecICU - drd:ConflictingAccess - fun:_ZN7WebCore12TextCodecICUD0Ev -} diff --git a/darwin9.supp b/darwin9.supp deleted file mode 100644 index f7769c7c5b..0000000000 --- a/darwin9.supp +++ /dev/null @@ -1,297 +0,0 @@ - -# Suppressions for Darwin 9.x / Mac OS X 10.5 Leopard - -##----------------------------------------------------------------------## -# Memcheck -##----------------------------------------------------------------------## - -{ - mach_msg_trap-1 - Memcheck:Param - mach_msg(msg.msgh_remote_port) - fun:mach_msg_trap - obj:/System/Library/Frameworks/CoreFoundation* - obj:/System/Library/Frameworks/ApplicationServices* -} - -{ - mach_msg_trap-2 - Memcheck:Param - mach_msg(msg.msgh_remote_port) - fun:mach_msg_trap - obj:/System/Library/Frameworks/CoreFoundation* - obj:/System/Library/Frameworks/CoreServices* -} - -{ - mach_msg_trap-3 - Memcheck:Param - mach_msg(msg.msgh_remote_port) - fun:mach_msg_trap - obj:/System/Library/Frameworks/CoreFoundation* - obj:/System/Library/Frameworks/Carbon* -} - -{ - mach_msg_trap-4 - Memcheck:Param - mach_msg(msg.msgh_remote_port) - fun:mach_msg_trap - obj:/System/Library/Frameworks/CoreFoundation* - obj:/System/Library/Frameworks/CoreFoundation* -} - -{ - mach_msg_trap-5 - Memcheck:Param - mach_msg(msg.msgh_remote_port) - fun:mach_msg_trap - obj:/System/Library/Frameworks/CoreFoundation* - obj:/System/Library/Frameworks/AppKit* -} - -{ - macos-Cond-1 - Memcheck:Cond - fun:GetVariationInfoFromName - obj:/System/Library/Frameworks/ApplicationServices* - obj:/System/Library/Frameworks/ApplicationServices* -} - -{ - macos-Cond-2 - Memcheck:Cond - fun:*PMMutex*Lock* - obj:/System/Library/Frameworks/ApplicationServices* - obj:/System/Library/Frameworks/ApplicationServices* -} - -{ - macos-Cond-3 - Memcheck:Cond - fun:sseCGSBlendXXXX8888 - obj:/System/Library/Frameworks/ApplicationServices* - obj:/System/Library/Frameworks/ApplicationServices* -} - -{ - macos-Cond-4 - Memcheck:Cond - fun:*CASettingsStorage*RefreshSettings* - obj:/System/Library/Frameworks/CoreAudio* - obj:/System/Library/Frameworks/CoreAudio* -} - -{ - macos-Cond-5 - Memcheck:Cond - fun:gle* - obj:/System/Library/Frameworks/OpenGL* - obj:/System/Library/Frameworks/OpenGL* -} - -{ - macos-Cond-6 - Memcheck:Cond - fun:pthread_rwlock_init$UNIX2003 - fun:main -} - -# afaict this is legit. Might be caused by setenv("VAR=") -# where the value string is empty (not sure) -{ - macos-Cond-7 - Memcheck:Cond - fun:__setenv - fun:putenv* -} - -{ - macos-futimes-1 - Memcheck:Param - futimes(tvp[1]) - fun:futimes - obj:/usr/lib/libSystem* - obj:/usr/lib/libSystem* -} - -{ - macos-vsyslog-hole - Memcheck:Param - socketcall.sendto(msg) - fun:sendto$NOCANCEL$UNIX2003 - fun:vsyslog -} - -# Still-reachable memory. - -# I chopped this one off at libSystem_initializer, there were more frames. -{ - darwin-still-reachable-1 - Memcheck:Leak - fun:calloc - fun:dwarf2_unwind_dyld_add_image_hook - fun:_ZN4dyld19registerAddCallbackEPFvPK11mach_headerlE - fun:_dyld_register_func_for_add_image - fun:__keymgr_initializer - fun:libSystem_initializer -} - -# I chopped this one off at libSystem_initializer, there were more frames. -{ - darwin-still-reachable-2 - Memcheck:Leak - fun:malloc - fun:get_or_create_key_element - fun:_keymgr_get_and_lock_processwide_ptr_2 - fun:dwarf2_unwind_dyld_add_image_hook - fun:_ZN4dyld19registerAddCallbackEPFvPK11mach_headerlE - fun:_dyld_register_func_for_add_image - fun:__keymgr_initializer - fun:libSystem_initializer -} - -{ - darwin-still-reachable-3 - Memcheck:Leak - fun:malloc - fun:__smakebuf - fun:__swsetup - fun:__sfvwrite - fun:puts -} - -# Genuine leaks. -# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's -# unavoidable due to BSD setenv() semantics. -{ - macos-__setenv-leak-see-our-bug-188572 - Memcheck:Leak - fun:malloc_zone_malloc - fun:__setenv - fun:setenv$UNIX2003 -} -{ - macos-localeconv-leak - Memcheck:Leak - fun:malloc - fun:localeconv_l - fun:__vfprintf - fun:vsnprintf -} - -{ - macos-TFontFeatures::TFontFeatures(unsigned long)-uninitialised-stack-val - Memcheck:Cond - fun:_ZN13TFontFeaturesC2Em - fun:_ZNK9TBaseFont12CopyFeaturesEv -} - -# Conditional jump or move depends on uninitialised value(s) -# at 0x4E5CD59: _DPSNextEvent (in /System/Library/Frameworks -# /AppKit.framework/Versions/C/AppKit) -# by 0x4E5BF87: -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] -# (in /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit) -# by 0x4E54F9E: -[NSApplication run] (in /System/Library/Frameworks -# /AppKit.framework/Versions/C/AppKit) -# Uninitialised value was created by a stack allocation -# at 0x4E5C450: _DPSNextEvent (in /System/Library/Frameworks -# /AppKit.framework/Versions/C/AppKit) -{ - macos-_DPSNextEvent-stack-allocated-uninit - Memcheck:Cond - fun:_DPSNextEvent -} - - -##----------------------------------------------------------------------## -# Helgrind -##----------------------------------------------------------------------## - -# These ones were necessary to give no errors on a tiny non-threaded -# program. I don't know if they're real problems or false positives (njn). - -# keymgr seems to deliberately do some bogus actions, and if they are bogus, -# it passes the error codes back to the caller. -{ - __keymgr_initializer lock failed - Helgrind:PthAPIerror - fun:pthread_mutex_lock - fun:_dyld_register_func_for_*_image - fun:__keymgr_initializer - fun:libSystem_initializer -} -{ - __keymgr_initializer unlock failed - Helgrind:PthAPIerror - fun:pthread_mutex_unlock - fun:_dyld_register_func_for_*_image - fun:__keymgr_initializer - fun:libSystem_initializer -} -{ - __keymgr_initializer bogus unlock - Helgrind:UnlockBogus - fun:pthread_mutex_unlock - fun:_dyld_register_func_for_*_image - fun:__keymgr_initializer - fun:libSystem_initializer -} - -# These ones were necessary to give no errors on a tiny threaded program. -# I don't know if they're real problems or false positives (njn). - -#{ -# helgrind-darwinlibc-nuke-everything-in-dyld -# Helgrind:Race -# obj:/usr/lib/dyld -#} - -{ - helgrind-darwinlibc-nuke-everything-in-libSystem.B.dylib - Helgrind:Race - obj:/usr/lib/libSystem.B.dylib -} - -# This would be better as "fun:\?\?\?" but string matching doesn't seem to -# allow escaping meta-chars. -# -# This is very bad .. not only will it hide races in any -# un-identified piece of code, the ??? also matches any 3-char -# function name. -{ - helgrind-darwinlibc-nuke-everything-in-???-(unknown-code) - Helgrind:Race - fun:??? -} - -{ - helgrind-darwinlibc--mythread_wrapper-*thread*start* - Helgrind:Race - fun:mythread_wrapper - fun:*thread*start* -} - -{ - helgrind-darwinlibc--pthread_create_WRK-pthread_create - Helgrind:Race - fun:pthread_create_WRK - fun:pthread_create -} - - -# Thread #9: Bug in libpthread: recursive write lock granted on -# mutex/wrlock which does not support recursion -# at 0x18696: pthread_cond_wait* (hg_intercepts.c:655) -# by 0x2300B8: pthread_rwlock_wrlock$UNIX2003 (in /usr/lib/libSystem.B.dylib) -# by 0x18F41: pthread_rwlock_wrlock* (hg_intercepts.c:1177) -# -# no idea what this is about -# -{ - helgrind-darwin9--pthread-rwlock-kludgery - Helgrind:Misc - fun:pthread_cond_wait* - fun:pthread_rwlock_*lock* - fun:pthread_rwlock_*lock* -} |
|
From: Paul F. <pa...@so...> - 2025-12-09 08:16:44
|
https://sourceware.org/cgit/valgrind/commit/?id=eca0ea6e9aa5914847f3f229c633b812ed5e1da8 commit eca0ea6e9aa5914847f3f229c633b812ed5e1da8 Author: Paul Floyd <pj...@wa...> Date: Tue Dec 9 08:58:46 2025 +0100 Darwin: add most of the missing bits for Darwin 18 support Code merged from Louis Brunner. Also add a but of doc about the oldest OSX that we support. Unfortunately I don't know which version that is. Diff: --- coregrind/m_syswrap/priv_syswrap-darwin.h | 8 ++++++ coregrind/m_syswrap/syswrap-darwin.c | 41 ++++++++++++++++++++++++++++++- coregrind/m_syswrap/syswrap-x86-darwin.c | 3 +-- docs/internals/Darwin-notes.txt | 14 +++++++++++ include/vki/vki-darwin.h | 3 +++ include/vki/vki-scnums-darwin.h | 9 +++++++ shared/vg_replace_strmem.c | 1 - 7 files changed, 75 insertions(+), 4 deletions(-) diff --git a/coregrind/m_syswrap/priv_syswrap-darwin.h b/coregrind/m_syswrap/priv_syswrap-darwin.h index 579b3d8c6f..a96ce36b49 100644 --- a/coregrind/m_syswrap/priv_syswrap-darwin.h +++ b/coregrind/m_syswrap/priv_syswrap-darwin.h @@ -646,6 +646,10 @@ DECL_TEMPLATE(darwin, abort_with_payload); // 521 // NYI ntp_gettime // 528 // NYI os_fault_with_payload // 529 #endif /* DARWIN_VERS >= DARWIN_10_13 */ +#if DARWIN_VERS >= DARWIN_10_14 +// NYI kqueue_workloop_ctl // 530 +// NYI __mach_bridge_remote_time // 531 +#endif /* DARWIN_VERS >= DARWIN_10_14 */ // Mach message helpers DECL_TEMPLATE(darwin, mach_port_set_context); @@ -786,6 +790,10 @@ DECL_TEMPLATE(darwin, iokit_user_client_trap); DECL_TEMPLATE(darwin, swtch); DECL_TEMPLATE(darwin, swtch_pri); +#if DARWIN_VERS >= DARWIN_10_14 +DECL_TEMPLATE(darwin, kernelrpc_mach_port_get_attributes_trap); +#endif /* DARWIN_VERS >= DARWIN_10_14 */ + // Machine-dependent traps DECL_TEMPLATE(darwin, thread_fast_set_cthread_self); diff --git a/coregrind/m_syswrap/syswrap-darwin.c b/coregrind/m_syswrap/syswrap-darwin.c index 0113d388de..80bd013f36 100644 --- a/coregrind/m_syswrap/syswrap-darwin.c +++ b/coregrind/m_syswrap/syswrap-darwin.c @@ -1776,6 +1776,9 @@ static const HChar *name_for_fcntl(UWord cmd) { F(F_ADDFILESIGS_FOR_DYLD_SIM); F(F_BARRIERFSYNC); F(F_ADDFILESIGS_RETURN); +# endif +# if DARWIN_VERS >= DARWIN_10_14 + F(F_CHECK_LV); # endif default: return "UNKNOWN"; @@ -1975,6 +1978,13 @@ PRE(fcntl) break; # endif +# if DARWIN_VERS >= DARWIN_10_14 + case VKI_F_CHECK_LV: /* Check if Library Validation allows this Mach-O file to be + mapped into the calling process */ + // FIXME: Dejan + break; +# endif + default: PRINT("fcntl ( %lu, %lu [??] )", ARG1, ARG2); log_decaying("UNKNOWN fcntl %lu!", ARG2); @@ -10916,9 +10926,29 @@ POST(thread_get_special_reply_port) record_named_port(tid, RES, MACH_PORT_RIGHT_RECEIVE, "special-reply-%p"); PRINT("special reply port %s", name_for_port(RES)); } - #endif /* DARWIN_VERS >= DARWIN_10_13 */ + +/* --------------------------------------------------------------------- + Added for macOS 10.14 (Mojave) + ------------------------------------------------------------------ */ + +#if DARWIN_VERS >= DARWIN_10_14 +PRE(kernelrpc_mach_port_get_attributes_trap) +{ + PRINT("kernelrpc_mach_port_get_attributes_trap( %s, %s, %ld, %#lx, %#lx )", + name_for_port(ARG1), name_for_port(ARG2), SARG3, ARG4, ARG5); + PRE_REG_READ5(kern_return_t, "kernelrpc_mach_port_get_attributes_trap", + mach_port_name_t, target, mach_port_name_t, name, mach_port_flavor_t, flavor, + mach_port_info_t, port_info_out, mach_msg_type_number_t*, port_info_outCnt); + PRE_MEM_READ( "kernelrpc_mach_port_get_attributes_trap(port_info_outCnt)", ARG5, sizeof(mach_msg_type_number_t)); + PRE_MEM_WRITE( "kernelrpc_mach_port_get_attributes_trap(port_info_outCnt)", ARG5, sizeof(mach_msg_type_number_t)); + mach_msg_type_number_t count = *(mach_msg_type_number_t*)ARG5; + if (count > 0) { + PRE_MEM_WRITE( "kernelrpc_mach_port_get_attributes_trap(port_info_out)", ARG4, count * sizeof(integer_t)); + } +} +#endif /* DARWIN_VERS >= DARWIN_10_14 */ /* --------------------------------------------------------------------- syscall tables ------------------------------------------------------------------ */ @@ -11541,6 +11571,10 @@ const SyscallTableEntry ML_(syscall_table)[] = { // _____(__NR_ntp_adjtime), // 527 // _____(__NR_ntp_gettime), // 528 // _____(__NR_os_fault_with_payload), // 529 +#endif +#if DARWIN_VERS >= DARWIN_10_14 +// _____(__NR_kqueue_workloop_ctl), // 530 +// _____(__NR___mach_bridge_remote_time), // 531 #endif MACX_(__NR_darwin_fake_sigreturn, fake_sigreturn) @@ -11634,7 +11668,12 @@ const SyscallTableEntry ML_(mach_trap_table)[] = { MACX_(__NR_semaphore_wait_signal_trap, semaphore_wait_signal), MACX_(__NR_semaphore_timedwait_trap, semaphore_timedwait), MACX_(__NR_semaphore_timedwait_signal_trap, semaphore_timedwait_signal), + +# if DARWIN_VERS >= DARWIN_10_14 + MACX_(__NR_kernelrpc_mach_port_get_attributes_trap, kernelrpc_mach_port_get_attributes_trap), +# else _____(VG_DARWIN_SYSCALL_CONSTRUCT_MACH(40)), // -40 +# endif # if DARWIN_VERS >= DARWIN_10_9 MACX_(__NR_kernelrpc_mach_port_guard_trap, kernelrpc_mach_port_guard_trap), diff --git a/coregrind/m_syswrap/syswrap-x86-darwin.c b/coregrind/m_syswrap/syswrap-x86-darwin.c index a0bc1a1e7a..76416b06d9 100644 --- a/coregrind/m_syswrap/syswrap-x86-darwin.c +++ b/coregrind/m_syswrap/syswrap-x86-darwin.c @@ -430,8 +430,7 @@ void wqthread_hijack(Addr self, Addr kport, Addr stackaddr, Addr workitem, || DARWIN_VERS == DARWIN_10_10 \ || DARWIN_VERS == DARWIN_10_11 \ || DARWIN_VERS == DARWIN_10_12 \ - || DARWIN_VERS == DARWIN_10_13 \ - || DARWIN_VERS == DARWIN_10_14 + || DARWIN_VERS == DARWIN_10_13 UWord magic_delta = 0xB0; # else # error "magic_delta: to be computed on new OS version" diff --git a/docs/internals/Darwin-notes.txt b/docs/internals/Darwin-notes.txt index 61d1931ad5..0cedd16981 100644 --- a/docs/internals/Darwin-notes.txt +++ b/docs/internals/Darwin-notes.txt @@ -58,6 +58,20 @@ storage.c to choose between symbol table names vs. Dwarf3 names. So this machinery was removed in r10155. +Mac OS X / macOS supported platforms +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Since January 2025 (and thus Valgrind 3.25) we have required a compiler +that supports C11. See 42eb19c0da3bb280de88b7f8fc9b7caaa44aedfem for +details. We also need an xcrun that supports --show-sdk-path (since +December 2025). I'm not sure when both of those became supported. +Definitely neither are on Mac OS 10.7 with XCode 4.6.3. And equally +definitely both are supported on macOS 10.13 with XCode 10.1. That +means that I don't know which is the oldest version of macOS that +will build Valgrind (as of December 2025). Somewhere between 10.8 (Darwin 12) +and 10.12 (Darwin 16). + + Valgrind-developer notes, todos re the MacOSX port ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ diff --git a/include/vki/vki-darwin.h b/include/vki/vki-darwin.h index e89888e65a..056bd9e890 100644 --- a/include/vki/vki-darwin.h +++ b/include/vki/vki-darwin.h @@ -408,6 +408,9 @@ typedef uint32_t vki_u32; # define VKI_F_BARRIERFSYNC F_BARRIERFSYNC # define VKI_F_ADDFILESIGS_RETURN F_ADDFILESIGS_RETURN #endif +#if DARWIN_VERS >= DARWIN_10_14 +# define VKI_F_CHECK_LV F_CHECK_LV +#endif #define VKI_F_FULLFSYNC F_FULLFSYNC #define VKI_F_PATHPKG_CHECK F_PATHPKG_CHECK #define VKI_F_FREEZE_FS F_FREEZE_FS diff --git a/include/vki/vki-scnums-darwin.h b/include/vki/vki-scnums-darwin.h index 9e5c869645..70b110e816 100644 --- a/include/vki/vki-scnums-darwin.h +++ b/include/vki/vki-scnums-darwin.h @@ -174,6 +174,10 @@ #define __NR_semaphore_timedwait_trap VG_DARWIN_SYSCALL_CONSTRUCT_MACH(38) #define __NR_semaphore_timedwait_signal_trap VG_DARWIN_SYSCALL_CONSTRUCT_MACH(39) +#if DARWIN_VERS >= DARWIN_10_14 +#define __NR_kernelrpc_mach_port_get_attributes_trap VG_DARWIN_SYSCALL_CONSTRUCT_MACH(40) +#endif + #if DARWIN_VERS >= DARWIN_10_9 #define __NR_kernelrpc_mach_port_guard_trap VG_DARWIN_SYSCALL_CONSTRUCT_MACH(41) #define __NR_kernelrpc_mach_port_unguard_trap VG_DARWIN_SYSCALL_CONSTRUCT_MACH(42) @@ -850,6 +854,11 @@ #define __NR_os_fault_with_payload VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(529) #endif /* DARWIN_VERS >= DARWIN_10_13 */ +#if DARWIN_VERS >= DARWIN_10_14 +#define __NR_kqueue_workloop_ctl VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(530) +#define __NR___mach_bridge_remote_time VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(531) +#endif /* DARWIN_VERS >= DARWIN_10_14 */ + #define __NR_darwin_fake_sigreturn VG_DARWIN_SYSCALL_CONSTRUCT_UNIX(1000) #endif diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c index d9de90b411..aed02d1519 100644 --- a/shared/vg_replace_strmem.c +++ b/shared/vg_replace_strmem.c @@ -388,7 +388,6 @@ static inline void my_exit ( int x ) #elif defined(VGO_darwin) STRNCAT(VG_Z_LIBSYSTEM_C_SONAME, strncat) STRNCAT(VG_Z_LIBSYSTEM_C_SONAME, __strncat_chk) - //STRNCAT(VG_Z_DYLD, strncat) #elif defined(VGO_solaris) STRNCAT(VG_Z_LIBC_SONAME, strncat) |
|
From: Paul F. <pa...@so...> - 2025-12-09 06:46:57
|
https://sourceware.org/cgit/valgrind/commit/?id=9d46e3648f315b96ccc383f677448623c9236191 commit 9d46e3648f315b96ccc383f677448623c9236191 Author: Paul Floyd <pj...@wa...> Date: Tue Dec 9 07:33:49 2025 +0100 Darwin suppressions: merge old suppression files to darwin-legacy.supp Merge files for Darwin 10 to 16 into a legacy file. Rename the Darwin 17 file as just darwin.supp. I'll add suppressions to that file, at least for 10.14 and 10.15. When I get to Darwin 20 and the dyld shared cache we'll see, that might need a new set of suppression files. Remove freebsd-helgrind-dbgrtld.supp. I thought that it would be useful but it wasn't. When I merged the Darwin suppression files I wrote a little duplication detection tool (only for exact duplicates). This found one duplicate in solaris12.supp that I've removed. Diff: --- Makefile.am | 4 +- configure.ac | 39 +- darwin16.supp => darwin-legacy.supp | 809 ++++++++++++++++++++++++++++-------- darwin17.supp => darwin.supp | 0 darwin10.supp | 67 --- darwin11.supp | 245 ----------- darwin12.supp | 448 -------------------- darwin13.supp | 278 ------------- darwin14.supp | 674 ------------------------------ darwin15.supp | 730 -------------------------------- freebsd-helgrind-dbgrtld.supp | 90 ---- solaris12.supp | 6 - 12 files changed, 657 insertions(+), 2733 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2bf7c195ef..4a62915bbc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -49,9 +49,7 @@ SUPP_FILES = \ glibc-2.X-drd.supp \ darwin9.supp darwin9-drd.supp \ freebsd.supp freebsd-helgrind.supp freebsd-drd.supp \ - darwin10.supp \ - darwin11.supp darwin12.supp darwin13.supp darwin14.supp darwin15.supp \ - darwin16.supp darwin17.supp \ + darwin-legacy.supp darwin.supp \ darwin-drd.supp darwin-helgrind.supp \ bionic.supp \ solaris11.supp solaris12.supp \ diff --git a/configure.ac b/configure.ac index 4bf92df428..8b7799ee3d 100644 --- a/configure.ac +++ b/configure.ac @@ -496,73 +496,74 @@ case "${host_os}" in esac AC_MSG_RESULT([ok (${darwin_platform})]) - AC_MSG_CHECKING([for the kernel version]) + AC_MSG_CHECKING([for the kernel version]) kernel=$darwin_version if test "x$kernel" = "x"; then if test "${host_cpu}" != "${build_cpu}"; then AC_MSG_WARN([You are cross-compiling without specifying the target\'s darwin-version, valgrind might not work.]) fi - kernel=`uname -r` + kernel=`uname -r` fi DARWIN_DRD_SUPP="darwin-drd.supp" + + case "${kernel}" in + 9.*) + DARWIN_DRD_SUPP="darwin9-drd.supp" + DEFAULT_SUPP="$srcdir/darwin-legacy.supp ${DEFAULT_SUPP}" + ;; + 1[0-6].*) + DEFAULT_SUPP="$srcdir/darwin-legacy.supp ${DEFAULT_SUPP}" + ;; + *) + DEFAULT_SUPP="$srcdir/darwin.supp ${DEFAULT_SUPP}" + ;; + esac + + case "${kernel}" in 9.*) AC_MSG_RESULT([Darwin 9.x (${kernel}) / Mac OS X 10.5 Leopard]) DARWIN_VERS=$DARWIN_10_5 - DEFAULT_SUPP="$srcdir/darwin9.supp ${DEFAULT_SUPP}" - DARWIN_DRD_SUPP="darwin9-drd.supp" ;; 10.*) AC_MSG_RESULT([Darwin 10.x (${kernel}) / Mac OS X 10.6 Snow Leopard]) DARWIN_VERS=$DARWIN_10_6 - DEFAULT_SUPP="$srcdir/darwin10.supp ${DEFAULT_SUPP}" ;; 11.*) AC_MSG_RESULT([Darwin 11.x (${kernel}) / Mac OS X 10.7 Lion]) DARWIN_VERS=$DARWIN_10_7 - DEFAULT_SUPP="$srcdir/darwin11.supp ${DEFAULT_SUPP}" ;; 12.*) AC_MSG_RESULT([Darwin 12.x (${kernel}) / Mac OS X 10.8 Mountain Lion]) DARWIN_VERS=$DARWIN_10_8 - DEFAULT_SUPP="$srcdir/darwin12.supp ${DEFAULT_SUPP}" ;; 13.*) AC_MSG_RESULT([Darwin 13.x (${kernel}) / Mac OS X 10.9 Mavericks]) DARWIN_VERS=$DARWIN_10_9 - DEFAULT_SUPP="$srcdir/darwin13.supp ${DEFAULT_SUPP}" ;; 14.*) AC_MSG_RESULT([Darwin 14.x (${kernel}) / Mac OS X 10.10 Yosemite]) DARWIN_VERS=$DARWIN_10_10 - DEFAULT_SUPP="$srcdir/darwin14.supp ${DEFAULT_SUPP}" ;; 15.*) AC_MSG_RESULT([Darwin 15.x (${kernel}) / Mac OS X 10.11 El Capitan]) DARWIN_VERS=$DARWIN_10_11 - DEFAULT_SUPP="$srcdir/darwin15.supp ${DEFAULT_SUPP}" ;; 16.*) AC_MSG_RESULT([Darwin 16.x (${kernel}) / macOS 10.12 Sierra]) DARWIN_VERS=$DARWIN_10_12 - DEFAULT_SUPP="$srcdir/darwin16.supp ${DEFAULT_SUPP}" ;; 17.*) AC_MSG_RESULT([Darwin 17.x (${kernel}) / macOS 10.13 High Sierra]) DARWIN_VERS=$DARWIN_10_13 - DEFAULT_SUPP="$srcdir/darwin17.supp ${DEFAULT_SUPP}" ;; - *) - AC_MSG_RESULT([unsupported (${darwin_platform} ${kernel})]) - AC_MSG_ERROR([Valgrind works on Darwin 10.x-25.x (Mac OS X 10.6-10.11, macOS 10.12-10.13)]) + *) + AC_MSG_RESULT([unsupported (${darwin_platform} ${kernel})]) + AC_MSG_ERROR([Valgrind works on Darwin 10.x-25.x (Mac OS X 10.6-10.11, macOS 10.12-10.13)]) ;; esac - if test -f "$srcdir/darwin${DARWIN_KERNEL_VERS}.supp"; then - DEFAULT_SUPP="$srcdir/darwin${DARWIN_KERNEL_VERS}.supp ${DEFAULT_SUPP}" - fi - AC_DEFINE_UNQUOTED([DARWIN_VERS], $DARWIN_VERS, [Darwin / Mac OS X / macOS / iOS version]) AC_SUBST(DARWIN_VERS) DEFAULT_SUPP="$srcdir/${DARWIN_DRD_SUPP} ${DEFAULT_SUPP} $srcdir/darwin-helgrind.supp" diff --git a/darwin16.supp b/darwin-legacy.supp similarity index 50% rename from darwin16.supp rename to darwin-legacy.supp index ae31a97a9e..84487bf631 100644 --- a/darwin16.supp +++ b/darwin-legacy.supp @@ -1,49 +1,515 @@ -# Suppressions for Darwin 16.x / macOS 10.12 Sierra +# Suppressions for legacy versions of Darwin +# Darwin 16.x / macOS 10.12 Sierra and earlier -############################################ -## Leaks. For other stuff see below. +# Suppressions for Darwin 11.x / Mac OS X 10.7 Lion + +# Dunno where this is a real bug, or due to borked 10.7-specific syscall +# wrappers. 64-bit mode; not sure if occurs in 32-bit mode. +# Anyway, for the tine being: +# +# Conditional jump or move depends on uninitialised value(s) +# at 0x1973E6: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) +# by 0x1976AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) +# by 0x100B3D: unlock_node (in /usr/lib/system/libkeymgr.dylib) { - OSX1012:1-Leak + OSX107:__mtx_droplock + Memcheck:Cond + fun:__mtx_droplock + fun:pthread_mutex_unlock + fun:unlock_node +} + +# Conditional jump or move depends on uninitialised value(s) +# at 0x2EB883: ??? (in /usr/lib/system/libxpc.dylib) +# by 0x237C6: ??? (in /usr/lib/libSystem.B.dylib) +# by 0x8FE1115A: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld) +{ + <insert_a_suppression_name_here> + Memcheck:Cond + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/libSystem.B.dylib + fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE +} + +# ZLib stuff. How come this wasn't necessary in 10.6 ? +{ + OSX107:zlib-C + Memcheck:Cond + obj:/usr/lib/libz.*dylib + obj:/usr/lib/libz.*dylib +} + +{ + OSX107:zlib-8 + Memcheck:Value8 + obj:/usr/lib/libz.*dylib + obj:/usr/lib/libz.*dylib +} + +# Really a bug? I don't know. +# Conditional jump or move depends on uninitialised value(s) +# at 0x3A322FE: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) +# by 0x3A326AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) +# by 0x26382: load_images (in /usr/lib/libobjc.A.dylib) +{ + OSX107:blah + Memcheck:Cond + fun:__mtx_droplock + fun:pthread_mutex_unlock +} + +{ + OSX107:blah + Memcheck:Cond + fun:pthread_mutex_lock +} + +{ + OSX107:10-Leak Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc + match-leak-kinds: reachable + fun:?alloc ... - fun:_read_images + fun:libSystem_initializer } +################ +# More OSX 10.7.2 supps from startup of Firefox, for reports +# that look like they are in the OSX system libraries + +# Conditional jump or move depends on uninitialised value(s) +# at 0x65ADC41: TParsingContext::BuildMacEncTable() +# by 0x65AD98B: TParsingContext::GetEncHash(char const*) +# Uninitialised value was created by a heap allocation +# at 0xC743: malloc (vg_replace_malloc.c:266) +# by 0x65ADADA: TParsingContext::BuildMacEncTable() { - OSX1012:2-Leak + OSX107:more1 + Memcheck:Cond + fun:*TParsingContext16BuildMacEncTable* + fun:*TParsingContext10GetEncHash* +} + +# Conditional jump or move depends on uninitialised value(s) +# at 0x49ABC48: CGColorSpaceAdjustColor +# by 0x4A9AEE8: CGGradientCreateWithColorComponents +# Uninitialised value was created by a heap allocation +# at 0xC743: malloc (vg_replace_malloc.c:266) +# by 0x4A9AEC4: CGGradientCreateWithColorComponents +# by 0x4A9AC49: CGGradientCreateWithColors +{ + OSX107:more2 + Memcheck:Cond + fun:CGColorSpaceAdjustColor + fun:CGGradientCreateWithColorComponents +} + + +# Conditional jump or move depends on uninitialised value(s) +# at 0x2119CCA8: BitSetNextSetBit +# by 0x211A4BA5: BuildInterferenceSets +# Uninitialised value was created by a heap allocation +# at 0xC743: malloc (vg_replace_malloc.c:266) +# by 0x2119CB98: BitSetNew +# by 0x2119D06F: BuildGenKill +{ + OSX107:more3 + Memcheck:Cond + fun:BitSetNextSetBit + fun:BuildInterferenceSets +} + +# and similar +{ + OSX107:more4 + Memcheck:Cond + fun:BitSetNextSetBit + fun:RegistersReInterfere +} + + +# Conditional jump or move depends on uninitialised value(s) +# at 0x33E4160: CUIRenderer::CreateImage +# by 0x33C14A4: CUIRenderer::DrawMenuBar +# Uninitialised value was created by a stack allocation +# at 0x33C12FC: CUIRenderer::DrawMenuBar +{ + OSX107:more5 + Memcheck:Cond + fun:*CUIRenderer*CreateImage* + fun:*CUIRenderer*DrawMenu* +} + +# and similar +{ + OSX107:more6 + Memcheck:Cond + fun:floor$fenv_access_off + fun:*CUIRenderer*CreateImage* + fun:*CUIRenderer*DrawMenu* +} + +# This appears a lot, and the origins seem either missing or +# from system libs. +# Use of uninitialised value of size 8 +# at 0x39CC164: aes_encrypt_xmm_no_save +{ + OSX107:more7 + Memcheck:Value8 + fun:aes_encrypt_xmm_no_save +} + + +# Conditional jump or move depends on uninitialised value(s) +# at 0xD6D193: -[NSPersistentUIManager writeWindowSnapshot:length:... +# by 0xD71A03: __-[NSPersistentUIManager _updateSnapshotForWindowN... +{ + OSX107:more8 + Memcheck:Cond + fun:-[NSPersistentUIManager?writeWindowSnapshot* + fun:__-[NSPersistentUIManager?_updateSnapshotForWindowNumber* +} + + +# Suppressions for Darwin 12.x / Mac OS X 10.8 Mountain Lion + +############################ +## Possibly all to do with borked/incomplete 10.8 syscall wrappers +## Consider all of these as a temporary kludge. It would be much +## better to fix the wrappers correctly (iow, actually implement them). + +{ + OSX108:CoreFoundation-1 + Memcheck:Value8 + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation +} + +{ + OSX108:CoreFoundation-2 + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation +} + +{ + OSX108:CoreGraphics-1 + Memcheck:Cond + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics +} + +{ + OSX108:dyld-1 + Memcheck:Value8 + obj:/usr/lib/dyld + obj:/usr/lib/dyld + obj:/usr/lib/dyld +} + +{ + OSX108:dyld-2 + Memcheck:Cond + obj:/usr/lib/dyld + obj:/usr/lib/dyld + obj:/usr/lib/dyld +} + +{ + OSX108:libxpc-1 + Memcheck:Cond + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib +} + +{ + OSX108:libxpc-2 + Memcheck:Value8 + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib +} + +{ + OSX108:libxpc-3 + Memcheck:Cond + fun:malloc + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib + obj:/usr/lib/system/libxpc.dylib +} + +{ + OSX108:libdispatch-1 + Memcheck:Value8 + obj:/usr/lib/system/libdispatch.dylib + obj:/usr/lib/system/libdispatch.dylib + obj:/usr/lib/system/libdispatch.dylib + obj:/usr/lib/system/libdispatch.dylib +} + +{ + OSX108:ColorSync-1 + Memcheck:Cond + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync +} + +{ + OSX108:ColorSync-2 + Memcheck:Value8 + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync + obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync +} + +{ + OSX108:mach_msg/mach_msg_trap + Memcheck:Param + mach_msg("rcv_name") + fun:mach_msg_trap +} + +{ + OSX108:my_io_execute_passive_block/libdispatch + Memcheck:Cond + fun:my_io_execute_passive_block + obj:/usr/lib/system/libdispatch.dylib + obj:/usr/lib/system/libdispatch.dylib +} + +{ + OSX108:CFRunLoopAddSource/AppKit + Memcheck:Cond + fun:CFRunLoopAddSource + obj:*Frameworks/AppKit.framework/Versions/C/AppKit + obj:*Frameworks/AppKit.framework/Versions/C/AppKit +} + +{ + OSX108:CoreFoundation/HIToolbox/HIToolbox + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*HIToolbox.framework/Versions/A/HIToolbox + obj:*HIToolbox.framework/Versions/A/HIToolbox +} + +{ + OSX108:libsystem_kernel/CoreGraphics-1 + Memcheck:Cond + obj:/usr/lib/system/libsystem_kernel.dylib + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics +} + +{ + OSX108:libsystem_kernel/CoreGraphics-2 + Memcheck:Param + msg->desc.port.name + obj:/usr/lib/system/libsystem_kernel.dylib + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics +} + +{ + OSX108:libsystem_kernel/CoreFoundation/CoreFoundation/LaunchServices + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*LaunchServices.framework/Versions/A/LaunchServices +} + +{ + OSX108:CoreFoundation/AE/AE + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*AE.framework/Versions/A/AE + obj:*AE.framework/Versions/A/AE +} + +{ + OSX108:CoreGraphics/CoreGraphics/CoreGraphics + Memcheck:Param + msg->desc.port.name + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics + obj:*CoreGraphics.framework/Versions/A/CoreGraphics +} + +{ + OSX108:CoreFoundation/Foundation/AppKit + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*Foundation.framework/Versions/C/Foundation + obj:*Frameworks/AppKit.framework/Versions/C/AppKit +} + +{ + OSX108:CoreFoundation/CoreFoundation/HIToolbox + Memcheck:Cond + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*CoreFoundation.framework/Versions/A/CoreFoundation + obj:*HIToolbox.framework/Versions/A/HIToolbox +} + +{ + OSX108:HIServices/HIToolbox/HIToolbox + Memcheck:Cond + obj:*HIServices.framework/Versions/A/HIServices + obj:*HIToolbox.framework/Versions/A/HIToolbox + obj:*HIToolbox.framework/Versions/A/HIToolbox +} + +{ + OSX108:AppKit-1 + Memcheck:Cond + obj:*AppKit.framework/Versions/C/AppKit + obj:*AppKit.framework/Versions/C/AppKit + obj:*AppKit.framework/Versions/C/AppKit +} + +{ + OSX108:32bit:_libxpc_initializer + Memcheck:Cond + fun:_libxpc_initializer + fun:libSystem_initializer + fun:*ImageLoaderMachO*doModInitFunctions* +} + +# See https://bugs.kde.org/show_bug.cgi?id=196528 +{ + macos-__pthread_rwlock_init-see-our-bug-196528 + Memcheck:Cond + fun:pthread_rwlock_init +} + +{ + OSX108:leak-1 Memcheck:Leak match-leak-kinds: definite - fun:malloc_zone_?alloc - ... - fun:_read_images + fun:malloc_zone_malloc + fun:_ZN4objc8DenseMapIP11objc_objectmL* + fun:arr_init } { - OSX1012:3-Leak + OSX108:leak-2 Memcheck:Leak - match-leak-kinds: definite - fun:malloc_zone_?alloc + fun:malloc_zone_malloc + fun:*NX*Map* + fun:*NX*Map* +} + +{ + OSX108:leak-3 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*NX*Map* + fun:*image* +} + +{ + OSX108:leak-4 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*NX*Map* + fun:*remap* +} + +{ + OSX108:leak-5 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*NX*Map* + fun:*future* +} + +{ + OSX108:leak-6 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*strdup* + fun:*NX*Map* +} + +{ + OSX108:leak-7 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*NX*Map* + fun:*attached* +} + +{ + OSX108:leak-8 + Memcheck:Leak + fun:malloc_zone_malloc + fun:*NX*Map* + fun:dlopen +} + +{ + OSX108:leak-9 + Memcheck:Leak + fun:malloc + fun:*PerThread* + fun:dlopen +} + +{ + OSX108:leak-10 + Memcheck:Leak + fun:malloc_zone_calloc + fun:*NX*Hash* +} + +{ + OSX108:leak-11 + Memcheck:Leak + fun:malloc_zone_calloc + fun:*map* + fun:*map* +} + +{ + OSX108:leak-12 + Memcheck:Leak + fun:malloc_zone_calloc + fun:*fetch_pthread_data* +} + +{ + OSX108:leak-13 + Memcheck:Leak + fun:malloc_zone_malloc fun:recursive_mutex_init - ... - fun:_os_object_init - fun:libdispatch_init - fun:libSystem_initializer + fun:_objc_init } { - OSX1012:4-Leak + OSX108:leak-14 Memcheck:Leak + match-leak-kinds: reachable fun:malloc_zone_?alloc ... fun:dyld_register_image_state_change_handler } { - OSX1012:5-Leak + OSX108:leak-15 Memcheck:Leak match-leak-kinds: reachable fun:?alloc @@ -52,36 +518,45 @@ } { - OSX1012:6-Leak + OSX108:leak-16 Memcheck:Leak match-leak-kinds: reachable fun:malloc_zone_?alloc ... fun:map_images_nolock - fun:map_2_images + fun:map_images } { - OSX1012:7-Leak + OSX108:leak-17 Memcheck:Leak match-leak-kinds: possible fun:malloc_zone_?alloc ... fun:map_images_nolock - fun:map_2_images + fun:map_images } { - OSX1012:8-Leak + OSX108:leak-18 Memcheck:Leak - match-leak-kinds: definite + match-leak-kinds: indirect + fun:malloc_zone_?alloc + ... + fun:libSystem_initializer +} + +{ + OSX108:leak-19 + Memcheck:Leak + match-leak-kinds: indirect fun:?alloc ... fun:libSystem_initializer } { - OSX1012:9-Leak + OSX108:leak-20 Memcheck:Leak match-leak-kinds: reachable fun:malloc_zone_?alloc @@ -90,30 +565,142 @@ } { - OSX1012:10-Leak + OSX108:leak-22 Memcheck:Leak match-leak-kinds: reachable fun:?alloc ... + fun:_libxpc_initializer +} + +{ + OSX108:leak-23 + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:realloc + fun:new_sem_from_pool +} + +# afaict this is legit. Might be caused by setenv("VAR=") +# where the value string is empty (not sure) +{ + macos-Cond-7 + Memcheck:Cond + fun:__setenv +} + +# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's +# unavoidable due to BSD setenv() semantics. +{ + macos-__setenv-leak-see-our-bug-188572 + Memcheck:Leak + fun:malloc_zone_malloc + fun:__setenv +} + +# From Gary Kwong +{ + macos-malloc_set_zone_name-see-our-bug-307557 + Memcheck:Leak + fun:malloc_zone_malloc + ... + fun:malloc_set_zone_name + ... + fun:init__zone0 +} + +{ + OSX109:2-Leak + Memcheck:Leak + match-leak-kinds: definite + fun:?alloc + ... + fun:_ZN4dyld24initializeMainExecutableEv +} + +{ + OSX109:QuartzCore-1 + Memcheck:Cond + obj:*QuartzCore.framework*QuartzCore + obj:*QuartzCore.framework*QuartzCore + obj:*QuartzCore.framework*QuartzCore +} + +{ + OSX109:vImage-1 + Memcheck:Cond + obj:*vImage.framework*vImage* + obj:*vImage.framework*vImage* + obj:*CoreGraphics.framework*CoreGraphics* +} + +{ + OSX1012:1-Leak + Memcheck:Leak + match-leak-kinds: possible + fun:malloc_zone_?alloc + ... + fun:_read_images +} + +{ + OSX1012:2-Leak + Memcheck:Leak + match-leak-kinds: definite + fun:malloc_zone_?alloc + ... + fun:_read_images +} + +{ + OSX1012:3-Leak + Memcheck:Leak + match-leak-kinds: definite + fun:malloc_zone_?alloc + fun:recursive_mutex_init + ... + fun:_os_object_init + fun:libdispatch_init fun:libSystem_initializer } -#{ -# OSX1012:11-Leak -# Memcheck:Leak -# match-leak-kinds: definite -# fun:malloc -# fun:currentlocale -#} -# -#{ -# OSX1012:12-Leak -# Memcheck:Leak -# match-leak-kinds: possible -# fun:malloc -# fun:tzsetwall_basic -# fun:_st_tzset_basic -#} +{ + OSX1012:4-Leak + Memcheck:Leak + fun:malloc_zone_?alloc + ... + fun:dyld_register_image_state_change_handler +} + +{ + OSX1012:6-Leak + Memcheck:Leak + match-leak-kinds: reachable + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_2_images +} + +{ + OSX1012:7-Leak + Memcheck:Leak + match-leak-kinds: possible + fun:malloc_zone_?alloc + ... + fun:map_images_nolock + fun:map_2_images +} + +{ + OSX1012:8-Leak + Memcheck:Leak + match-leak-kinds: definite + fun:?alloc + ... + fun:libSystem_initializer +} { OSX1012:13-Leak @@ -180,15 +767,6 @@ fun:*NX*Map* } -{ - OSX1012:20-Leak - Memcheck:Leak - match-leak-kinds: indirect - fun:?alloc - ... - fun:libSystem_initializer -} - { OSX1012:21-Leak Memcheck:Leak @@ -198,18 +776,6 @@ fun:_ZN4dyld24initializeMainExecutableEv } - -############################################ -## Non-leak errors - -##{ -## OSX1012:CoreFoundation-1 -## Memcheck:Cond -## obj:*CoreFoundation.framework*CoreFoundation* -## obj:*CoreFoundation.framework*CoreFoundation* -## obj:*CoreFoundation.framework*CoreFoundation* -##} - { OSX1012:CoreFoundation-2 Memcheck:Cond @@ -321,22 +887,6 @@ obj:*libdispatch.dylib* } -#{ -# OSX1012:AppKit-3 -# Memcheck:Cond -# obj:*AppKit.framework*AppKit* -# obj:*libdispatch.dylib* -# obj:*libdispatch.dylib* -#} - -##{ -## OSX1012:AppKit-4 -## Memcheck:Cond -## obj:*AppKit.framework*AppKit* -## obj:*AppKit.framework*AppKit* -## obj:*CoreFoundation.framework*CoreFoundation* -##} - { OSX1012:AppKit-5 Memcheck:Cond @@ -377,14 +927,6 @@ obj:*ColorSync.framework*ColorSync* } -#{ -# OSX1012:ColorSync-2 -# Memcheck:Value8 -# obj:*ColorSync.framework*ColorSync* -# obj:*ColorSync.framework*ColorSync* -# obj:*ColorSync.framework*ColorSync* -#} - { OSX1012:CoreGraphics-1 Memcheck:Cond @@ -392,14 +934,6 @@ obj:*CoreGraphics.framework*CoreGraphics* } -#{ -# OSX1012:CoreGraphics-2 -# Memcheck:Value8 -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -#} - { OSX1012:CoreGraphics-3 Memcheck:Cond @@ -408,14 +942,6 @@ obj:*CoreGraphics.framework*libRIP* } -#{ -# OSX1012:CoreGraphics-4 -# Memcheck:Cond -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*libRIP* -#} - { OSX1012:CoreGraphics-5 Memcheck:Cond @@ -424,14 +950,6 @@ obj:*libdispatch.dylib* } -#{ -# OSX1012:CoreGraphics-6 -# Memcheck:Cond -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*HIToolbox.framework*HIToolbox* -#} - { OSX1012:HIServices-1 Memcheck:Cond @@ -456,36 +974,6 @@ obj:*libdispatch.dylib* } -{ - OSX1012:QuartzCore-1 - Memcheck:Cond - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore -} - -#{ -# OSX1012:vImage-1 -# Memcheck:Cond -# obj:*vImage.framework*vImage* -# obj:*vImage.framework*vImage* -# obj:*CoreGraphics.framework*CoreGraphics* -#} - -{ - OSX1012:zlib-C - Memcheck:Cond - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -{ - OSX1012:zlib-8 - Memcheck:Value8 - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - { OSX1012:32bit:_libxpc_initializer Memcheck:Cond @@ -574,14 +1062,6 @@ obj:*CoreServices.framework*LaunchServices* } -##{ -## OSX1012:libsystem_pthread-1 -## Memcheck:Cond -## obj:*libsystem_pthread*dylib* -## obj:*ImageIO.framework*ImageIO* -## obj:*ImageIO.framework*ImageIO* -##} - { OSX1012:ApplicationServices-1 Memcheck:Cond @@ -606,22 +1086,6 @@ obj:*libdispatch.dylib* } -##{ -## OSX1012:CoreImage-1 -## Memcheck:Cond -## obj:*CoreImage.framework*CoreImage* -## obj:*CoreImage.framework*CoreImage* -## obj:*CoreImage.framework*CoreImage* -##} - -##{ -## OSX1012:strncpy-1 -## Memcheck:Cond -## fun:strncpy -## obj:*CoreServicesInternal.framework*CoreServicesInternal -## obj:*CoreServicesInternal.framework*CoreServicesInternal -##} - { OSX1012:pthread_rwlock_init Memcheck:Cond @@ -644,6 +1108,7 @@ obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* } + { OSX1012:AppleIntelHD4000GraphicsGLDriver-1-Addr8 Memcheck:Addr4 @@ -659,6 +1124,7 @@ obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* } + { OSX1012:AppleIntelHD4000GraphicsGLDriver-2-Addr2 Memcheck:Addr2 @@ -674,6 +1140,7 @@ obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* obj:*GLEngine.bundle*GLEngine* } + { OSX1012:AppleIntelHD4000GraphicsGLDriver-3-Addr2 Memcheck:Addr2 @@ -681,6 +1148,7 @@ obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* obj:*GLEngine.bundle*GLEngine* } + { OSX1012:AppleIntelHD4000GraphicsGLDriver-3-Addr1 Memcheck:Addr1 @@ -704,6 +1172,7 @@ obj:*AppleIntelHD4000GraphicsGLDriver.bundle*AppleIntelHD4000GraphicsGLDriver* obj:*GLEngine.bundle*GLEngine* } + { OSX1012:AppleIntelHD4000GraphicsGLDriver-6-Addr4 Memcheck:Addr4 @@ -745,9 +1214,3 @@ fun:setenv } -# See https://bugs.kde.org/show_bug.cgi?id=196528 -{ -macos-__pthread_rwlock_init-see-our-bug-196528 -Memcheck:Cond -fun:pthread_rwlock_init -} diff --git a/darwin17.supp b/darwin.supp similarity index 100% rename from darwin17.supp rename to darwin.supp diff --git a/darwin10.supp b/darwin10.supp deleted file mode 100644 index 505305d8c5..0000000000 --- a/darwin10.supp +++ /dev/null @@ -1,67 +0,0 @@ - -# Suppressions for Darwin 10.x / Mac OS X 10.6 Snow Leopard - -##----------------------------------------------------------------------## -# Memcheck -##----------------------------------------------------------------------## - -# afaict this is legit. Might be caused by setenv("VAR=") -# where the value string is empty (not sure) -{ - macos-Cond-7 - Memcheck:Cond - fun:__setenv -} - -# From Jesse Ruderman. -{ - Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework. - Memcheck:Free - fun:_ZdlPv - fun:_ZN5TChar18RemovePtrReferenceEv - } - -# From Jesse Ruderman. -{ - Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex. - Memcheck:Cond - fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih - fun:_ZN13HIMenuBarView15MeasureAppMenusEv -} - -{ - TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework) - Memcheck:Cond - fun:_ZN13TFontFeaturesC2EP6CGFont - fun:_ZNK9TBaseFont12CopyFeaturesEv -} - -# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's -# unavoidable due to BSD setenv() semantics. -{ - macos-__setenv-leak-see-our-bug-188572 - Memcheck:Leak - fun:malloc_zone_malloc - fun:__setenv -} - -{ - libSystem-keymgr-leak-at-exit - Memcheck:Leak - fun:malloc - fun:get_or_create_key_element - fun:_keymgr_get_and_lock_processwide_ptr_2 - fun:__keymgr_initializer - fun:libSystem_initializer -} - -{ - darwin-still-reachable-1 - Memcheck:Leak - ... - fun:dwarf2_unwind_dyld_add_image_hook - fun:_ZN4dyld19registerAddCallbackEPFvPK11mach_headerlE - fun:_dyld_register_func_for_add_image - fun:__keymgr_initializer - fun:libSystem_initializer -} diff --git a/darwin11.supp b/darwin11.supp deleted file mode 100644 index 7f87399763..0000000000 --- a/darwin11.supp +++ /dev/null @@ -1,245 +0,0 @@ - -# Suppressions for Darwin 11.x / Mac OS X 10.7 Lion - -##----------------------------------------------------------------------## -# Memcheck -##----------------------------------------------------------------------## - -# Dunno where this is a real bug, or due to borked 10.7-specific syscall -# wrappers. 64-bit mode; not sure if occurs in 32-bit mode. -# Anyway, for the tine being: -# -# Conditional jump or move depends on uninitialised value(s) -# at 0x1973E6: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) -# by 0x1976AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) -# by 0x100B3D: unlock_node (in /usr/lib/system/libkeymgr.dylib) -{ - OSX107:__mtx_droplock - Memcheck:Cond - fun:__mtx_droplock - fun:pthread_mutex_unlock - fun:unlock_node -} - -# Conditional jump or move depends on uninitialised value(s) -# at 0x2EB883: ??? (in /usr/lib/system/libxpc.dylib) -# by 0x237C6: ??? (in /usr/lib/libSystem.B.dylib) -# by 0x8FE1115A: ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) (in /usr/lib/dyld) -{ - <insert_a_suppression_name_here> - Memcheck:Cond - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/libSystem.B.dylib - fun:_ZN16ImageLoaderMachO18doModInitFunctionsERKN11ImageLoader11LinkContextE -} - -# ZLib stuff. How come this wasn't necessary in 10.6 ? -{ - OSX107:zlib-C - Memcheck:Cond - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} -{ - OSX107:zlib-8 - Memcheck:Value8 - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -# Really a bug? I don't know. -# Conditional jump or move depends on uninitialised value(s) -# at 0x3A322FE: __mtx_droplock (in /usr/lib/system/libsystem_c.dylib) -# by 0x3A326AA: pthread_mutex_unlock (in /usr/lib/system/libsystem_c.dylib) -# by 0x26382: load_images (in /usr/lib/libobjc.A.dylib) -{ - OSX107:blah - Memcheck:Cond - fun:__mtx_droplock - fun:pthread_mutex_unlock -} - -{ - OSX107:blah - Memcheck:Cond - fun:pthread_mutex_lock -} - -{ - OSX107:10-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:libSystem_initializer -} - -################ -# More OSX 10.7.2 supps from startup of Firefox, for reports -# that look like they are in the OSX system libraries - -# Conditional jump or move depends on uninitialised value(s) -# at 0x65ADC41: TParsingContext::BuildMacEncTable() -# by 0x65AD98B: TParsingContext::GetEncHash(char const*) -# Uninitialised value was created by a heap allocation -# at 0xC743: malloc (vg_replace_malloc.c:266) -# by 0x65ADADA: TParsingContext::BuildMacEncTable() -{ - OSX107:more1 - Memcheck:Cond - fun:*TParsingContext16BuildMacEncTable* - fun:*TParsingContext10GetEncHash* -} - -# Conditional jump or move depends on uninitialised value(s) -# at 0x49ABC48: CGColorSpaceAdjustColor -# by 0x4A9AEE8: CGGradientCreateWithColorComponents -# Uninitialised value was created by a heap allocation -# at 0xC743: malloc (vg_replace_malloc.c:266) -# by 0x4A9AEC4: CGGradientCreateWithColorComponents -# by 0x4A9AC49: CGGradientCreateWithColors -{ - OSX107:more2 - Memcheck:Cond - fun:CGColorSpaceAdjustColor - fun:CGGradientCreateWithColorComponents -} - - -# Conditional jump or move depends on uninitialised value(s) -# at 0x2119CCA8: BitSetNextSetBit -# by 0x211A4BA5: BuildInterferenceSets -# Uninitialised value was created by a heap allocation -# at 0xC743: malloc (vg_replace_malloc.c:266) -# by 0x2119CB98: BitSetNew -# by 0x2119D06F: BuildGenKill -{ - OSX107:more3 - Memcheck:Cond - fun:BitSetNextSetBit - fun:BuildInterferenceSets -} - -# and similar -{ - OSX107:more4 - Memcheck:Cond - fun:BitSetNextSetBit - fun:RegistersReInterfere -} - - -# Conditional jump or move depends on uninitialised value(s) -# at 0x33E4160: CUIRenderer::CreateImage -# by 0x33C14A4: CUIRenderer::DrawMenuBar -# Uninitialised value was created by a stack allocation -# at 0x33C12FC: CUIRenderer::DrawMenuBar -{ - OSX107:more5 - Memcheck:Cond - fun:*CUIRenderer*CreateImage* - fun:*CUIRenderer*DrawMenu* -} - -# and similar -{ - OSX107:more6 - Memcheck:Cond - fun:floor$fenv_access_off - fun:*CUIRenderer*CreateImage* - fun:*CUIRenderer*DrawMenu* -} - -# This appears a lot, and the origins seem either missing or -# from system libs. -# Use of uninitialised value of size 8 -# at 0x39CC164: aes_encrypt_xmm_no_save -{ - OSX107:more7 - Memcheck:Value8 - fun:aes_encrypt_xmm_no_save -} - - -# Conditional jump or move depends on uninitialised value(s) -# at 0xD6D193: -[NSPersistentUIManager writeWindowSnapshot:length:... -# by 0xD71A03: __-[NSPersistentUIManager _updateSnapshotForWindowN... -{ - OSX107:more8 - Memcheck:Cond - fun:-[NSPersistentUIManager?writeWindowSnapshot* - fun:__-[NSPersistentUIManager?_updateSnapshotForWindowNumber* -} - - -########################################################################## -### The ones below are from darwin10.supp (for Snow Leopard). I don't -### know whether they are still necessary. - -# afaict this is legit. Might be caused by setenv("VAR=") -# where the value string is empty (not sure) -{ - macos-Cond-7 - Memcheck:Cond - fun:__setenv -} - -# From Jesse Ruderman. -#{ -# Mac OS X 10.6.4. rdar://8145289. "new[]" paired with "delete" in the DesktopServicesPriv framework. -# Memcheck:Free -# fun:_ZdlPv -# fun:_ZN5TChar18RemovePtrReferenceEv -# } - -# From Jesse Ruderman. -#{ -# Mac OS X 10.6.4. rdar://8145318. Uninitialized memory from HIMenuBarView::MeasureAppMenus is used in HIMenuBarView::SetAdjustTextTitleBoundsAtIndex. -# Memcheck:Cond -# fun:_ZN13HIMenuBarView31SetAdjustTextTitleBoundsAtIndexEih -# fun:_ZN13HIMenuBarView15MeasureAppMenusEv -#} - -#{ -# TFontFeatures::TFontFeatures(CGFont*) (in CoreText.framework) -# Memcheck:Cond -# fun:_ZN13TFontFeaturesC2EP6CGFont -# fun:_ZNK9TBaseFont12CopyFeaturesEv -#} - -# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's -# unavoidable due to BSD setenv() semantics. -{ - macos-__setenv-leak-see-our-bug-188572 - Memcheck:Leak - fun:malloc_zone_malloc - fun:__setenv -} - -# See https://bugs.kde.org/show_bug.cgi?id=196528 -{ - macos-__pthread_rwlock_init-see-our-bug-196528 - Memcheck:Cond - fun:pthread_rwlock_init -} - -#{ -# libSystem-keymgr-leak-at-exit -# Memcheck:Leak -# fun:malloc -# fun:get_or_create_key_element -# fun:_keymgr_get_and_lock_processwide_ptr_2 -# fun:__keymgr_initializer -# fun:libSystem_initializer -#} - -# From Gary Kwong -{ - macos-malloc_set_zone_name-see-our-bug-307557 - Memcheck:Leak - fun:malloc_zone_malloc - ... - fun:malloc_set_zone_name - ... - fun:init__zone0 -} diff --git a/darwin12.supp b/darwin12.supp deleted file mode 100644 index c3f47c15b9..0000000000 --- a/darwin12.supp +++ /dev/null @@ -1,448 +0,0 @@ - -# Suppressions for Darwin 12.x / Mac OS X 10.8 Mountain Lion - -# ZLib stuff. How come this wasn't necessary in 10.6 ? -{ - OSX108:zlib-C - Memcheck:Cond - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} -{ - OSX108:zlib-8 - Memcheck:Value8 - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -############################ -## Possibly all to do with borked/incomplete 10.8 syscall wrappers -## Consider all of these as a temporary kludge. It would be much -## better to fix the wrappers correctly (iow, actually implement them). - -{ - OSX108:CoreFoundation-1 - Memcheck:Value8 - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation -} - -{ - OSX108:CoreFoundation-2 - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation -} - -{ - OSX108:CoreGraphics-1 - Memcheck:Cond - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics -} - -# Use of uninitialised value of size 8 -# at 0x39CC164: aes_encrypt_xmm_no_save -{ - OSX108:aes_encrypt_xmm_no_save - Memcheck:Value8 - fun:aes_encrypt_xmm_no_save -} - -{ - OSX108:dyld-1 - Memcheck:Value8 - obj:/usr/lib/dyld - obj:/usr/lib/dyld - obj:/usr/lib/dyld -} - -{ - OSX108:dyld-2 - Memcheck:Cond - obj:/usr/lib/dyld - obj:/usr/lib/dyld - obj:/usr/lib/dyld -} - -{ - OSX108:libxpc-1 - Memcheck:Cond - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib -} - -{ - OSX108:libxpc-2 - Memcheck:Value8 - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib -} - -{ - OSX108:libxpc-3 - Memcheck:Cond - fun:malloc - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib - obj:/usr/lib/system/libxpc.dylib -} - -{ - OSX108:libdispatch-1 - Memcheck:Value8 - obj:/usr/lib/system/libdispatch.dylib - obj:/usr/lib/system/libdispatch.dylib - obj:/usr/lib/system/libdispatch.dylib - obj:/usr/lib/system/libdispatch.dylib -} - -{ - OSX108:ColorSync-1 - Memcheck:Cond - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync -} - -{ - OSX108:ColorSync-2 - Memcheck:Value8 - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync - obj:*Frameworks/ColorSync.framework/Versions/A/ColorSync -} - -{ - OSX108:mach_msg/mach_msg_trap - Memcheck:Param - mach_msg("rcv_name") - fun:mach_msg_trap -} - -{ - OSX108:my_io_execute_passive_block/libdispatch - Memcheck:Cond - fun:my_io_execute_passive_block - obj:/usr/lib/system/libdispatch.dylib - obj:/usr/lib/system/libdispatch.dylib -} - -{ - OSX108:CFRunLoopAddSource/AppKit - Memcheck:Cond - fun:CFRunLoopAddSource - obj:*Frameworks/AppKit.framework/Versions/C/AppKit - obj:*Frameworks/AppKit.framework/Versions/C/AppKit -} - -{ - OSX108:CoreFoundation/HIToolbox/HIToolbox - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*HIToolbox.framework/Versions/A/HIToolbox - obj:*HIToolbox.framework/Versions/A/HIToolbox -} - -{ - OSX108:libsystem_kernel/CoreGraphics-1 - Memcheck:Cond - obj:/usr/lib/system/libsystem_kernel.dylib - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics -} - -{ - OSX108:libsystem_kernel/CoreGraphics-2 - Memcheck:Param - msg->desc.port.name - obj:/usr/lib/system/libsystem_kernel.dylib - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics -} - -{ - OSX108:libsystem_kernel/CoreFoundation/CoreFoundation/LaunchServices - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*LaunchServices.framework/Versions/A/LaunchServices -} - -{ - OSX108:CoreFoundation/AE/AE - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*AE.framework/Versions/A/AE - obj:*AE.framework/Versions/A/AE -} - -{ - OSX108:CoreGraphics/CoreGraphics/CoreGraphics - Memcheck:Param - msg->desc.port.name - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics - obj:*CoreGraphics.framework/Versions/A/CoreGraphics -} - -{ - OSX108:CoreFoundation/Foundation/AppKit - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*Foundation.framework/Versions/C/Foundation - obj:*Frameworks/AppKit.framework/Versions/C/AppKit -} - -{ - OSX108:CoreFoundation/CoreFoundation/HIToolbox - Memcheck:Cond - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*CoreFoundation.framework/Versions/A/CoreFoundation - obj:*HIToolbox.framework/Versions/A/HIToolbox -} - -{ - OSX108:HIServices/HIToolbox/HIToolbox - Memcheck:Cond - obj:*HIServices.framework/Versions/A/HIServices - obj:*HIToolbox.framework/Versions/A/HIToolbox - obj:*HIToolbox.framework/Versions/A/HIToolbox -} - -{ - OSX108:AppKit-1 - Memcheck:Cond - obj:*AppKit.framework/Versions/C/AppKit - obj:*AppKit.framework/Versions/C/AppKit - obj:*AppKit.framework/Versions/C/AppKit -} - -{ - OSX108:32bit:_libxpc_initializer - Memcheck:Cond - fun:_libxpc_initializer - fun:libSystem_initializer - fun:*ImageLoaderMachO*doModInitFunctions* -} - -# See https://bugs.kde.org/show_bug.cgi?id=196528 -{ - macos-__pthread_rwlock_init-see-our-bug-196528 - Memcheck:Cond - fun:pthread_rwlock_init -} - -######################################################### -## Leaks (apparently) in even hello-world style programs - -{ - OSX108:leak-1 - Memcheck:Leak - match-leak-kinds: definite - fun:malloc_zone_malloc - fun:_ZN4objc8DenseMapIP11objc_objectmL* - fun:arr_init -} - -{ - OSX108:leak-2 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:*NX*Map* -} - -{ - OSX108:leak-3 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:*image* -} - -{ - OSX108:leak-4 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:*remap* -} - -{ - OSX108:leak-5 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:*future* -} - -{ - OSX108:leak-6 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*strdup* - fun:*NX*Map* -} - -{ - OSX108:leak-7 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:*attached* -} - -{ - OSX108:leak-8 - Memcheck:Leak - fun:malloc_zone_malloc - fun:*NX*Map* - fun:dlopen -} - -{ - OSX108:leak-9 - Memcheck:Leak - fun:malloc - fun:*PerThread* - fun:dlopen -} - -{ - OSX108:leak-10 - Memcheck:Leak - fun:malloc_zone_calloc - fun:*NX*Hash* -} - -{ - OSX108:leak-11 - Memcheck:Leak - fun:malloc_zone_calloc - fun:*map* - fun:*map* -} - -{ - OSX108:leak-12 - Memcheck:Leak - fun:malloc_zone_calloc - fun:*fetch_pthread_data* -} - -{ - OSX108:leak-13 - Memcheck:Leak - fun:malloc_zone_malloc - fun:recursive_mutex_init - fun:_objc_init -} - -{ - OSX108:leak-14 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:dyld_register_image_state_change_handler -} - -{ - OSX108:leak-15 - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:dyld_register_image_state_change_handler -} - -{ - OSX108:leak-16 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX108:leak-17 - Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX108:leak-18 - Memcheck:Leak - match-leak-kinds: indirect - fun:malloc_zone_?alloc - ... - fun:libSystem_initializer -} - -{ - OSX108:leak-19 - Memcheck:Leak - match-leak-kinds: indirect - fun:?alloc - ... - fun:libSystem_initializer -} - -{ - OSX108:leak-20 - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:libSystem_initializer -} - -{ - OSX108:leak-21 - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:libSystem_initializer -} - -{ - OSX108:leak-22 - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:_libxpc_initializer -} - -{ - OSX108:leak-23 - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - fun:realloc - fun:new_sem_from_pool -} - -##----------------------------------------------------------------------## -# Memcheck -##----------------------------------------------------------------------## - diff --git a/darwin13.supp b/darwin13.supp deleted file mode 100644 index 41478738f7..0000000000 --- a/darwin13.supp +++ /dev/null @@ -1,278 +0,0 @@ - -# Suppressions for Darwin 13.x / Mac OS X 10.9 Mavericks - -############################################ -## Leaks. For other stuff see below. - -{ - OSX109:1-Leak - Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc - ... - fun:_read_images -} - -{ - OSX109:2-Leak - Memcheck:Leak - match-leak-kinds: definite - fun:?alloc - ... - fun:_ZN4dyld24initializeMainExecutableEv -} - -{ - OSX109:3-Leak - Memcheck:Leak - match-leak-kinds: definite - fun:malloc_zone_?alloc - fun:recursive_mutex_init - fun:_objc_init - fun:_os_object_init - fun:libSystem_initializer -} - -{ - OSX109:4-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:dyld_register_image_state_change_handler -} - -{ - OSX109:5-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:dyld_register_image_state_change_handler -} - -{ - OSX109:6-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX109:7-Leak - Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX109:8-Leak - Memcheck:Leak - match-leak-kinds: indirect - fun:?alloc - ... - fun:libSystem_initializer -} - -{ - OSX109:9-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:libSystem_initializer -} - -{ - OSX109:10-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:libSystem_initializer -} - -{ - OSX109:11-Leak - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - fun:currentlocale -} - -{ - OSX109:12-Leak - Memcheck:Leak - match-leak-kinds: possible - fun:malloc - fun:tzsetwall_basic - fun:_st_tzset_basic -} - -# See https://bugs.kde.org/show_bug.cgi?id=188572 about this; it's -# unavoidable due to BSD setenv() semantics. -{ - macos-__setenv-leak-see-our-bug-188572 - Memcheck:Leak - match-leak-kinds: definite - fun:malloc - fun:_owned_ptr_alloc - fun:setenv -} - -# See https://bugs.kde.org/show_bug.cgi?id=196528 -{ - macos-__pthread_rwlock_init-see-our-bug-196528 - Memcheck:Cond - fun:pthread_rwlock_init -} - -############################################ -## Non-leak errors - -{ - OSX109:AppKit-1 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* -} - -{ - OSX109:AppKit-2 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* - obj:*libdispatch.dylib* -} - -{ - OSX109:AppKit-3 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -{ - OSX109:ColorSync-1 - Memcheck:Cond - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* -} - -{ - OSX109:ColorSync-2 - Memcheck:Value8 - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* -} - -{ - OSX109:CoreGraphics-1 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* -} - -{ - OSX109:CoreGraphics-2 - Memcheck:Value8 - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* -} - -{ - OSX109:CoreGraphics-3 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*libRIP* - obj:*CoreGraphics.framework*libRIP* -} - -{ - OSX109:CoreGraphics-4 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*libRIP* -} - -{ - OSX109:CoreGraphics-5 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -{ - OSX109:dyld-2 - Memcheck:Cond - obj:/usr/lib/dyld - obj:/usr/lib/dyld - obj:/usr/lib/dyld -} - -{ - OSX109:HIServices-1 - Memcheck:Cond - obj:*HIServices.framework*HIServices* - obj:*HIToolbox.framework*HIToolbox* - obj:*HIToolbox.framework*HIToolbox* -} - -{ - OSX109:LaunchServices-1 - Memcheck:Cond - obj:*LaunchServices.framework*LaunchServices* - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* -} - -{ - OSX109:QuartzCore-1 - Memcheck:Cond - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore -} - -{ - OSX109:vImage-1 - Memcheck:Cond - obj:*vImage.framework*vImage* - obj:*vImage.framework*vImage* - obj:*CoreGraphics.framework*CoreGraphics* -} - -{ - OSX109:zlib-C - Memcheck:Cond - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} -{ - OSX109:zlib-8 - Memcheck:Value8 - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -{ - OSX109:32bit:_libxpc_initializer - Memcheck:Cond - fun:_libxpc_initializer - fun:libSystem_initializer - fun:*ImageLoaderMachO*doModInitFunctions* -} diff --git a/darwin14.supp b/darwin14.supp deleted file mode 100644 index 8ba4e9d71e..0000000000 --- a/darwin14.supp +++ /dev/null @@ -1,674 +0,0 @@ - -# Suppressions for Darwin 14.x / Mac OS X 10.10 Yosemite - -############################################ -## Leaks. For other stuff see below. - -{ - OSX1010:1-Leak - Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc - ... - fun:_read_images -} - -#{ -# OSX1010:2-Leak -# Memcheck:Leak -# match-leak-kinds: definite -# fun:?alloc -# ... -# fun:_ZN4dyld24initializeMainExecutableEv -#} - -{ - OSX1010:3-Leak - Memcheck:Leak - match-leak-kinds: definite - fun:malloc_zone_?alloc - fun:recursive_mutex_init - ... - fun:_os_object_init - fun:libdispatch_init - fun:libSystem_initializer -} - -#{ -# OSX1010:4-Leak -# Memcheck:Leak -# match-leak-kinds: reachable -# fun:malloc_zone_?alloc -# ... -# fun:dyld_register_image_state_change_handler -# ... -#} - -{ - OSX1010:5-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:dyld_register_image_state_change_handler -} - -{ - OSX1010:6-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX1010:7-Leak - Memcheck:Leak - match-leak-kinds: possible - fun:malloc_zone_?alloc - ... - fun:map_images_nolock - fun:map_images -} - -{ - OSX1010:8-Leak - Memcheck:Leak - match-leak-kinds: definite - fun:?alloc - ... - fun:libSystem_initializer -} - -{ - OSX1010:9-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_?alloc - ... - fun:libSystem_initializer -} - -{ - OSX1010:10-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:libSystem_initializer -} - -#{ -# OSX1010:11-Leak -# Memcheck:Leak -# match-leak-kinds: definite -# fun:malloc -# fun:currentlocale -#} -# -#{ -# OSX1010:12-Leak -# Memcheck:Leak -# match-leak-kinds: possible -# fun:malloc -# fun:tzsetwall_basic -# fun:_st_tzset_basic -#} - -{ - OSX1010:13-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc_zone_memalign - ... - fun:_ZN4dyld24initializeMainExecutableEv -} - -{ - OSX1010:14-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:?alloc - ... - fun:libSystem_atfork_child -} - -{ - OSX1010:15-Leak - Memcheck:Leak - match-leak-kinds: reachable - fun:malloc - fun:__smakebuf - ... - fun:printf -} - -############################################ -## Non-leak errors - -##{ -## OSX1010:CoreFoundation-1 -## Memcheck:Cond -## obj:*CoreFoundation.framework*CoreFoundation* -## obj:*CoreFoundation.framework*CoreFoundation* -## obj:*CoreFoundation.framework*CoreFoundation* -##} - -{ - OSX1010:CoreFoundation-2 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -{ - OSX1010:CoreFoundation-3 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*CoreFoundation.framework*CoreFoundation* - obj:*Foundation.framework*Foundation* -} - -{ - OSX1010:CoreFoundation-4 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*CoreFoundation.framework*CoreFoundation* - obj:*SystemConfiguration.framework*SystemConfiguration* -} - -{ - OSX1010:CoreFoundation-5 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*CoreFoundation.framework*CoreFoundation* - obj:*HIServices.framework*HIServices* -} - -{ - OSX1010:CoreFoundation-6 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*SystemConfiguration.framework*SystemConfiguration* - obj:*SystemConfiguration.framework*SystemConfiguration* -} - -{ - OSX1010:CoreFoundation-7 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*SystemConfiguration.framework*SystemConfiguration* - obj:*CoreFoundation.framework*CoreFoundation* -} - -{ - OSX1010:CoreFoundation-8 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*IOKit.framework*IOKit* -} - -{ - OSX1010:CoreFoundation-9 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*Foundation.framework*Foundation* - obj:*AppKit.framework*AppKit* -} - -{ - OSX1010:CoreFoundation-10 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*HIToolbox.framework*HIToolbox* - obj:*HIToolbox.framework*HIToolbox* -} - -{ - OSX1010:CoreFoundation-11 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*AE.framework*AE* - obj:*AE.framework*AE* -} - -{ - OSX1010:CoreFoundation-12 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*CoreFoundation.framework*CoreFoundation* - obj:*HIToolbox.framework*HIToolbox* -} - -{ - OSX1010:CoreFoundation-13 - Memcheck:Cond - obj:*CoreFoundation.framework*CoreFoundation* - obj:*CoreFoundation.framework*CoreFoundation* - obj:*AE.framework*AE* -} - -{ - OSX1010:AppKit-1 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* -} - -{ - OSX1010:AppKit-2 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* - obj:*libdispatch.dylib* -} - -#{ -# OSX1010:AppKit-3 -# Memcheck:Cond -# obj:*AppKit.framework*AppKit* -# obj:*libdispatch.dylib* -# obj:*libdispatch.dylib* -#} - -##{ -## OSX1010:AppKit-4 -## Memcheck:Cond -## obj:*AppKit.framework*AppKit* -## obj:*AppKit.framework*AppKit* -## obj:*CoreFoundation.framework*CoreFoundation* -##} - -{ - OSX1010:AppKit-5 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* - obj:*Foundation.framework*Foundation* -} - -{ - OSX1010:AppKit-6 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*Foundation.framework*Foundation* - obj:*AppKit.framework*AppKit* -} - -{ - OSX1010:AppKit-7 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -{ - OSX1010:AppKit-8 - Memcheck:Cond - obj:*AppKit.framework*AppKit* - obj:*Foundation.framework*Foundation* - obj:*Foundation.framework*Foundation* -} - -{ - OSX1010:ColorSync-1 - Memcheck:Cond - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* - obj:*ColorSync.framework*ColorSync* -} - -#{ -# OSX1010:ColorSync-2 -# Memcheck:Value8 -# obj:*ColorSync.framework*ColorSync* -# obj:*ColorSync.framework*ColorSync* -# obj:*ColorSync.framework*ColorSync* -#} - -{ - OSX1010:CoreGraphics-1 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*CoreGraphics* -} - -#{ -# OSX1010:CoreGraphics-2 -# Memcheck:Value8 -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -#} - -{ - OSX1010:CoreGraphics-3 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*CoreGraphics.framework*libRIP* - obj:*CoreGraphics.framework*libRIP* -} - -#{ -# OSX1010:CoreGraphics-4 -# Memcheck:Cond -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*libRIP* -#} - -{ - OSX1010:CoreGraphics-5 - Memcheck:Cond - obj:*CoreGraphics.framework*CoreGraphics* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -#{ -# OSX1010:CoreGraphics-6 -# Memcheck:Cond -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*CoreGraphics.framework*CoreGraphics* -# obj:*HIToolbox.framework*HIToolbox* -#} - -{ - OSX1010:HIServices-1 - Memcheck:Cond - obj:*HIServices.framework*HIServices* - obj:*HIToolbox.framework*HIToolbox* - obj:*HIToolbox.framework*HIToolbox* -} - -{ - OSX1010:LaunchServices-1 - Memcheck:Cond - obj:*LaunchServices.framework*LaunchServices* - obj:*AppKit.framework*AppKit* - obj:*AppKit.framework*AppKit* -} - -{ - OSX1010:LaunchServices-2 - Memcheck:Cond - obj:*LaunchServices.framework*LaunchServices* - obj:*libdispatch.dylib* - obj:*libdispatch.dylib* -} - -{ - OSX1010:QuartzCore-1 - Memcheck:Cond - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore - obj:*QuartzCore.framework*QuartzCore -} - -#{ -# OSX1010:vImage-1 -# Memcheck:Cond -# obj:*vImage.framework*vImage* -# obj:*vImage.framework*vImage* -# obj:*CoreGraphics.framework*CoreGraphics* -#} - -{ - OSX1010:zlib-C - Memcheck:Cond - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -{ - OSX1010:zlib-8 - Memcheck:Value8 - obj:/usr/lib/libz.*dylib - obj:/usr/lib/libz.*dylib -} - -#{ -# OSX1010:32bit:_libxpc_initializer -# Memcheck:Cond -# fun:_libxpc_initializer -# fun:libSystem_initializer -# fun:*ImageLoaderMachO*doModInitFunctions* -#} - -{ - OSX1010:dyld-1 - Memcheck:Cond - fun:*ImageLoader*weakBind* - fun:*ImageLoader*link* - fun:*dyld*link* -} - -{ - OSX1010:dyld-2 - Memcheck:Cond - fun:exit - obj:*libdyld*dylib* -} - -{ - OSX1010:libsystem_kernel-1 - Memcheck:Cond - obj:*libsystem_kernel*dylib* - obj:*libsystem_kernel*dylib* - obj:*CoreFoundation.framework*CoreFoundation* -} - -{ - OSX1010:CoreServicesInternal-1 - Memcheck:Cond - obj:*CoreServicesInternal.framework*CoreServicesInternal* - obj:*Cor... [truncated message content] |
|
From: Paul F. <pa...@so...> - 2025-12-08 19:38:36
|
https://sourceware.org/cgit/valgrind/commit/?id=7610a45ac2ca470540c3b92611b078f91fd3abbe commit 7610a45ac2ca470540c3b92611b078f91fd3abbe Author: Paul Floyd <pj...@wa...> Date: Mon Dec 8 20:35:17 2025 +0100 Darwin suppressions: add suppressions for shared_timed_mutex testcase The test still fails with 12 errors (should be 0). There are a load of errors that I've never seen before, Like Thread #2: Bug in libpthread: write lock granted on mutex/rwlock which is currently wr-held by a different thread and Thread #1 unlocked lock at 0x100005228 currently held by thread #3 There are some serious problems there. Diff: --- darwin-helgrind.supp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/darwin-helgrind.supp b/darwin-helgrind.supp index 853731eb27..7588c1d06f 100644 --- a/darwin-helgrind.supp +++ b/darwin-helgrind.supp @@ -123,3 +123,21 @@ fun:_os_unfair_lock_lock_slow } +{ + OSX1013:helgrind:mach_timebase_info + Helgrind:Race + fun:mach_timebase_info +} + +{ + OSX1013:helgrind:std::__1::__thread_specific_ptr<std::__1::__thread_struct>::set_pointer(std::__1::__thread_struct*) + Helgrind:Race + fun:_ZNSt3__121__thread_specific_ptrINS_15__thread_structEE11set_pointerEPS1_ +} + +{ + OSX1013:helgrind:std::__1::__thread_local_data() + Helgrind:Race + fun:_ZNSt3__119__thread_local_dataEv +} + |