diff options
author | Kostya Serebryany <kcc@google.com> | 2013-05-15 15:01:14 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-05-15 15:01:14 +0000 |
commit | 0bdc46c7ee03e8c4e4da7c5ac43edac237aa53e2 (patch) | |
tree | 9a2a3d29d56f127e3aab145313bb6a70075cd9ae /lib/asan/tests/asan_test.cc | |
parent | f931da85ce8668751628ded926ecad013c5d6f1a (diff) | |
download | compiler-rt-0bdc46c7ee03e8c4e4da7c5ac43edac237aa53e2.tar.gz |
[asan] disable BuiltinLongJmpTest on PowerPC
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@181890 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/tests/asan_test.cc')
-rw-r--r-- | lib/asan/tests/asan_test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/asan/tests/asan_test.cc b/lib/asan/tests/asan_test.cc index 9f8c80ea5..259ba40c3 100644 --- a/lib/asan/tests/asan_test.cc +++ b/lib/asan/tests/asan_test.cc @@ -567,7 +567,10 @@ TEST(AddressSanitizer, LongJmpTest) { } } -#if not defined(__ANDROID__) +#if !defined(__ANDROID__) && \ + !defined(__powerpc64__) && !defined(__powerpc__) +// Does not work on Power: +// https://code.google.com/p/address-sanitizer/issues/detail?id=185 TEST(AddressSanitizer, BuiltinLongJmpTest) { static jmp_buf buf; if (!__builtin_setjmp((void**)buf)) { |