[libcxx-commits] [libcxx] [libc++][CI] Tests the no RTTI configuration. (PR #65518)
via libcxx-commits
libcxx-commits at lists.llvm.org
Sun Sep 10 10:58:52 PDT 2023
================
@@ -279,7 +279,9 @@ endif()
# Feature options -------------------------------------------------------------
option(LIBCXX_ENABLE_EXCEPTIONS "Use exceptions." ON)
-option(LIBCXX_ENABLE_RTTI "Use run time type information." ON)
+option(LIBCXX_ENABLE_RTTI
+ "Use run time type information.
+ This option may only be set to OFF when LIBCXX_ENABLE_EXCEPTIONS=OFF." ON)
----------------
philnik777 wrote:
Is this only a problem within libc++ or is there some fundamental reason we can't do this (i.e. is RTTI always required for EH)?
https://github.com/llvm/llvm-project/pull/65518
More information about the libcxx-commits
mailing list