[libcxx-commits] [libcxx] [libc++][CI] Tests the no RTTI configuration. (PR #65518)

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Sep 12 10:49:06 PDT 2023


================
@@ -370,6 +372,11 @@ if (LIBCXX_HAS_PTHREAD_API)
   endif()
 endif()
 
+if (NOT LIBCXX_ENABLE_RTTI AND LIBCXX_ENABLE_EXCEPTIONS)
+  message(FATAL_ERROR "The option LIBCXX_ENABLE_RTTI can not be turned off"
----------------
ldionne wrote:

I summarized issues we have with `-fno-rtti -fexceptions` here: https://github.com/llvm/llvm-project/issues/66117.

I would disagree that this is a "well supported" configuration. We've had multiple user reports of things not behaving properly in that configuration, and I would not recommend anybody to use it in its current state.

https://github.com/llvm/llvm-project/pull/65518


More information about the libcxx-commits mailing list