summaryrefslogtreecommitdiffstats
path: root/libcxxabi/test
diff options
context:
space:
mode:
authorRenato Golin <renato.golin@linaro.org>2014-11-07 10:30:53 +0000
committerRenato Golin <renato.golin@linaro.org>2014-11-07 10:30:53 +0000
commitd4ac2ba618a78bfccf926cbf48090c42105d2af9 (patch)
tree72a4c73b38a40723e3fd757999cbea4fd9f42248 /libcxxabi/test
parent52695da39c7ebe731db7f9eaf2ec745590ad09d8 (diff)
downloadbcm5719-llvm-d4ac2ba618a78bfccf926cbf48090c42105d2af9.tar.gz
bcm5719-llvm-d4ac2ba618a78bfccf926cbf48090c42105d2af9.zip
Move ARM failure from FIXME to XFAIL
llvm-svn: 221515
Diffstat (limited to 'libcxxabi/test')
-rw-r--r--libcxxabi/test/backtrace_test.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/libcxxabi/test/backtrace_test.cpp b/libcxxabi/test/backtrace_test.cpp
index b41fdceaf78..f54a478afe6 100644
--- a/libcxxabi/test/backtrace_test.cpp
+++ b/libcxxabi/test/backtrace_test.cpp
@@ -6,6 +6,7 @@
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
+// XFAIL: arm
#include <assert.h>
#include <stddef.h>
#include <unwind.h>
@@ -43,10 +44,6 @@ 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;
@@ -62,6 +59,5 @@ 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;
}
OpenPOWER on IntegriCloud