From: Paul F. <pa...@so...> - 2024-09-29 18:13:30
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=b3876521f080e13c68396520baa2b1d80baff575 commit b3876521f080e13c68396520baa2b1d80baff575 Author: Paul Floyd <pj...@wa...> Date: Sun Sep 29 20:08:21 2024 +0200 macOS: fix build after changes for Bug 492663 Missed updating the macOS sections. Diff: --- coregrind/m_debuginfo/debuginfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index a6a0f79b3b..ad05b9928d 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -1364,9 +1364,9 @@ ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) return 0; vg_assert(sr_Res(preadres) > 0 && sr_Res(preadres) <= sizeof(buf4k) ); - rw_load_count = 0; + expected_rw_load_count = 0; - if (!ML_(check_macho_and_get_rw_loads)( buf4k, (SizeT)sr_Res(preadres), &rw_load_count )) + if (!ML_(check_macho_and_get_rw_loads)( buf4k, (SizeT)sr_Res(preadres), &expected_rw_load_count )) return 0; #endif |