[compiler-rt] [compiler-rt] [test] Mark tests failing with glibc-2.39 XFAIL (PR #84198)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 6 09:08:54 PST 2024
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-compiler-rt-sanitizer
Author: Michał Górny (mgorny)
<details>
<summary>Changes</summary>
See https://github.com/llvm/llvm-project/issues/82883.
---
Full diff: https://github.com/llvm/llvm-project/pull/84198.diff
3 Files Affected:
- (modified) compiler-rt/test/lit.common.cfg.py (+1-1)
- (modified) compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_inline8bit_counter_default_impl.cpp (+2)
- (modified) compiler-rt/test/sanitizer_common/TestCases/sanitizer_coverage_symbolize.cpp (+2)
``````````diff
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
``````````
</details>
https://github.com/llvm/llvm-project/pull/84198
More information about the llvm-commits
mailing list