[llvm-dev] How to Switch to Static Runtime and Enable C++ Exceptions?
Reid Kleckner via llvm-dev
llvm-dev at lists.llvm.org
Mon Oct 28 13:13:23 PDT 2019
On Mon, Oct 28, 2019 at 5:11 AM Alexandre Ganea via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> You can’t enable the static CRT through the command-line. You would need
> to apply this patch: https://reviews.llvm.org/D55056
> (although it doesn’t work with lldb)
Are you sure? I would expect `cmake -DLLVM_USE_CRT_RELEASE=MT` to use the
I think Zach is correct, Osman can use -DLLVM_ENABLE_EH=ON, and it will
You're still getting a warning from the benchmark library because
LLVM's cmake forcibly disables benchmark library exceptions here:
That's probably a bug, it should probably be dependent on LLVM_ENABLE_EH.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev