]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
is_systemish_library_name: add "/opt" and "/sw" to the list of places
authorJulian Seward <jseward@acm.org>
Sun, 31 May 2009 08:31:06 +0000 (08:31 +0000)
committerJulian Seward <jseward@acm.org>
Sun, 31 May 2009 08:31:06 +0000 (08:31 +0000)
where we shouldn't auto-run dsymutil.  (Luc Bourhis).

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

coregrind/m_debuginfo/readmacho.c

index 76293ad3175e71e7bf8ec780a5ac246ba2be5446..dd2e5990678bedbe820a12459cb06bf4fcd2ddf1 100644 (file)
@@ -649,6 +649,8 @@ static Bool is_systemish_library_name ( UChar* name )
    if (0 == VG_(strncasecmp)(name, "/usr/", 5)
        || 0 == VG_(strncasecmp)(name, "/bin/", 5)
        || 0 == VG_(strncasecmp)(name, "/sbin/", 6)
+       || 0 == VG_(strncasecmp)(name, "/opt/", 5)
+       || 0 == VG_(strncasecmp)(name, "/sw/", 4
        || 0 == VG_(strncasecmp)(name, "/System/", 8)
        || 0 == VG_(strncasecmp)(name, "/Library/", 9)) {
       return True;