diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-04-17 07:54:57 +0200 |
---|---|---|
committer | Tom Stellard <tstellar@redhat.com> | 2023-05-02 10:50:56 -0700 |
commit | da3cd333bea572fb10470f610a27f22bcb84b08c (patch) | |
tree | 49aa468597b743160a2ef56cf8722b5297dae6bf | |
parent | 0c7669bc2bbf0fe7be0b6855bd2d98cad853c4ef (diff) | |
download | llvm-llvmorg-16.0.3.zip llvm-llvmorg-16.0.3.tar.gz llvm-llvmorg-16.0.3.tar.bz2 |
[compiler-rt] [test] Mark dfsan tests XFAIL on glibc-2.37llvmorg-16.0.3
Mark the two dfsan tests that are known to be broken on glibc-2.37
as XFAIL, to make the test suite start passing on Gentoo again.
Bug: https://github.com/llvm/llvm-project/issues/60678
Differential Revision: https://reviews.llvm.org/D148496
(cherry picked from commit 488a4b24817ae7d9319d8a99bd96c491b2035641)
-rw-r--r-- | compiler-rt/test/dfsan/custom.cpp | 3 | ||||
-rw-r--r-- | compiler-rt/test/dfsan/release_shadow_space.c | 3 | ||||
-rw-r--r-- | compiler-rt/test/lit.common.cfg.py | 2 |
3 files changed, 7 insertions, 1 deletions
diff --git a/compiler-rt/test/dfsan/custom.cpp b/compiler-rt/test/dfsan/custom.cpp index 6fb1e5b..6808cb1 100644 --- a/compiler-rt/test/dfsan/custom.cpp +++ b/compiler-rt/test/dfsan/custom.cpp @@ -1,3 +1,6 @@ +// https://github.com/llvm/llvm-project/issues/60678 +// XFAIL: glibc-2.37 + // RUN: %clang_dfsan %s -o %t && DFSAN_OPTIONS="strict_data_dependencies=0" %run %t // RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES %s -o %t && %run %t // RUN: %clang_dfsan -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -mllvm -dfsan-combine-pointer-labels-on-load=false -DSTRICT_DATA_DEPENDENCIES %s -o %t && %run %t diff --git a/compiler-rt/test/dfsan/release_shadow_space.c b/compiler-rt/test/dfsan/release_shadow_space.c index 675640a..9492f2a 100644 --- a/compiler-rt/test/dfsan/release_shadow_space.c +++ b/compiler-rt/test/dfsan/release_shadow_space.c @@ -1,3 +1,6 @@ +// https://github.com/llvm/llvm-project/issues/60678 +// XFAIL: glibc-2.37 + // DFSAN_OPTIONS=no_huge_pages_for_shadow=false RUN: %clang_dfsan %s -o %t && %run %t // DFSAN_OPTIONS=no_huge_pages_for_shadow=true RUN: %clang_dfsan %s -o %t && %run %t // DFSAN_OPTIONS=no_huge_pages_for_shadow=false RUN: %clang_dfsan %s -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o %t && %run %t diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py index 5a6f04a..c4840f8 100644 --- a/compiler-rt/test/lit.common.cfg.py +++ b/compiler-rt/test/lit.common.cfg.py @@ -516,7 +516,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", "2.34"]: + for required in ["2.27", "2.30", "2.34", "2.37"]: if ver >= LooseVersion(required): config.available_features.add("glibc-" + required) |