brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.1 KiB · 673a380 Raw
15 lines · plain
1RUN: llvm-remarkutil annotation-count --use-debug-loc --parser=yaml --annotation-type=remark %p/Inputs/annotation-count-with-dbg-loc.yaml | FileCheck %s2RUN: llvm-remarkutil yaml2bitstream %p/Inputs/annotation-count-with-dbg-loc.yaml | llvm-remarkutil annotation-count --use-debug-loc --parser=bitstream --annotation-type=remark | FileCheck %s3RUN: 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-CHECK4RUN: 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-CHECK5 6; CHECK-LABEL: Source,Function,Count7; CHECK: path/to/anno.c:1:2,func1,18; CHECK: path/to/anno2.c:1:2,func2,29; CHECK: path/to/anno3.c:1:2,func3,310 11; COUNT-CHECK-LABEL: FuctionWithDebugLoc,count12; COUNT-CHECK: path/to/anno.c:func1,113; COUNT-CHECK: path/to/anno2.c:func2,214; COUNT-CHECK: path/to/anno3.c:func3,315