]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Un-break the build on MacOS, following r12742 (initial support for DWZ
authorJulian Seward <jseward@acm.org>
Wed, 18 Jul 2012 10:47:38 +0000 (10:47 +0000)
committerJulian Seward <jseward@acm.org>
Wed, 18 Jul 2012 10:47:38 +0000 (10:47 +0000)
compressed debuginfo).

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12754

coregrind/m_debuginfo/readmacho.c

index 91d06d832e4e4aeaa6db2a11564e6ad387a834d5..748c498581f9f3ce82e74ce3e7e99a24c2c4f1e0 100644 (file)
@@ -1087,7 +1087,8 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di )
                                      NULL,           0,
                                       debug_abbv_img, debug_abbv_sz,
                                       debug_line_img, debug_line_sz,
-                                      debug_str_img,  debug_str_sz );
+                                      debug_str_img,  debug_str_sz,
+                                      NULL, 0 /* ALT .debug_str */ );
 
          /* The new reader: read the DIEs in .debug_info to acquire
             information on variable types and locations.  But only if
@@ -1102,7 +1103,11 @@ Bool ML_(read_macho_debug_info)( struct _DebugInfo* di )
                    debug_line_img,   debug_line_sz,
                    debug_str_img,    debug_str_sz,
                    debug_ranges_img, debug_ranges_sz,
-                   debug_loc_img,    debug_loc_sz
+                   debug_loc_img,    debug_loc_sz,
+                   NULL, 0, /* ALT .debug_info */
+                   NULL, 0, /* ALT .debug_abbv */
+                   NULL, 0, /* ALT .debug_line */
+                   NULL, 0  /* ALT .debug_str */
             );
          }
       }