[clangd] Re-land "support outgoing calls in call hierarchy" (#117673)
[llvm-project.git] / llvm / test / tools / llvm-remarkutil / size-diff / add-remove-func.test
blob04074a516a901efa34e6993e6466b4a16df7755d
1 RUN: llvm-remarkutil size-diff %p/Inputs/1-func-1-instr-1-stack.yaml %p/Inputs/2-identical-func-1-instr-1-stack.yaml --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=ADD
2 RUN: llvm-remarkutil size-diff %p/Inputs/2-identical-func-1-instr-1-stack.yaml %p/Inputs/1-func-1-instr-1-stack.yaml  --parser=yaml | FileCheck -strict-whitespace %s --check-prefix=REMOVE
4 ; The "two-identical-one-instr-funcs" file contains a single-instruction
5 ; function which does not appear in the other file.
7 ; ADD: ++ > func1, 1 instrs, 1 stack B
8 ; ADD-DAG: instruction count: 1 (100.00%)
9 ; ADD-DAG: stack byte usage: 1 (100.00%)
11 ; REMOVE: -- < func1, -1 instrs, -1 stack B
12 ; REMOVE-DAG: instruction count: -1 (-50.00%)
13 ; REMOVE-DAG: stack byte usage: -1 (-50.00%)