Skip to content

Commit

Permalink
[tsan] Disabled test dead locking on glibc-2.38
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Mar 13, 2024
1 parent a028398 commit deebf6b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/lit.common.cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions compiler-rt/test/tsan/getline_nohang.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit deebf6b

Please sign in to comment.