Skip to content

Commit 488a4b2

Browse files
committed
[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: #60678 Differential Revision: https://reviews.llvm.org/D148496
1 parent 18a3d9e commit 488a4b2

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
@@ -518,7 +518,7 @@ def get_macos_aligned_version(macos_vers):
518518
if not config.android and len(ver_lines) and ver_lines[0].startswith(b"ldd "):
519519
from distutils.version import LooseVersion
520520
ver = LooseVersion(ver_lines[0].split()[-1].decode())
521-
for required in ["2.27", "2.30", "2.34"]:
521+
for required in ["2.27", "2.30", "2.34", "2.37"]:
522522
if ver >= LooseVersion(required):
523523
config.available_features.add("glibc-" + required)
524524

0 commit comments

Comments
 (0)