[compiler-rt] r307548 - [lsan] Add _os_trace into LSan's suppression list
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 10 08:55:25 PDT 2017
Author: kuba.brecka
Date: Mon Jul 10 08:55:25 2017
New Revision: 307548
URL: http://llvm.org/viewvc/llvm-project?rev=307548&view=rev
Log:
[lsan] Add _os_trace into LSan's suppression list
Differential Revision: https://reviews.llvm.org/D35173
Modified:
compiler-rt/trunk/lib/lsan/lsan_common.cc
Modified: compiler-rt/trunk/lib/lsan/lsan_common.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/lsan/lsan_common.cc?rev=307548&r1=307547&r2=307548&view=diff
==============================================================================
--- compiler-rt/trunk/lib/lsan/lsan_common.cc (original)
+++ compiler-rt/trunk/lib/lsan/lsan_common.cc Mon Jul 10 08:55:25 2017
@@ -76,7 +76,9 @@ static const char kStdSuppressions[] =
#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);
More information about the llvm-commits
mailing list