[PATCH] D32377: Suppress DTLS leak happening in some glibc versions.
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 21 14:47:38 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL301043: Suppress DTLS leak happening in some glibc versions. (authored by alekseyshl).
Changed prior to commit:
https://reviews.llvm.org/D32377?vs=96237&id=96239#toc
Repository:
rL LLVM
https://reviews.llvm.org/D32377
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
@@ -72,10 +72,11 @@
#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*";
-#else
- "";
+ "leak:*_dl_map_object_deps*\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.
+ "leak:*tls_get_addr_tail*\n";
void InitializeSuppressions() {
CHECK_EQ(nullptr, suppression_ctx);
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32377.96239.patch
Type: text/x-patch
Size: 765 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170421/8a19ba3f/attachment.bin>
More information about the llvm-commits
mailing list