[compiler-rt] 75b0a99 - [test][compiler-rt] Mark several tests as UNSUPPORTED on LoongArch (#69699)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 27 01:52:13 PDT 2023
Author: Ami-zhang
Date: 2023-10-27T16:52:10+08:00
New Revision: 75b0a99668cef7abaf36e09c41bb1eb91234bbf3
URL: https://github.com/llvm/llvm-project/commit/75b0a99668cef7abaf36e09c41bb1eb91234bbf3
DIFF: https://github.com/llvm/llvm-project/commit/75b0a99668cef7abaf36e09c41bb1eb91234bbf3.diff
LOG: [test][compiler-rt] Mark several tests as UNSUPPORTED on LoongArch (#69699)
Added:
Modified:
compiler-rt/test/fuzzer/exit_on_src_pos.test
compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp
compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/fuzzer/exit_on_src_pos.test b/compiler-rt/test/fuzzer/exit_on_src_pos.test
index 541e0c4c6e4248c..020424e2d9fddea 100644
--- a/compiler-rt/test/fuzzer/exit_on_src_pos.test
+++ b/compiler-rt/test/fuzzer/exit_on_src_pos.test
@@ -6,6 +6,8 @@
# Test does not complete on Armv7 Thumb build bot
UNSUPPORTED: target=thumb{{.*}}
+# Timeout on loongarch64 machine
+UNSUPPORTED: target=loongarch64{{.*}}
RUN: %cpp_compiler -O0 %S/SimpleTest.cpp -o %t-SimpleTest.exe -mllvm -use-unknown-locations=Disable
RUN: %cpp_compiler -O0 %S/ShrinkControlFlowTest.cpp -o %t-ShrinkControlFlowTest.exe
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp
index fc31212b7f18b23..9d7d46b462a88ca 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/odd_stack_size.cpp
@@ -5,6 +5,8 @@
// AddressSanitizer: CHECK failed: asan_thread.cpp:315 "((AddrIsInStack((uptr)&local))) != (0)"
// https://lab.llvm.org/buildbot/#/builders/18/builds/8162
// UNSUPPORTED: target=powerpc64{{.*}}
+/// Occasionally fail on loongarch64 machine
+// UNSUPPORTED: target=loongarch64{{.*}}
#include <assert.h>
#include <stdlib.h>
diff --git a/compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp b/compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
index 67351a9164412df..0fa77200bf1cc0d 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/Linux/release_to_os_test.cpp
@@ -3,7 +3,7 @@
// Temporarily disable test
// UNSUPPORTED: tsan
-// UNSUPPORTED: target=powerpc64{{.*}}
+// UNSUPPORTED: target={{(powerpc64|loongarch64).*}}
// Not needed, no allocator.
// UNSUPPORTED: ubsan
diff --git a/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp b/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
index 3065981a2c9a733..0ee8aaa755d5a41 100644
--- a/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
+++ b/compiler-rt/test/xray/TestCases/Posix/fdr-mode.cpp
@@ -19,6 +19,8 @@
// RUN: rm fdr-logging-test-*
// RUN: rm fdr-unwrite-test-*
// UNSUPPORTED: target=powerpc64le-{{.*}}
+/// TODO: FDR logging arg1 handler(__xray_ArgLoggerEntry) hasn't implemented yet on LoongArch
+// UNSUPPORTED: target=loongarch64{{.*}}
// REQUIRES: built-in-llvm-tree
#include "xray/xray_log_interface.h"
More information about the llvm-commits
mailing list