Files
clang-p2996/llvm/test/tools/llvm-remarkutil/size-diff/json-no-difference.test
Zain Jaffal 24f320e48c [RemarkUtil] Refactor llvm-remarkutil to include size-diff
This change follows from https://reviews.llvm.org/D156416 We include
`llvm-remark-size-diff` as a part of `llvm-remarkutil` under a
subcommand `size-diff`.

Differential Revision: https://reviews.llvm.org/D156515
2023-08-02 10:33:18 +01:00

19 lines
554 B
Plaintext

RUN: llvm-remarkutil size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr-1-stack.yaml --parser=yaml --report_style=json --pretty | FileCheck -strict-whitespace %s
; CHECK-LABEL: "Files":
; CHECK: "A":{{.*}}1-func-1-instr-1-stack.yaml
; CHECK-NEXT: "B":{{.*}}1-func-1-instr-1-stack.yaml
; CHECK-LABEL: "InBoth":
; CHECK: "FunctionName": "func0",
; CHECK-NEXT: "InstCount":
; CHECK-NEXT: 1,
; CHECK-NEXT: 1
; CHECK-NEXT: ],
; CHECK-NEXT: "StackSize": [
; CHECK-NEXT: 1,
; CHECK-NEXT: 1
; CHECK: "OnlyInA": []
; CHECK: "OnlyInB": []