[clang] [flang] [llvm] [CMake] Drop per-target LLVM_REQUIRES_RTTI (PR #174201)
Vassil Vassilev via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 12 08:12:58 PST 2026
================
@@ -1,7 +1,10 @@
# The interpreter can throw an exception from user input. The test binary needs
# to be compiled with exception support to catch the thrown exception.
+#
+# NOTE: we compile with exceptions enabled, but (possibly) with RTTI disabled.
+# This only works in these limited circumstances where all exception-related
+# code is in the same library/executable.
----------------
vgvassilev wrote:
I am not opposed to such a change but going forward with that will defeat the purpose of testing as it will limit this and similar cases. Perhaps if gtest is build with no rtti this still could be build with...
https://github.com/llvm/llvm-project/pull/174201
More information about the cfe-commits
mailing list