diff options
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xray | bin | 0 -> 192 bytes | |||
| -rw-r--r-- | llvm/test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xray b/llvm/test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xray Binary files differnew file mode 100644 index 00000000000..02606590299 --- /dev/null +++ b/llvm/test/tools/llvm-xray/X86/Inputs/naive-with-arg1-entries.xray diff --git a/llvm/test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt b/llvm/test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt new file mode 100644 index 00000000000..88a9dc2e58c --- /dev/null +++ b/llvm/test/tools/llvm-xray/X86/convert-basic-arg1-to-yaml.txt @@ -0,0 +1,15 @@ +; RUN: llvm-xray convert %S/Inputs/naive-with-arg1-entries.xray -f=yaml -o - | FileCheck %s + +; CHECK: --- +; CHECK-NEXT: header: +; CHECK-NEXT: version: 2 +; CHECK-NEXT: type: 0 +; CHECK-NEXT: constant-tsc: true +; CHECK-NEXT: nonstop-tsc: true +; CHECK-NEXT: cycle-frequency: 3500000000 +; CHECK-NEXT: records: +; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-enter, tsc: 22555670288232728 } +; CHECK-NEXT: - { type: 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288334784 } +; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', args: [ 1 ], cpu: 17, thread: 8715, kind: function-enter-arg, tsc: 22555670288335768 } +; CHECK-NEXT: - { type: 0, func-id: 2, function: '2', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288365224 } +; CHECK-NEXT: ... |

