1 RUN: llvm-readobj -stackmap %p/Inputs/stackmap-test.macho-x86-64 | FileCheck %s 2 3 CHECK: LLVM StackMap Version: 1 4 CHECK-NEXT: Num Functions: 1 5 CHECK-NEXT: Function address: 0, stack size: 16 6 CHECK-NEXT: Num Constants: 1 7 CHECK-NEXT: #1: 10000000000 8 CHECK-NEXT: Num Records: 1 9 CHECK-NEXT: Record ID: 2, instruction offset: 1 10 CHECK-NEXT: 5 locations: 11 CHECK-NEXT: #1: Register R#5 12 CHECK-NEXT: #2: Constant 10 13 CHECK-NEXT: #3: ConstantIndex #0 (10000000000) 14 CHECK-NEXT: #4: Direct R#4 + -8 15 CHECK-NEXT: #5: Indirect [R#6 + -16] 16 CHECK-NEXT: 1 live-outs: [ R#7 (8-bytes) ] 17