[PATCH] D32497: [lsan] When necessary, define LSan suppression for pthread_exit.

Aleksey Shlyapnikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 25 10:37:35 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL301335: [lsan] When necessary, define LSan suppression for pthread_exit. (authored by alekseyshl).

Changed prior to commit:
  https://reviews.llvm.org/D32497?vs=96599&id=96601#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32497

Files:
  compiler-rt/trunk/lib/lsan/lsan_common.cc


Index: compiler-rt/trunk/lib/lsan/lsan_common.cc
===================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common.cc
+++ compiler-rt/trunk/lib/lsan/lsan_common.cc
@@ -70,9 +70,9 @@
 static const char *kSuppressionTypes[] = { kSuppressionLeak };
 static const char kStdSuppressions[] =
 #if SANITIZER_SUPPRESS_LEAK_ON_PTHREAD_EXIT
-  // The actual string allocation happens here (for more details refer to the
-  // SANITIZER_SUPPRESS_LEAK_ON_PTHREAD_EXIT definition).
-  "leak:*_dl_map_object_deps*\n"
+  // For more details refer to the SANITIZER_SUPPRESS_LEAK_ON_PTHREAD_EXIT
+  // definition.
+  "leak:*pthread_exit*\n"
 #endif  // SANITIZER_SUPPRESS_LEAK_ON_PTHREAD_EXIT
   // TLS leak in some glibc versions, described in
   // https://sourceware.org/bugzilla/show_bug.cgi?id=12650.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32497.96601.patch
Type: text/x-patch
Size: 834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170425/efa7c647/attachment.bin>


More information about the llvm-commits mailing list