rogfer01 created this revision. rogfer01 added reviewers: EricWF, mclow.lists, rmaprath. rogfer01 added a subscriber: cfe-commits.
The destructor of std::promise needs to construct a std::future_error exception so it calls std::make_exception_ptr. But under libcpp-no-exceptions this will trigger an abort. https://reviews.llvm.org/D27614 Files: test/std/thread/futures/futures.shared_future/dtor.pass.cpp test/std/thread/futures/futures.unique_future/dtor.pass.cpp Index: test/std/thread/futures/futures.unique_future/dtor.pass.cpp =================================================================== --- test/std/thread/futures/futures.unique_future/dtor.pass.cpp +++ test/std/thread/futures/futures.unique_future/dtor.pass.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// XFAIL: libcpp-no-exceptions +// UNSUPPORTED: libcpp-no-exceptions // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++98, c++03 Index: test/std/thread/futures/futures.shared_future/dtor.pass.cpp =================================================================== --- test/std/thread/futures/futures.shared_future/dtor.pass.cpp +++ test/std/thread/futures/futures.shared_future/dtor.pass.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// XFAIL: libcpp-no-exceptions +// UNSUPPORTED: libcpp-no-exceptions // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++98, c++03
Index: test/std/thread/futures/futures.unique_future/dtor.pass.cpp =================================================================== --- test/std/thread/futures/futures.unique_future/dtor.pass.cpp +++ test/std/thread/futures/futures.unique_future/dtor.pass.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// XFAIL: libcpp-no-exceptions +// UNSUPPORTED: libcpp-no-exceptions // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++98, c++03 Index: test/std/thread/futures/futures.shared_future/dtor.pass.cpp =================================================================== --- test/std/thread/futures/futures.shared_future/dtor.pass.cpp +++ test/std/thread/futures/futures.shared_future/dtor.pass.cpp @@ -7,7 +7,7 @@ // //===----------------------------------------------------------------------===// // -// XFAIL: libcpp-no-exceptions +// UNSUPPORTED: libcpp-no-exceptions // UNSUPPORTED: libcpp-has-no-threads // UNSUPPORTED: c++98, c++03
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits