[compiler-rt] 118757a - [msan] Disabled test failing on new GLIBC
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 15 11:19:02 PST 2021
Author: Vitaly Buka
Date: 2021-11-15T11:18:52-08:00
New Revision: 118757af11954ffd43c16a41e39348e0907bba92
URL: https://github.com/llvm/llvm-project/commit/118757af11954ffd43c16a41e39348e0907bba92
DIFF: https://github.com/llvm/llvm-project/commit/118757af11954ffd43c16a41e39348e0907bba92.diff
LOG: [msan] Disabled test failing on new GLIBC
Added:
Modified:
compiler-rt/test/lit.common.cfg.py
compiler-rt/test/msan/preinit_array.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index c4ef8e3c42a85..e71e6d40ec882 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -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)
diff --git a/compiler-rt/test/msan/preinit_array.cpp b/compiler-rt/test/msan/preinit_array.cpp
index 6f877bac0b1c3..c72004ecfb21b 100644
--- a/compiler-rt/test/msan/preinit_array.cpp
+++ b/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;
More information about the llvm-commits
mailing list