summaryrefslogtreecommitdiffstats
path: root/llvm/test/Object/stackmap-dump.test
blob: 71710fb6194db4a30ecf644e079ce869b09c7e0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
RUN: llvm-readobj -stackmap %p/Inputs/stackmap-test.macho-x86-64 | FileCheck %s

CHECK:      LLVM StackMap Version: 1
CHECK-NEXT: Num Functions: 1
CHECK-NEXT:   Function address: 0, stack size: 16
CHECK-NEXT: Num Constants: 1
CHECK-NEXT:   #1: 10000000000
CHECK-NEXT: Num Records: 1
CHECK-NEXT:   Record ID: 2, instruction offset: 1
CHECK-NEXT:     5 locations:
CHECK-NEXT:       #1: Register R#5
CHECK-NEXT:       #2: Constant 10
CHECK-NEXT:       #3: ConstantIndex #0 (10000000000)
CHECK-NEXT:       #4: Direct R#4 + -8
CHECK-NEXT:       #5: Indirect [R#6 + -16]
CHECK-NEXT:     1 live-outs: [ R#7 (8-bytes) ]
OpenPOWER on IntegriCloud