From b2568db819b06b11b99c141fb86ed346b423f29f Mon Sep 17 00:00:00 2001 From: Julian Seward Date: Sun, 31 May 2009 08:31:06 +0000 Subject: [PATCH] is_systemish_library_name: add "/opt" and "/sw" to the list of places where we shouldn't auto-run dsymutil. (Luc Bourhis). git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10173 --- coregrind/m_debuginfo/readmacho.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/coregrind/m_debuginfo/readmacho.c b/coregrind/m_debuginfo/readmacho.c index 76293ad317..dd2e599067 100644 --- a/coregrind/m_debuginfo/readmacho.c +++ b/coregrind/m_debuginfo/readmacho.c @@ -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; -- 2.47.3