llvm.org GIT mirror llvm / dee1d96
[Stackmap] Pre-assemble the stackmap parser test case. (Fix builders). This case had been failing on testers that didn't have x86 support. Rather than XFAIL it on testers without x86 support, I've just assembled it and used the raw object as the test input. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240875 91177308-0d34-0410-b5e6-96231b3b80d8 Lang Hames 4 years ago
3 changed file(s) with 1 addition(s) and 52 deletion(s). Raw diff Collapse all Expand all
+0
-50
test/Object/Inputs/stackmap.s less more
None .section __TEXT,__text,regular,pure_instructions
1 .globl _trivial_patchpoint_codegen
2 .align 4, 0x90
3 _trivial_patchpoint_codegen: ## @trivial_patchpoint_codegen
4 .fill 1
5 Ltmp3:
6
7 .section __LLVM_STACKMAPS,__llvm_stackmaps
8 __LLVM_StackMaps:
9 .byte 1
10 .byte 0
11 .short 0
12 .long 1
13 .long 1
14 .long 1
15 .quad _trivial_patchpoint_codegen
16 .quad 16
17 .quad 10000000000
18 .quad 2
19 .long Ltmp3-_trivial_patchpoint_codegen
20 .short 0
21 .short 5
22 .byte 1
23 .byte 8
24 .short 5
25 .long 0
26 .byte 4
27 .byte 8
28 .short 0
29 .long 10
30 .byte 5
31 .byte 8
32 .short 0
33 .long 0
34 .byte 2
35 .byte 8
36 .short 4
37 .long -8
38 .byte 3
39 .byte 8
40 .short 6
41 .long -16
42 .short 0
43 .short 1
44 .short 7
45 .byte 0
46 .byte 8
47 .align 3
48
49 .subsections_via_symbols
None RUN: llvm-mc -triple x86_64-apple-darwin -filetype=obj -o %t %p/Inputs/stackmap.s && \
1 RUN: llvm-readobj -stackmap %t | FileCheck %s
0 RUN: llvm-readobj -stackmap %p/Inputs/stackmap-test.macho-x86-64 | FileCheck %s
21
32 CHECK: LLVM StackMap Version: 1
43 CHECK-NEXT: Num Functions: 1