1*31c2cf11SZain JaffalRUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=source %p/Inputs/remark-count-by.yaml | FileCheck %s 2*31c2cf11SZain JaffalRUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=function %p/Inputs/remark-count-by.yaml | FileCheck %s --check-prefix=CHECKFUNC 3*31c2cf11SZain JaffalRUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=function-with-loc %p/Inputs/remark-count-by.yaml | FileCheck %s --check-prefix=CHECKFUNCLOC 4*31c2cf11SZain JaffalRUN: llvm-remarkutil count --parser=yaml --count-by=arg --group-by=total %p/Inputs/remark-count-by.yaml | FileCheck %s --check-prefix=CHECKTOTAL 5*31c2cf11SZain Jaffal 6*31c2cf11SZain Jaffal; CHECK-LABEL: Source,count1,count2,count3,count4 7*31c2cf11SZain Jaffal; CHECK: path/to/anno.c,3,4,6,4 8*31c2cf11SZain Jaffal; CHECK: path/to/anno2.c,1,2,3,0 9*31c2cf11SZain Jaffal 10*31c2cf11SZain Jaffal; CHECKFUNC-LABEL: Function,count1,count2,count3,count4 11*31c2cf11SZain Jaffal; CHECKFUNC: func1,3,4,6,4 12*31c2cf11SZain Jaffal; CHECKFUNC: func2,1,2,3,0 13*31c2cf11SZain Jaffal 14*31c2cf11SZain Jaffal; CHECKFUNCLOC-LABEL: FuctionWithDebugLoc,count1,count2,count3,count4 15*31c2cf11SZain Jaffal; CHECKFUNCLOC: path/to/anno.c:func1,2,2,3,4 16*31c2cf11SZain Jaffal; CHECKFUNCLOC: path/to/anno.c:func2,1,2,3,0 17*31c2cf11SZain Jaffal; CHECKFUNCLOC: path/to/anno2.c:func1,1,2,3,0 18*31c2cf11SZain Jaffal 19*31c2cf11SZain Jaffal; CHECKTOTAL-LABEL: Total,count1,count2,count3,count4 20*31c2cf11SZain Jaffal; CHECKTOTAL: Total,4,6,9,4 21