Skip to content

Commit ad81dea

Browse files
committed
[compiler-rt][asan] Disable two tests on Arm Thumb
I can't be sure of the cause but I believe these fail due to to fast unwinding not working on Thumb. Whatever the case, they have been failing on our bots for a long time: https://lab.llvm.org/buildbot/#/builders/170/builds/46 Require fast-unwinder-works for both.
1 parent 2b9ac78 commit ad81dea

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

compiler-rt/test/asan/TestCases/Linux/odr-violation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
// GNU driver doesn't handle .so files properly.
4444
// REQUIRES: Clang
4545

46+
// REQUIRES: fast-unwinder-works
47+
4648
#ifndef SZ
4749
# define SZ 4
4850
#endif

compiler-rt/test/asan/TestCases/Linux/recvfrom.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
// RUN: %clangxx_asan %s -DSENDTO -o %t && not %run %t 2>&1 | FileCheck %s --check-prefix=CHECK-SENDTO
55
// RUN: %clangxx_asan %s -DSENDTO -o %t && %env_asan_opts=intercept_send=0 %run %t 2>&1
66
//
7-
// UNSUPPORTED: android
7+
// This will try to fast unwind on Arm Thumb, where fast unwinding does not work.
8+
// UNSUPPORTED: android, !fast-unwinder-works
89

910
#include <stdio.h>
1011
#include <unistd.h>

0 commit comments

Comments
 (0)