[llvm-remarkutil] Add an option to display DebugLoc when collecting counts for remarks.
authorZain Jaffal <z_jaffal@apple.com>
Tue, 18 Apr 2023 12:48:41 +0000 (13:48 +0100)
committerZain Jaffal <z_jaffal@apple.com>
Tue, 18 Apr 2023 12:48:42 +0000 (13:48 +0100)
commitbdb173d0dde81b60401e729433512aa76cd531d6
tree23064bef0b6a65d6e708d5cda1782c6fd2befd1e
parent4d5456543628932794b872f00672b821b7bfbe56
[llvm-remarkutil] Add an option to display DebugLoc when collecting counts for remarks.

Reviewed By: paquette

Differential Revision: https://reviews.llvm.org/D148374
llvm/docs/CommandGuide/llvm-remarkutil.rst
llvm/test/tools/llvm-remarkutil/Inputs/annotation-count-with-dbg-loc.yaml [new file with mode: 0644]
llvm/test/tools/llvm-remarkutil/Inputs/instruction-count-with-dbg-loc.yaml [new file with mode: 0644]
llvm/test/tools/llvm-remarkutil/annotation-count-with-dbg-loc.test [new file with mode: 0644]
llvm/test/tools/llvm-remarkutil/instruction-count-with-dbg-loc.test [new file with mode: 0644]
llvm/test/tools/llvm-remarkutil/no-debug-log.test [new file with mode: 0644]
llvm/tools/llvm-remarkutil/RemarkUtil.cpp