[llvm] [orc-rt] Ensure EH/RTTI=On overrides LLVM opts, applies to unit tests. (PR #172155)
Jared Wyles via llvm-commits
llvm-commits at lists.llvm.org
Sat Dec 13 19:51:19 PST 2025
================
@@ -39,4 +39,5 @@ add_orc_rt_unittest(CoreTests
span-test.cpp
DISABLE_LLVM_LINK_LLVM_DYLIB
)
+target_compile_options(CoreTests PRIVATE ${ORC_RT_COMPILE_FLAGS})
----------------
jaredwy wrote:
We could instead use the CXX_RTTI and CXX_EXCEPTIONS properties here, and do the checks here instead of inside the the header. This is more akin to how a library consumer would compile the orc-rt.
https://github.com/llvm/llvm-project/pull/172155
More information about the llvm-commits
mailing list