From: Paul Floyd Date: Tue, 16 Feb 2021 12:22:10 +0000 (+0100) Subject: Fix compilation on macOS with new debuginfo reader X-Git-Tag: VALGRIND_3_17_0~58 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee01ed8f13d235ad84cdca11ca88523cc5b52287;p=thirdparty%2Fvalgrind.git Fix compilation on macOS with new debuginfo reader --- diff --git a/coregrind/m_debuginfo/readmacho.c b/coregrind/m_debuginfo/readmacho.c index 9153a74ca1..d93e24ecf8 100644 --- a/coregrind/m_debuginfo/readmacho.c +++ b/coregrind/m_debuginfo/readmacho.c @@ -1152,7 +1152,7 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di ) debug_line_mscn, debug_str_mscn, DiSlice_INVALID, /* ALT .debug_str */ - debug_line_str ); + debug_line_str_mscn ); /* The new reader: read the DIEs in .debug_info to acquire information on variable types and locations or inline info.