summaryrefslogtreecommitdiffstats
path: root/compiler-rt
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
commit37435687357bbf556ee4c8ddd455805adfd9d11e (patch)
tree9f9b983147529569b79bbd132bf75df2eac530fb /compiler-rt
parentb454930cda60eec7733285d3b5c22ff54d06680a (diff)
downloadbcm5719-llvm-37435687357bbf556ee4c8ddd455805adfd9d11e.tar.gz
bcm5719-llvm-37435687357bbf556ee4c8ddd455805adfd9d11e.zip
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. llvm-svn: 219680
Diffstat (limited to 'compiler-rt')
-rw-r--r--compiler-rt/lib/asan/tests/asan_test.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_test.cc b/compiler-rt/lib/asan/tests/asan_test.cc
index d36bcac7db6..85eb97e524f 100644
--- a/compiler-rt/lib/asan/tests/asan_test.cc
+++ b/compiler-rt/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;
OpenPOWER on IntegriCloud