[all-commits] [llvm/llvm-project] 053dbb: Use `-cfg-func-name` value as filter for `-view-cf...

fodinabor via All-commits all-commits at lists.llvm.org
Wed Jun 16 14:51:54 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 053dbb939d4a4be5cc7e156441ecedef599a4a6f
      https://github.com/llvm/llvm-project/commit/053dbb939d4a4be5cc7e156441ecedef599a4a6f
  Author: Joachim Meyer <joachim at joameyer.de>
  Date:   2021-06-16 (Wed, 16 Jun 2021)

  Changed paths:
    M llvm/docs/Passes.rst
    M llvm/lib/Analysis/CFGPrinter.cpp
    A llvm/test/Other/cfg-printer-filter.ll

  Log Message:
  -----------
  Use `-cfg-func-name` value as filter for `-view-cfg`, etc.

Currently the value is only used when calling `F->viewCFG()` which is missing out on its potential and usefulness.
So I added the check to the printer passes as well.

Reviewed By: MaskRay

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




More information about the All-commits mailing list