<div dir="auto">Hi, <br></div>
<div dir="auto">I'm building clang/llvm from source and I would like to set the same cmake flags as the packaged version (Linux Mint 18.3/Ubuntu 16.04.3), how do I find out what flags the prepackaged versions of llvm/clang are built with?<br><br></div>
<div dir="auto">I essentially want to know if the packaged version is built with LLVM_ENABLE_RTTI and/or LLVM_ENABLE_EH or other flags that could be problematic for plugin loading/usage.<br></div>
<div dir="auto">(From the CMakeLists.txt for the hello plugin example I'm assuming EH relies on rtti and enabling exceptions implicitly enable rtti?)<br><br></div>
<div dir="auto">Also, do those flags affect exceptions and rtti usage in llvm-based runtime libs which are statically linked to user binaries and used for JITing during compilation? <br></div>
<div dir="auto">Is it save to build a plugin without rtti (so it's compatible with a stdc++rtti-less clang), while having a runtime lib with rtti and exceptions?<br><br></div>
<div dir="auto">Sry, that's a lot of questions. <br><br></div>
<div dir="auto">Kind regards,<br></div>
<div dir="auto">Viktor</div>