llvm/test/tools/llvm-xray/X86/extract-instrmap-macho.ll
raw| 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/instr-map-mach.o -s | FileCheck %s |
| 5 | |
| 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: ... |