Skip to content

Commit

Permalink
[msan] Disabled test failing on new GLIBC
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Nov 15, 2021
1 parent e99902a commit 118757a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/test/lit.common.cfg.py
Expand Up @@ -511,7 +511,7 @@ def get_macos_aligned_version(macos_vers):
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)

Expand Down
3 changes: 3 additions & 0 deletions compiler-rt/test/msan/preinit_array.cpp
@@ -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;
Expand Down

0 comments on commit 118757a

Please sign in to comment.