[all-commits] [llvm/llvm-project] e6d94f: [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jun 9 13:14:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e6d94f4bd210f01a6dedf3cdd9ac331815cc7874
      https://github.com/llvm/llvm-project/commit/e6d94f4bd210f01a6dedf3cdd9ac331815cc7874
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-09 (Tue, 09 Jun 2020)

  Changed paths:
    M libcxxabi/test/cxa_bad_cast.pass.cpp
    M libcxxabi/test/cxa_bad_typeid.pass.cpp
    M libcxxabi/test/guard_threaded_test.pass.cpp
    M libcxxabi/test/libcxxabi/test/config.py
    M libcxxabi/test/test_guard.pass.cpp
    M libcxxabi/test/test_vector1.pass.cpp

  Log Message:
  -----------
  [libc++abi] Replace LIBCXXABI_HAS_NO_EXCEPTIONS by TEST_HAS_NO_EXCEPTIONS

This clarifies the difference between test for exception support in
libc++abi tests and support for exceptions built into libc++abi.
This also removes the rather confusing similarity between the
_LIBCXXABI_NO_EXCEPTIONS and LIBCXXABI_HAS_NO_EXCEPTIONS macros.

Finally, TEST_HAS_NO_EXCEPTIONS is also detected automatically based
on -fno-exceptions, so it doesn't have to be specified explicitly
through Lit's compile_flags.




More information about the All-commits mailing list