This is an archive of the discontinued LLVM Phabricator instance.

Allow building for release with EXPENSIVE_CHECKS
ClosedPublic

Authored by tmatheson on Jun 18 2021, 3:03 AM.

Details

Summary

D97225 moved LazyCallGraph verify() calls behind EXPENSIVE_CHECKS,
but verity() is defined for debug builds only so this had the unintended
effect of breaking release builds with EXPENSIVE_CHECKS.

Fix by enabling verify() for both debug and EXPENSIVE_CHECKS.

Diff Detail

Event Timeline

tmatheson created this revision.Jun 18 2021, 3:03 AM
tmatheson requested review of this revision.Jun 18 2021, 3:03 AM
Herald added a project: Restricted Project. · View Herald TranscriptJun 18 2021, 3:03 AM
thakis accepted this revision.Jun 18 2021, 6:58 AM
This revision is now accepted and ready to land.Jun 18 2021, 6:58 AM
This revision was automatically updated to reflect the committed changes.