• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; This tests that we can extract the instrumentation map and symbolize the
2; function addresses.
3; RUN: llvm-xray extract %S/Inputs/elf64-example.bin -s | FileCheck %s
4
5; CHECK:      ---
6; CHECK-NEXT: - { id: 1, address: 0x41C900, function: 0x41C900, kind: function-enter, always-instrument: true, function-name: {{.*foo.*}} }
7; CHECK-NEXT: - { id: 1, address: 0x41C912, function: 0x41C900, kind: function-exit, always-instrument: true, function-name: {{.*foo.*}}  }
8; CHECK-NEXT: - { id: 2, address: 0x41C930, function: 0x41C930, kind: function-enter, always-instrument: true, function-name: {{.*bar.*}}  }
9; CHECK-NEXT: - { id: 2, address: 0x41C946, function: 0x41C930, kind: function-exit, always-instrument: true, function-name: {{.*bar.*}}  }
10; CHECK-NEXT: ...
11