[libcxxabi] r221515 - Move ARM failure from FIXME to XFAIL

Renato Golin renato.golin at linaro.org
Fri Nov 7 02:30:54 PST 2014


Author: rengolin
Date: Fri Nov  7 04:30:53 2014
New Revision: 221515

URL: http://llvm.org/viewvc/llvm-project?rev=221515&view=rev
Log:
Move ARM failure from FIXME to XFAIL

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=221515&r1=221514&r2=221515&view=diff
==============================================================================
--- libcxxabi/trunk/test/backtrace_test.cpp (original)
+++ libcxxabi/trunk/test/backtrace_test.cpp Fri Nov  7 04:30:53 2014
@@ -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_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;
 
@@ -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;
 }





More information about the cfe-commits mailing list