[compiler-rt] 89d0a5c - [asan] De-prioritize VReport `DTLS_Find` (#104401)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 15 13:50:05 PDT 2024
Author: Vitaly Buka
Date: 2024-08-15T13:50:02-07:00
New Revision: 89d0a5c9e8852444399645d474543730ca544ede
URL: https://github.com/llvm/llvm-project/commit/89d0a5c9e8852444399645d474543730ca544ede
DIFF: https://github.com/llvm/llvm-project/commit/89d0a5c9e8852444399645d474543730ca544ede.diff
LOG: [asan] De-prioritize VReport `DTLS_Find` (#104401)
Added:
Modified:
compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp
compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp b/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp
index ee293bbd68875..e2a66142e584e 100644
--- a/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp
+++ b/compiler-rt/lib/sanitizer_common/sanitizer_tls_get_addr.cpp
@@ -66,7 +66,7 @@ static DTLS::DTVBlock *DTLS_NextBlock(atomic_uintptr_t *cur) {
}
static DTLS::DTV *DTLS_Find(uptr id) {
- VReport(2, "__tls_get_addr: DTLS_Find %p %zd\n", (void *)&dtls, id);
+ VReport(3, "__tls_get_addr: DTLS_Find %p %zd\n", (void *)&dtls, id);
static constexpr uptr kPerBlock = ARRAY_SIZE(DTLS::DTVBlock::dtvs);
DTLS::DTVBlock *cur = DTLS_NextBlock(&dtls.dtv_block);
if (!cur)
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
index 2d6e6c60f2437..c288e1d69baf9 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/resize_tls_dynamic.cpp
@@ -1,6 +1,6 @@
// RUN: %clangxx %s -DBUILD_DSO -fPIC -shared -o %t.so
// RUN: %clangxx --std=c++11 %s -o %t
-// RUN: %env_tool_opts=verbosity=2 %run %t 2>&1 | FileCheck %s
+// RUN: %env_tool_opts=verbosity=3 %run %t 2>&1 | FileCheck %s
// Does not call __tls_get_addr
// UNSUPPORTED: i386-linux
More information about the llvm-commits
mailing list