[libcxxabi] r221348 - Disable backtrace libcxxabi test on ARM

Eric Fiselier eric at efcs.ca
Thu Nov 6 07:38:37 PST 2014


Could you use XFAIL: arm or UNSUPPORTED: arm to disable this test instead?
That way it shows up in the test summary instead of being entirely hidden.

/Eric

On Wed, Nov 5, 2014 at 8:45 AM, Renato Golin <renato.golin at linaro.org>
wrote:

> 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;
>  }
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141106/9febb662/attachment.html>


More information about the cfe-commits mailing list