Skip to content

Commit

Permalink
Move ARM failure from FIXME to XFAIL
Browse files Browse the repository at this point in the history
llvm-svn: 221515
  • Loading branch information
rengolin committed Nov 7, 2014
1 parent 52695da commit d4ac2ba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libcxxabi/test/backtrace_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
// Source Licenses. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
// XFAIL: arm
#include <assert.h>
#include <stddef.h>
#include <unwind.h>
Expand Down Expand Up @@ -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;

Expand All @@ -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;
}

0 comments on commit d4ac2ba

Please sign in to comment.