blob: 71710fb6194db4a30ecf644e079ce869b09c7e0f [file] [log] [blame]
Lang Hames02f32d92015-06-27 03:49:25 +00001RUN: llvm-readobj -stackmap %p/Inputs/stackmap-test.macho-x86-64 | FileCheck %s
Lang Hames0000afd2015-06-26 23:56:53 +00002
3CHECK: LLVM StackMap Version: 1
4CHECK-NEXT: Num Functions: 1
5CHECK-NEXT: Function address: 0, stack size: 16
6CHECK-NEXT: Num Constants: 1
7CHECK-NEXT: #1: 10000000000
8CHECK-NEXT: Num Records: 1
9CHECK-NEXT: Record ID: 2, instruction offset: 1
10CHECK-NEXT: 5 locations:
11CHECK-NEXT: #1: Register R#5
12CHECK-NEXT: #2: Constant 10
13CHECK-NEXT: #3: ConstantIndex #0 (10000000000)
14CHECK-NEXT: #4: Direct R#4 + -8
15CHECK-NEXT: #5: Indirect [R#6 + -16]
16CHECK-NEXT: 1 live-outs: [ R#7 (8-bytes) ]