]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Disable default-yes setting of read-inline-info for MacOS, and enable
authorJulian Seward <jseward@acm.org>
Sun, 7 Sep 2014 19:53:41 +0000 (19:53 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 7 Sep 2014 19:53:41 +0000 (19:53 +0000)
it for drd on Linux.

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

coregrind/m_main.c

index 5d9baaacef140a6e5fe4938c7e80379a6c0c40f5..b3035c78cb5a07fc98319439f3a49ce18dd3057a 100644 (file)
@@ -1812,14 +1812,17 @@ Int valgrind_main ( Int argc, HChar **argv, HChar **envp )
    // BEGIN HACK
    vg_assert(toolname != NULL);
    vg_assert(VG_(clo_read_inline_info) == False);
+#  if !defined(VGO_darwin)
    if (0 == VG_(strcmp)(toolname, "memcheck")
-       || 0 == VG_(strcmp)(toolname, "helgrind")) {
+       || 0 == VG_(strcmp)(toolname, "helgrind")
+       || 0 == VG_(strcmp)(toolname, "drd")) {
       /* Change the default setting.  Later on (just below)
          main_process_cmd_line_options should pick up any
          user-supplied setting for it and will override the default
          set here. */
       VG_(clo_read_inline_info) = True;
    }
+#  endif
    // END HACK
 
    // Set default vex control params