[llvm-dev] LLVM 3.9 RC binaries should NOT disable assertions.

Dimitry Andric via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 16 01:03:49 PDT 2016


On 16 Aug 2016, at 00:33, Eric Fiselier via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> 
> > I would argue that you should build the RC and the release the same way.  I've had to fix bugs were someone had an assert with a side-effect, and the code with asserts turned off didn't work.
> 
> OK, so it's clearly important to provide and test against RC's in the actual release configuration, especially since assertions can introduce bugs on their own.
> Arguably however assertions catch more bugs that they cause and if an assertion is firing in a RC  that's a bug and we should want to know about it.
> 
> Simply providing both configurations is a good start but I think we want our releases to be assertion free and ensuring that should
> be part of the releases process.

FWIW, I always test rc1, rc2 and so on with assertions on.  Only for the "final" rc, I turn them off.

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20160816/a7f70bc2/attachment.sig>


More information about the llvm-dev mailing list