Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Dec 2018 21:14:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 233831] devel/llvm60: crash when parsing files through kdevelop
Message-ID:  <bug-233831-7788-lZljd8bXRl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233831-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233831-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233831

--- Comment #5 from Dimitry Andric <dim@FreeBSD.org> ---
(In reply to Greg V from comment #4)
> We actually shouldn't have assertions enabled. Many dev tools (cquery/ccl=
s,
> 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 m=
aybe
turning assertions off is a good default choice.  We also do this in the ba=
se
system's copy of LLVM, at least for releases (and IIRC also stable branches=
).

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233831-7788-lZljd8bXRl>