[all-commits] [llvm/llvm-project] 7cc80e: Add an option to print out annotation remark count.

Zain Jaffal via All-commits all-commits at lists.llvm.org
Fri Apr 7 15:33:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cc80ef5fa359b68ee85033f98b1bef1f37fb21c
      https://github.com/llvm/llvm-project/commit/7cc80ef5fa359b68ee85033f98b1bef1f37fb21c
  Author: Zain Jaffal <z_jaffal at apple.com>
  Date:   2023-04-07 (Fri, 07 Apr 2023)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-remarkutil.rst
    A llvm/test/tools/llvm-remarkutil/Inputs/annotation-count.bitstream
    A llvm/test/tools/llvm-remarkutil/Inputs/annotation-count.yaml
    A llvm/test/tools/llvm-remarkutil/annotation-count.test
    M llvm/test/tools/llvm-remarkutil/broken-bitstream-remark.test
    M llvm/test/tools/llvm-remarkutil/broken-yaml-remark.test
    M llvm/test/tools/llvm-remarkutil/empty-file.test
    A llvm/test/tools/llvm-remarkutil/no-annotation-count.test
    M llvm/tools/llvm-remarkutil/RemarkUtil.cpp

  Log Message:
  -----------
  Add an option to print out annotation remark count.

This adds a `annotation-count` option to llvm-remarkutil.

```
llvm-remarkutil annotation-count -remark=REMARK
```
This will print out the remark count for a pass that uses annotation remarks.

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




More information about the All-commits mailing list