[llvm-dev] how to enable exceptions for one component
Davis, Alan via llvm-dev
llvm-dev at lists.llvm.org
Sun Jan 12 17:09:33 PST 2020
I'd like to enable exceptions for a single target-specific LLVM component which is built as library. That is, I'd like to allow it to throw exceptions to its (non-LLVM) client to signal errors. In the CMakeLists.txt for the component, I tried:
set_property(TARGET LLVMTargetLibrary PROPERTY LLVM_ENABLE_EH ON)
But it still compiles with -fno-exceptions.
Thanks for any advice.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev