summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2014-10-14 12:24:28 +0000
committerRenato Golin <renato.golin@linaro.org>2014-10-14 12:24:28 +0000
commitfa31ed4e4e05b10796f6b44aaaf30163c708f61f (patch)
treedb0b04a84e42e81430b5e6ac52f90f60fdb52c1a /lib
parentb32177dd542676f52fab62c2a6bf41ce45d74172 (diff)
Disable failing ASAN LongJump test on ARM
Updated the URL to reflect information on the problem as well as build the case for ARM. This seems to be a wider problem, not ARM or PPC specific. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@219680 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/asan/tests/asan_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc
index d36bcac7d..85eb97e52 100644
--- a/lib/asan/tests/asan_test.cc
+++ b/lib/asan/tests/asan_test.cc
@@ -602,9 +602,9 @@ NOINLINE void SigLongJmpFunc1(sigjmp_buf buf) {
siglongjmp(buf, 1);
}
-#if !defined(__ANDROID__) && \
+#if !defined(__ANDROID__) && !defined(__arm__) \
!defined(__powerpc64__) && !defined(__powerpc__)
-// Does not work on Power:
+// Does not work on Power and ARM:
// https://code.google.com/p/address-sanitizer/issues/detail?id=185
TEST(AddressSanitizer, BuiltinLongJmpTest) {
static jmp_buf buf;
@@ -615,7 +615,7 @@ TEST(AddressSanitizer, BuiltinLongJmpTest) {
}
}
#endif // !defined(__ANDROID__) && !defined(__powerpc64__) &&
- // !defined(__powerpc__)
+ // !defined(__powerpc__) && !defined(__arm__)
TEST(AddressSanitizer, UnderscopeLongJmpTest) {
static jmp_buf buf;