diff options
author | Vitaly Buka <vitalybuka@google.com> | 2024-03-12 22:21:15 -0700 |
---|---|---|
committer | Vitaly Buka <vitalybuka@google.com> | 2024-03-12 22:22:54 -0700 |
commit | deebf6b312227e028dd3258b162306b9cdb21cf7 (patch) | |
tree | 0e62c5ebf5b8df6b60ebb30619548d5aec9148d2 | |
parent | a0283987d07c2d4ce2cc5a4adaee0512f9553797 (diff) | |
download | llvm-deebf6b312227e028dd3258b162306b9cdb21cf7.zip llvm-deebf6b312227e028dd3258b162306b9cdb21cf7.tar.gz llvm-deebf6b312227e028dd3258b162306b9cdb21cf7.tar.bz2 |
[tsan] Disabled test dead locking on glibc-2.38
https://github.com/google/sanitizers/issues/1733
-rw-r--r-- | compiler-rt/test/lit.common.cfg.py | 2 | ||||
-rw-r--r-- | compiler-rt/test/tsan/getline_nohang.cpp | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py index ae28681..bd9b926 100644 --- a/compiler-rt/test/lit.common.cfg.py +++ b/compiler-rt/test/lit.common.cfg.py @@ -632,7 +632,7 @@ if config.host_os == "Linux": 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 d1bb279..c0762da 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 |