[Bug 233831] devel/llvm60: crash when parsing files through kdevelop

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 7 21:14:31 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=233831

--- Comment #5 from Dimitry Andric <dim at FreeBSD.org> ---
(In reply to Greg V from comment #4)
> We actually shouldn't have assertions enabled. Many dev tools (cquery/ccls,
> even clangd) trip clang assertions way too often. Linux distros and macOS
> don't ship assertions enabled.

While that is true, I do know that many LLVM assertions are indications of
internal state going bad.  The builds with disabled assertions will then
possibly segfault instead, or produce corrupted output.

That said, most users will care more for performance than consistency, so maybe
turning assertions off is a good default choice.  We also do this in the base
system's copy of LLVM, at least for releases (and IIRC also stable branches).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list