Home | History | Annotate | Download | only in X86
      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: 0x000000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true{{.*}} }
      8 ; CHECK-NEXT: - { id: 1, address: 0x000000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true{{.*}} }
      9 ; CHECK-NEXT: - { id: 2, address: 0x000000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true{{.*}} }
     10 ; CHECK-NEXT: - { id: 2, address: 0x000000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true{{.*}} }
     11 ; CHECK-NEXT: ...
     12