]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix compilation on macOS with new debuginfo reader
authorPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 16 Feb 2021 12:22:10 +0000 (13:22 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Tue, 16 Feb 2021 12:22:10 +0000 (13:22 +0100)
coregrind/m_debuginfo/readmacho.c

index 9153a74ca15ec04c5078a9bd64c664b07d272ac7..d93e24ecf8b3fa6a6d99eb37155337bf55972b04 100644 (file)
@@ -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.