[PATCH] D155068: [Remarks] Introduce `llvm-remark-diff` tool.
Zain Jaffal via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 12 04:07:49 PDT 2023
zjaffal created this revision.
zjaffal added reviewers: fhahn, thegameg, anemet, JDevlieghere, paquette.
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 tool is an extension to `llvm-remark-size-diff`. Offering a more
generic tool to diff remarks.
For each function name, source file path and line and column information
in two files, the tool will find the remarks that only in either of the
files exclusively or the remarks that differ in remark type or any of
the remarks arguments.
The tool displays the information as a json file with varying levels of
verbosity.
if `show-arg-diff-only` is passed the tool will only show remarks that exist in
both files where remark type are different.
if `show-remark-type-diff-only` is passed the tool will only show
remarks where the remark type is different.
if `only-show-common-remarks` is passed the tool will show only remarks
that have the same header in both files.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D155068
Files:
llvm/include/llvm/Remarks/Remark.h
llvm/test/CMakeLists.txt
llvm/test/lit.cfg.py
llvm/test/tools/llvm-remark-diff/Inputs/1-loc-2-args-2.yaml
llvm/test/tools/llvm-remark-diff/Inputs/1-loc-2-args.yaml
llvm/test/tools/llvm-remark-diff/Inputs/1-loc-4-args.yaml
llvm/test/tools/llvm-remark-diff/Inputs/1-loc-6-args.yaml
llvm/test/tools/llvm-remark-diff/Inputs/empty-file.yaml
llvm/test/tools/llvm-remark-diff/Inputs/multiple-copies-of-remark-at-loc.yaml
llvm/test/tools/llvm-remark-diff/Inputs/multiple-copies-of-remark-at-loc2.yaml
llvm/test/tools/llvm-remark-diff/Inputs/multiple-remarks-at-loc.yaml
llvm/test/tools/llvm-remark-diff/Inputs/multiple-remarks-at-loc2.yaml
llvm/test/tools/llvm-remark-diff/Inputs/multiple-remarks-at-loc3.yaml
llvm/test/tools/llvm-remark-diff/Inputs/remarks-missed.yaml
llvm/test/tools/llvm-remark-diff/Inputs/remarks-passed.yaml
llvm/test/tools/llvm-remark-diff/diff-at-1-loc.test
llvm/test/tools/llvm-remark-diff/diff-different-num-args.test
llvm/test/tools/llvm-remark-diff/diff-empty-file.test
llvm/test/tools/llvm-remark-diff/diff-only-common-remarks.test
llvm/test/tools/llvm-remark-diff/diff-remark-type.test
llvm/test/tools/llvm-remark-diff/diff-with-same-headers-only.test
llvm/test/tools/llvm-remark-diff/diff-wrong-input-file.test
llvm/test/tools/llvm-remark-diff/multiple-remarks-at-loc.test
llvm/test/tools/llvm-remark-diff/multiple-remarks-at-loc2.test
llvm/test/tools/llvm-remark-diff/no-diff.test
llvm/tools/llvm-remark-diff/CMakeLists.txt
llvm/tools/llvm-remark-diff/RemarkDiff.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155068.539489.patch
Type: text/x-patch
Size: 53336 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230712/7d9bc5c2/attachment.bin>
More information about the llvm-commits
mailing list