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.
Paths
| Differential D147710
Add an option to print out annotation remark count. ClosedPublic Authored by zjaffal on Apr 6 2023, 7:13 AM.
Details Summary 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.
Diff Detail
Event Timeline
Comment Actions Thanks all for your comments I will update the patch accordingly
This revision is now accepted and ready to land.Apr 7 2023, 2:36 PM Closed by commit rG7cc80ef5fa35: Add an option to print out annotation remark count. (authored by zjaffal). · Explain WhyApr 7 2023, 3:33 PM This revision was automatically updated to reflect the committed changes. zjaffal marked an inline comment as done. zjaffal added a reverting change: rG0f7fcb4c670f: Revert "Add an option to print out annotation remark count.".Apr 7 2023, 3:42 PM Comment Actions It seems like when this commit relanded there was a dangling reference left in the documentation (llvm-remarkutils.rst, with annotation-count_subcommand not pointing to anything. This was breaking my sphinx builds. I've committed b4ba5c7984d29841ac92ef54a6bac44fb1eeab9b to fix the dangling reference and fix the builds. Let me know if anything needs to be adjusted. Thanks.
Revision Contents
Diff 511813 llvm/docs/CommandGuide/llvm-remarkutil.rst
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/empty-file.test
llvm/test/tools/llvm-remarkutil/no-annotation-count.test
llvm/tools/llvm-remarkutil/RemarkUtil.cpp
|
Can you also add some documentation with a summary, like the other options have below?