[PATCH] D147710: Add an option to print out annotation remark count.

Zain Jaffal via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 6 07:13:59 PDT 2023


zjaffal created this revision.
zjaffal added reviewers: thegameg, fhahn, paquette, jroelofs.
Herald added a subscriber: StephenFan.
Herald added a project: All.
zjaffal requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D147710

Files:
  llvm/docs/CommandGuide/llvm-remarkutil.rst
  llvm/test/tools/llvm-remarkutil/Inputs/annotation-count.bitstream
  llvm/test/tools/llvm-remarkutil/Inputs/annotation-count.yaml
  llvm/test/tools/llvm-remarkutil/annotation-count.test
  llvm/test/tools/llvm-remarkutil/broken-bitstream-remark.test
  llvm/test/tools/llvm-remarkutil/broken-yaml-remark.test
  llvm/test/tools/llvm-remarkutil/no-annotation-count.test
  llvm/tools/llvm-remarkutil/RemarkUtil.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D147710.511405.patch
Type: text/x-patch
Size: 9004 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230406/c1a91e0c/attachment.bin>


More information about the llvm-commits mailing list