[PATCH] D35173: [lsan] Add _os_trace into LSan's suppression list

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 10 08:55:58 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL307548: [lsan] Add _os_trace into LSan's suppression list (authored by kuba.brecka).

Changed prior to commit:
  https://reviews.llvm.org/D35173?vs=105751&id=105864#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D35173

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
@@ -76,7 +76,9 @@
 #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*\n";
+  "leak:*tls_get_addr*\n"
+  // For Darwin and os_log/os_trace.
+  "leak:*_os_trace*\n";
 
 void InitializeSuppressions() {
   CHECK_EQ(nullptr, suppression_ctx);


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D35173.105864.patch
Type: text/x-patch
Size: 584 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170710/e86a0f05/attachment.bin>


More information about the llvm-commits mailing list