[msan] Disabled test failing on new GLIBC

This commit is contained in:
Vitaly Buka 2021-11-15 11:18:40 -08:00
parent e99902a872
commit 118757af11
2 changed files with 4 additions and 1 deletions

View File

@ -511,7 +511,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;