summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2024-02-14 15:51:26 -0800
committerFangrui Song <i@maskray.me>2024-02-14 15:51:26 -0800
commitacdb4cdc04ed4d9a130f0fa706ed1b0f42cc1aa0 (patch)
treeda7db5563240075e77a10d2c584bedd72269e0b7
parent4eb092d9f8999338fd4c7ef65268649636b7f86a (diff)
[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.
-rw-r--r--compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp1
1 files changed, 1 insertions, 0 deletions
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 f26b7b868cad..c20231cc917d 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>