Skip to content

Commit da3cd33

Browse files
mgornytstellar
authored andcommitted
[compiler-rt] [test] Mark dfsan tests XFAIL on glibc-2.37
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: llvm#60678 Differential Revision: https://reviews.llvm.org/D148496 (cherry picked from commit 488a4b2)
1 parent 0c7669b commit da3cd33

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

compiler-rt/test/dfsan/custom.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// https://github.com/llvm/llvm-project/issues/60678
2+
// XFAIL: glibc-2.37
3+
14
// RUN: %clang_dfsan %s -o %t && DFSAN_OPTIONS="strict_data_dependencies=0" %run %t
25
// RUN: %clang_dfsan -DSTRICT_DATA_DEPENDENCIES %s -o %t && %run %t
36
// 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

compiler-rt/test/dfsan/release_shadow_space.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
// https://github.com/llvm/llvm-project/issues/60678
2+
// XFAIL: glibc-2.37
3+
14
// DFSAN_OPTIONS=no_huge_pages_for_shadow=false RUN: %clang_dfsan %s -o %t && %run %t
25
// DFSAN_OPTIONS=no_huge_pages_for_shadow=true RUN: %clang_dfsan %s -o %t && %run %t
36
// DFSAN_OPTIONS=no_huge_pages_for_shadow=false RUN: %clang_dfsan %s -DORIGIN_TRACKING -mllvm -dfsan-track-origins=1 -o %t && %run %t

compiler-rt/test/lit.common.cfg.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ def get_macos_aligned_version(macos_vers):
516516
if not config.android and len(ver_lines) and ver_lines[0].startswith(b"ldd "):
517517
from distutils.version import LooseVersion
518518
ver = LooseVersion(ver_lines[0].split()[-1].decode())
519-
for required in ["2.27", "2.30", "2.34"]:
519+
for required in ["2.27", "2.30", "2.34", "2.37"]:
520520
if ver >= LooseVersion(required):
521521
config.available_features.add("glibc-" + required)
522522

0 commit comments

Comments
 (0)