[all-commits] [llvm/llvm-project] 28012e: [NewPM] Introduce PreserveCFG check

Yevgeny Rouban via All-commits all-commits at lists.llvm.org
Fri Sep 11 00:33:10 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 28012e00d80b994ef0709377da15e2b25e6c0b72
      https://github.com/llvm/llvm-project/commit/28012e00d80b994ef0709377da15e2b25e6c0b72
  Author: Yevgeny Rouban <yrouban at azul.com>
  Date:   2020-09-11 (Fri, 11 Sep 2020)

  Changed paths:
    M llvm/include/llvm/Passes/StandardInstrumentations.h
    M llvm/lib/Passes/StandardInstrumentations.cpp

  Log Message:
  -----------
  [NewPM] Introduce PreserveCFG check

Check that all passes, which report they preserve CFG,
are really preserving CFG.
A new standard instrumentation is introduced. It can be
switched on/off by the flag verify-cfg-preserved, which
is on by default for debug builds.

Reviewers: kuhar, fedor.sergeev

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




More information about the All-commits mailing list