| 1 |
; This test makes sure we can extract the instrumentation map from an |
| 2 |
; XRay-instrumented object file. |
| 3 |
; |
| 4 |
; RUN: llvm-xray extract %S/Inputs/elf64-example.bin | FileCheck %s |
| 5 |
|
| 6 |
; CHECK: --- |
| 7 |
; CHECK-NEXT: - { id: 1, address: 0x41C900, function: 0x41C900, kind: function-enter, always-instrument: true{{.*}} } |
| 8 |
; CHECK-NEXT: - { id: 1, address: 0x41C912, function: 0x41C900, kind: function-exit, always-instrument: true{{.*}} } |
| 9 |
; CHECK-NEXT: - { id: 2, address: 0x41C930, function: 0x41C930, kind: function-enter, always-instrument: true{{.*}} } |
| 10 |
; CHECK-NEXT: - { id: 2, address: 0x41C946, function: 0x41C930, kind: function-exit, always-instrument: true{{.*}} } |
| 11 |
; CHECK-NEXT: ... |