[compiler-rt] [compiler-rt] [test] Mark tests failing with glibc-2.39 XFAIL (PR #84198)

Michał Górny via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 6 09:08:21 PST 2024


https://github.com/mgorny created https://github.com/llvm/llvm-project/pull/84198

See https://github.com/llvm/llvm-project/issues/82883.

>From fdff1a18d5423a5f2218add0628f20bfaf517424 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= <mgorny at gentoo.org>
Date: Wed, 6 Mar 2024 18:06:17 +0100
Subject: [PATCH] [compiler-rt] [test] Mark tests failing with glibc-2.39 XFAIL

See https://github.com/llvm/llvm-project/issues/82883.
---
 compiler-rt/test/lit.common.cfg.py                              | 2 +-
 .../sanitizer_coverage_inline8bit_counter_default_impl.cpp      | 2 ++
 .../sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp | 2 ++
 3 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 113777b0ea8a19..e65f17aaf2d174 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -632,7 +632,7 @@ def add_glibc_versions(ver_string):
 
         ver = LooseVersion(ver_string)
         any_glibc = False
-        for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37"]:
+        for required in ["2.19", "2.27", "2.30", "2.33", "2.34", "2.37", "2.39"]:
             if ver >= LooseVersion(required):
                 config.available_features.add("glibc-" + required)
                 any_glibc = True
diff --git a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
index 1ac04b53491e14..0d5327ad36f4be 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp
@@ -2,6 +2,8 @@
 // -fsanitize-coverage=inline-8bit-counters,pc-table
 
 // REQUIRES: has_sancovcc,stable-runtime,linux,x86_64-target-arch
+// https://github.com/llvm/llvm-project/issues/82883
+// XFAIL: glibc-2.39 && ubsan
 
 // RUN: %clangxx -O0 %s -fsanitize-coverage=inline-8bit-counters,pc-table -o %t
 // RUN: rm -f %t-counters %t-pcs
diff --git a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
index daa994c8116251..d5e85398d605b8 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp
@@ -2,6 +2,8 @@
 //
 // REQUIRES: x86_64-linux
 // XFAIL: tsan
+// https://github.com/llvm/llvm-project/issues/82883
+// XFAIL: glibc-2.39 && ubsan
 //
 // RUN: DIR=%t_workdir
 // RUN: rm -rf $DIR



More information about the llvm-commits mailing list