llvm-project
ca81d7c2 - [orc-rt] Ensure EH/RTTI=On overrides LLVM opts, applies to unit tests. (#172155)

Commit
40 days ago
[orc-rt] Ensure EH/RTTI=On overrides LLVM opts, applies to unit tests. (#172155) When -DORC_RT_ENABLE_EXCEPTIONS=On and -DORC_RT_ENABLE_RTTI=On are passed we need to ensure that the resulting compiler flags (e.g. -fexceptions, -frtti for clang/GCC) are appended so that we override any inherited options (e.g. -fno-exceptions, -fno-rtti) from LLVM. Updates unit tests to ensure that these compiler options are applied to them too.
Author
Parents
Loading