[compiler-rt] acdb4cd - [ubsan, test] Disable static-link.cpp for i386 and internal_symbolizer
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 14 15:51:31 PST 2024
Author: Fangrui Song
Date: 2024-02-14T15:51:26-08:00
New Revision: acdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0
URL: https://github.com/llvm/llvm-project/commit/acdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0
DIFF: https://github.com/llvm/llvm-project/commit/acdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0.diff
LOG: [ubsan,test] Disable static-link.cpp for i386 and internal_symbolizer
i386 has a `__tls_get_addr` link error.
For internal_symbolizer, the x86_64 test would fail as well.
Added:
Modified:
compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
Removed:
################################################################################
diff --git a/compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp b/compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
index f26b7b868cad62..c20231cc917d0c 100644
--- a/compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
+++ b/compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp
@@ -1,5 +1,6 @@
// REQUIRES: ubsan-standalone
// REQUIRES: target={{x86_64.*}}
+// UNSUPPORTED: i386-target-arch, internal_symbolizer
// RUN: %clangxx -fsanitize=bool -static %s -o %t && UBSAN_OPTIONS=handle_segv=0:handle_sigbus=0:handle_sigfpe=0 %run %t 2>&1 | FileCheck %s
// RUN: %run %t 2>&1 | FileCheck %s
#include <signal.h>
More information about the llvm-commits
mailing list