[cfe-dev] Asserts in Clang crashes my Kdevelop
David Chisnall
David.Chisnall at cl.cam.ac.uk
Tue Jan 27 01:24:47 PST 2015
On 27 Jan 2015, at 03:35, Richard Smith <richard at metafoo.co.uk> wrote:
>
> Yes. Add -DLLVM_ENABLE_ASSERTIONS=OFF to your cmake invocation.
Although turning off assertions probably won't make it easier to debug. Generally hitting an assertion means that you've hit a code path with input that LLVM / Clang is not able to handle. If you proceed then you're likely to see a crash or weird behaviour somewhere else (often much later) that is caused by something near the assertion site.
David
More information about the cfe-dev
mailing list