Skip to content

Commit acdb4cd

Browse files
committed
[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.
1 parent 4eb092d commit acdb4cd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compiler-rt/test/ubsan/TestCases/Misc/Linux/static-link.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// REQUIRES: ubsan-standalone
22
// REQUIRES: target={{x86_64.*}}
3+
// UNSUPPORTED: i386-target-arch, internal_symbolizer
34
// 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
45
// RUN: %run %t 2>&1 | FileCheck %s
56
#include <signal.h>

0 commit comments

Comments
 (0)