[PATCH] D14653: [libcxx] Introduce the mechanism for fixing -fno-exceptions test failures.

Asiri Rathnayake via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 19 09:58:21 PST 2015


rmaprath updated this revision to Diff 40669.
rmaprath added a comment.

Addressing review comments:

- Renamed `throw_helper` as `__throw_helper` in order to not pollute the global namespace (@jroelofs)
- Made `try_buf` a `thread_local` in order to be able to support those tests the launch multiple threads.
- Introduced `__libcxx_noexceptions_abort()` as an intermediary between the no-exceptions library and the c library's `abort()` (@scott-0).
  - This had the side-benefit that we now don't have to hack around `assert()` in `noexcept.h` test support header; neat!


http://reviews.llvm.org/D14653

Files:
  include/__config
  include/__noexcept
  include/array
  src/noexcept.cpp
  test/std/containers/sequences/array/at.pass.cpp
  test/support/noexcept.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14653.40669.patch
Type: text/x-patch
Size: 5458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151119/1a2bdeac/attachment-0001.bin>


More information about the cfe-commits mailing list