llvm.org GIT mirror llvm / stable test / tools / llvm-xray / X86 / convert-basic-arg1-to-yaml.txt
stable

Tree @stable (Download .tar.gz)

convert-basic-arg1-to-yaml.txt @stableraw · history · blame

; 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, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 1, function: '1', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288334784, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', args: [ 1 ], cpu: 17, thread: 8715, kind: function-enter-arg, tsc: 22555670288335768, data: '' }
; CHECK-NEXT:   - { type: 0, func-id: 2, function: '2', cpu: 17, thread: 8715, kind: function-exit, tsc: 22555670288365224, data: '' }
; CHECK-NEXT: ...