diff options
author | Renato Golin <renato.golin@linaro.org> | 2014-11-05 14:45:46 +0000 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2014-11-05 14:45:46 +0000 |
commit | c560b365a0c51c1da87f190fa836213c949abfcc (patch) | |
tree | 64c1e049a7f6bba74373b852074cd4a05ef2d749 /libcxxabi/test/backtrace_test.cpp | |
parent | 883abab1e85b4bf5bd64f5bf4ea9b5552dc30029 (diff) | |
download | bcm5719-llvm-c560b365a0c51c1da87f190fa836213c949abfcc.tar.gz bcm5719-llvm-c560b365a0c51c1da87f190fa836213c949abfcc.zip |
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
Diffstat (limited to 'libcxxabi/test/backtrace_test.cpp')
-rw-r--r-- | libcxxabi/test/backtrace_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libcxxabi/test/backtrace_test.cpp b/libcxxabi/test/backtrace_test.cpp index df291c96969..b41fdceaf78 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; } |