1RUN: llvm-remarkutil annotation-count --use-debug-loc --parser=yaml --annotation-type=remark %p/Inputs/annotation-count-with-dbg-loc.yaml | FileCheck %s 2RUN: llvm-remarkutil yaml2bitstream %p/Inputs/annotation-count-with-dbg-loc.yaml | llvm-remarkutil annotation-count --use-debug-loc --parser=bitstream --annotation-type=remark | FileCheck %s 3RUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=function-with-loc --remark-name="AnnotationSummary" %p/Inputs/annotation-count-with-dbg-loc.yaml | FileCheck %s --check-prefix=COUNT-CHECK 4RUN: llvm-remarkutil yaml2bitstream %p/Inputs/annotation-count-with-dbg-loc.yaml | llvm-remarkutil count --parser=bitstream --count-by=arg --group-by=function-with-loc --remark-name="AnnotationSummary" | FileCheck %s --check-prefix=COUNT-CHECK 5 6; CHECK-LABEL: Source,Function,Count 7; CHECK: path/to/anno.c:1:2,func1,1 8; CHECK: path/to/anno2.c:1:2,func2,2 9; CHECK: path/to/anno3.c:1:2,func3,3 10 11; COUNT-CHECK-LABEL: FuctionWithDebugLoc,count 12; COUNT-CHECK: path/to/anno.c:func1,1 13; COUNT-CHECK: path/to/anno2.c:func2,2 14; COUNT-CHECK: path/to/anno3.c:func3,3 15