mirror of
https://github.com/intel/llvm.git
synced 2026-01-13 19:08:21 +08:00
Clients should be able to build the ORC runtime with or without exceptions/RTTI, and this choice should be able to be made independently of the corresponding settings for LLVM (e.g. it should be fine to build LLVM with exceptions/RTTI disabled, and orc-rt with them enabled). The orc-rt-c/config.h header will provide C defines that can be used by both the ORC runtime and API clients to determine the value of the options. Future patches should build on this work to provide APIs that enable some interoperability between the ORC runtime's error return mechanism (Error/Expected) and C++ exceptions.