10 lines · plain
1; This test makes sure we can extract the instrumentation map from an2; XRay-instrumented object file.3;4; RUN: llvm-xray extract %S/Inputs/instr-map-mach.o -s | FileCheck %s5 6; CHECK: ---7; CHECK-NEXT: - { id: 1, address: 0x0, function: 0x0, kind: function-enter, always-instrument: true, function-name: 'task(void*)' }8; CHECK-NEXT: - { id: 1, address: 0x162, function: 0x0, kind: function-exit, always-instrument: true, function-name: 'task(void*)' }9; CHECK-NEXT: ...10