[compiler-rt] deebf6b - [tsan] Disabled test dead locking on glibc-2.38
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 12 22:23:12 PDT 2024
Author: Vitaly Buka
Date: 2024-03-12T22:22:54-07:00
New Revision: deebf6b312227e028dd3258b162306b9cdb21cf7
URL: https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7
DIFF: https://github.com/llvm/llvm-project/commit/deebf6b312227e028dd3258b162306b9cdb21cf7.diff
LOG: [tsan] Disabled test dead locking on glibc-2.38
https://github.com/google/sanitizers/issues/1733
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/tsan/getline_nohang.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index ae28681915afb3..bd9b926c1505b1 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -632,7 +632,7 @@ def add_glibc_versions(ver_string):
ver = LooseVersion(ver_string)
any_glibc = False
- for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37"]:
+ for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37", "2.38"]:
if ver >= LooseVersion(required):
config.available_features.add("glibc-" + required)
any_glibc = True
diff --git a/compiler-rt/test/tsan/getline_nohang.cpp b/compiler-rt/test/tsan/getline_nohang.cpp
index d1bb279a450f55..c0762da96abb90 100644
--- a/compiler-rt/test/tsan/getline_nohang.cpp
+++ b/compiler-rt/test/tsan/getline_nohang.cpp
@@ -5,6 +5,10 @@
// Make sure TSan doesn't deadlock on a file stream lock at program shutdown.
// See https://github.com/google/sanitizers/issues/454
+
+// https://github.com/google/sanitizers/issues/1733
+// UNSUPPORTED: glibc-2.38
+
#ifdef __FreeBSD__
#define _WITH_GETLINE // to declare getline()
#endif
More information about the llvm-commits
mailing list