mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-16 12:06:36 +00:00
[tsan] Disabled test dead locking on glibc-2.38
https://github.com/google/sanitizers/issues/1733
This commit is contained in:
parent
a0283987d0
commit
deebf6b312
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user