]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Darwin: try to fix csrctl syscall wrapper
authorPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 20 Nov 2023 20:37:10 +0000 (21:37 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Mon, 20 Nov 2023 20:39:04 +0000 (21:39 +0100)
commitb3672f4e1d342ddd4e7f8fd74b71c8d9f7552788
treec2fe9939c4b4d5f1f613a144de93f2701cb05334
parent7d9ae9fa921825a757527f51c0b523d395e6de07
Darwin: try to fix csrctl syscall wrapper

memcheck/tests/x86/xor-undef fails with
+valgrind: m_syswrap/syswrap-darwin.c:9810 (void vgSysWrap_darwin_csrctl_before(ThreadId, SyscallArgLayout *, SyscallArgs *, SyscallStatus *, UWord *)): Assertion 'sizeof(user_addr_t) <= sizeof(RegWord)' failed.
(on macOS 10.13)

Change copied from
   https://github.com/LouisBrunner/valgrind-macos
coregrind/m_syswrap/syswrap-darwin.c