[llvm-readelf] - Report a warning when .hash section contains a chain with a cycle.
[llvm-complete.git] / test / tools / llvm-xray / X86 / extract-instrmap-symbolize.ll
blob86358ca5c13f08ec68df4481d36570a9e10f551f
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
5 ; CHECK:      ---
6 ; CHECK-NEXT: - { id: 1, address: 0x000000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true, function-name: {{.*foo.*}} }
7 ; CHECK-NEXT: - { id: 1, address: 0x000000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true, function-name: {{.*foo.*}}  }
8 ; CHECK-NEXT: - { id: 2, address: 0x000000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true, function-name: {{.*bar.*}}  }
9 ; CHECK-NEXT: - { id: 2, address: 0x000000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true, function-name: {{.*bar.*}}  }
10 ; CHECK-NEXT: ...