This is an archive of the discontinued LLVM Phabricator instance.

[DOC] Asserts are only enabled in Debug build, update the doc accordingly
ClosedPublic

Authored by mehdi_amini on Feb 2 2015, 2:14 PM.

Details

Summary

The CMake configuration is explicitely looking for Debug build, all the
other variant disable assertions.

Diff Detail

Event Timeline

mehdi_amini updated this revision to Diff 19189.Feb 2 2015, 2:14 PM
mehdi_amini retitled this revision from to [DOC] Asserts are only enabled in Debug build, update the doc accordingly.
mehdi_amini updated this object.
mehdi_amini added a subscriber: Unknown Object (MLST).

If anyone think that assertions should be enabled by default for Release, RelWithDebInfo or MinSizeRel, please speak up before I update the doc :)

mehdi_amini accepted this revision.Feb 19 2015, 9:59 PM
mehdi_amini added a reviewer: mehdi_amini.
This revision is now accepted and ready to land.Feb 19 2015, 9:59 PM
mehdi_amini closed this revision.Feb 19 2015, 9:59 PM