mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-06 12:26:45 +00:00
d007524faa
Account for a potentially empty function name. Follow-up to D32153. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300631 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
760 B
LLVM
12 lines
760 B
LLVM
; This test makes sure we can extract the instrumentation map from an
|
|
; XRay-instrumented object file.
|
|
;
|
|
; RUN: llvm-xray extract %S/Inputs/elf64-example.bin | FileCheck %s
|
|
|
|
; CHECK: ---
|
|
; CHECK-NEXT: - { id: 1, address: 0x000000000041C900, function: 0x000000000041C900, kind: function-enter, always-instrument: true{{.*}} }
|
|
; CHECK-NEXT: - { id: 1, address: 0x000000000041C912, function: 0x000000000041C900, kind: function-exit, always-instrument: true{{.*}} }
|
|
; CHECK-NEXT: - { id: 2, address: 0x000000000041C930, function: 0x000000000041C930, kind: function-enter, always-instrument: true{{.*}} }
|
|
; CHECK-NEXT: - { id: 2, address: 0x000000000041C946, function: 0x000000000041C930, kind: function-exit, always-instrument: true{{.*}} }
|
|
; CHECK-NEXT: ...
|