[msan] Disabled test failing on new GLIBC

(cherry picked from commit 118757af11)
This commit is contained in:
Vitaly Buka 2021-11-15 11:18:40 -08:00 committed by Tom Stellard
parent 578e500fe5
commit c1b51f0987
2 changed files with 4 additions and 1 deletions

View File

@ -491,7 +491,7 @@ if config.host_os == 'Linux':
if not config.android and len(ver_lines) and ver_lines[0].startswith(b"ldd "):
from distutils.version import LooseVersion
ver = LooseVersion(ver_lines[0].split()[-1].decode())
for required in ["2.27", "2.30"]:
for required in ["2.27", "2.30", "2.34"]:
if ver >= LooseVersion(required):
config.available_features.add("glibc-" + required)

View File

@ -1,5 +1,8 @@
// RUN: %clangxx_msan -O0 %s -o %t && %run %t
// FIXME: Something changed in glibc 2.34, maybe earier.
// UNSUPPORTED: glibc-2.34
#include <sanitizer/msan_interface.h>
volatile int global;