[all-commits] [llvm/llvm-project] 1bcfa8: Allow building for release with EXPENSIVE_CHECKS

tmatheson-arm via All-commits all-commits at lists.llvm.org
Sat Jun 19 09:02:51 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1bcfa84ae908ddcf042163345ffee2d247669e60
      https://github.com/llvm/llvm-project/commit/1bcfa84ae908ddcf042163345ffee2d247669e60
  Author: Tomas Matheson <tomas.matheson at arm.com>
  Date:   2021-06-19 (Sat, 19 Jun 2021)

  Changed paths:
    M llvm/include/llvm/Analysis/LazyCallGraph.h
    M llvm/lib/Analysis/LazyCallGraph.cpp

  Log Message:
  -----------
  Allow building for release with EXPENSIVE_CHECKS

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.

Differential Revision: https://reviews.llvm.org/D104514




More information about the All-commits mailing list