This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH][libsanitizer] Cherry-pick r210012
- From: Richard Biener <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 13:33:01 +0200 (CEST)
- Subject: [PATCH][libsanitizer] Cherry-pick r210012
- Authentication-results: sourceware.org; auth=none
Committed.
Richard.
Index: libsanitizer/ChangeLog
===================================================================
--- libsanitizer/ChangeLog (revision 211449)
+++ libsanitizer/ChangeLog (working copy)
@@ -1,3 +1,7 @@
+2014-06-11 Richard Biener <rguenther@suse.de>
+
+ * asan/asan_linux.cc: Cherry pick upstream r210012.
+
2014-05-30 Jakub Jelinek <jakub@redhat.com>
* sanitizer_common/sanitizer_stacktrace.cc: Cherry pick upstream
Index: libsanitizer/asan/asan_linux.cc
===================================================================
--- libsanitizer/asan/asan_linux.cc (revision 211449)
+++ libsanitizer/asan/asan_linux.cc (working copy)
@@ -89,6 +89,10 @@ static int FindFirstDSOCallback(struct d
if (!info->dlpi_name || info->dlpi_name[0] == 0)
return 0;
+ // Ignore vDSO
+ if (internal_strncmp(info->dlpi_name, "linux-", sizeof("linux-") - 1) == 0)
+ return 0;
+
*(const char **)data = info->dlpi_name;
return 1;
}