summaryrefslogtreecommitdiff
path: root/lib/lsan/lsan_common.cc
diff options
context:
space:
mode:
authorAlex Shlyapnikov <alekseys@google.com>2017-04-26 17:13:31 +0000
committerAlex Shlyapnikov <alekseys@google.com>2017-04-26 17:13:31 +0000
commit775df7943e0715df4cca8298d85803e055a62675 (patch)
tree2cb20b4b7e2ace955b48a746e641a38c20fbdc14 /lib/lsan/lsan_common.cc
parent9b8267f708fe852f22a50a3f8f5ff21f9c7f318f (diff)
[lsan] When necessary, define LSan suppression for tls_get_addr.
Summary: Generalize already defined LSan suppression for the leak on tls_get_addr, some envs do not have the entire call stack symbolized, so we have to be less specific. Reviewers: eugenis Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D32545 git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@301434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/lsan/lsan_common.cc')
-rw-r--r--lib/lsan/lsan_common.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lsan/lsan_common.cc b/lib/lsan/lsan_common.cc
index 1f4734c85..a6b3453f5 100644
--- a/lib/lsan/lsan_common.cc
+++ b/lib/lsan/lsan_common.cc
@@ -76,7 +76,7 @@ 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_tail*\n";
+ "leak:*tls_get_addr*\n";
void InitializeSuppressions() {
CHECK_EQ(nullptr, suppression_ctx);