From: Renato Golin Date: Wed, 5 Nov 2014 14:45:46 +0000 (+0000) Subject: Disable backtrace libcxxabi test on ARM X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c560b365a0c51c1da87f190fa836213c949abfcc;p=platform%2Fupstream%2Fllvm.git Disable backtrace libcxxabi test on ARM _Unwind_Backtrace is not clearly defined in EHABI and needs more testing. A bug was created with some initial investigation done http://llvm.org/PR21444. This test fails with both libunwind and libgcc_s. llvm-svn: 221348 --- diff --git a/libcxxabi/test/backtrace_test.cpp b/libcxxabi/test/backtrace_test.cpp index df291c9..b41fdce 100644 --- a/libcxxabi/test/backtrace_test.cpp +++ b/libcxxabi/test/backtrace_test.cpp @@ -43,6 +43,10 @@ void call1(size_t* ntraced, bool do_throw) { } int main() { +// FIXME: _Unwind_Backtrace is not clearly defined in EHABI and needs more +// testing. A bug was created with some initial investigation done +// http://llvm.org/PR21444. This test fails with both libunwind and libgcc_s. +#ifndef __arm__ size_t throw_ntraced = 0; size_t nothrow_ntraced = 0; @@ -58,5 +62,6 @@ int main() { // of times, so we can't make any better assumptions than this. assert(nothrow_ntraced > 1); assert(throw_ntraced == nothrow_ntraced); // Make sure we unwind through catch +#endif return 0; }