[libcxxabi] r221348 - Disable backtrace libcxxabi test on ARM
Renato Golin
renato.golin at linaro.org
Wed Nov 5 06:45:46 PST 2014
Author: rengolin
Date: Wed Nov 5 08:45:46 2014
New Revision: 221348
URL: http://llvm.org/viewvc/llvm-project?rev=221348&view=rev
Log:
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.
Modified:
libcxxabi/trunk/test/backtrace_test.cpp
Modified: libcxxabi/trunk/test/backtrace_test.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/backtrace_test.cpp?rev=221348&r1=221347&r2=221348&view=diff
==============================================================================
--- libcxxabi/trunk/test/backtrace_test.cpp (original)
+++ libcxxabi/trunk/test/backtrace_test.cpp Wed Nov 5 08:45:46 2014
@@ -43,6 +43,10 @@ void call1(size_t* ntraced, bool do_thro
}
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;
}
More information about the cfe-commits
mailing list