mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-19 00:14:20 +00:00
[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
This commit is contained in:
parent
9160c024b9
commit
dee1d964f2
BIN
test/Object/Inputs/stackmap-test.macho-x86-64
Normal file
BIN
test/Object/Inputs/stackmap-test.macho-x86-64
Normal file
Binary file not shown.
@ -1,50 +0,0 @@
|
||||
.section __TEXT,__text,regular,pure_instructions
|
||||
.globl _trivial_patchpoint_codegen
|
||||
.align 4, 0x90
|
||||
_trivial_patchpoint_codegen: ## @trivial_patchpoint_codegen
|
||||
.fill 1
|
||||
Ltmp3:
|
||||
|
||||
.section __LLVM_STACKMAPS,__llvm_stackmaps
|
||||
__LLVM_StackMaps:
|
||||
.byte 1
|
||||
.byte 0
|
||||
.short 0
|
||||
.long 1
|
||||
.long 1
|
||||
.long 1
|
||||
.quad _trivial_patchpoint_codegen
|
||||
.quad 16
|
||||
.quad 10000000000
|
||||
.quad 2
|
||||
.long Ltmp3-_trivial_patchpoint_codegen
|
||||
.short 0
|
||||
.short 5
|
||||
.byte 1
|
||||
.byte 8
|
||||
.short 5
|
||||
.long 0
|
||||
.byte 4
|
||||
.byte 8
|
||||
.short 0
|
||||
.long 10
|
||||
.byte 5
|
||||
.byte 8
|
||||
.short 0
|
||||
.long 0
|
||||
.byte 2
|
||||
.byte 8
|
||||
.short 4
|
||||
.long -8
|
||||
.byte 3
|
||||
.byte 8
|
||||
.short 6
|
||||
.long -16
|
||||
.short 0
|
||||
.short 1
|
||||
.short 7
|
||||
.byte 0
|
||||
.byte 8
|
||||
.align 3
|
||||
|
||||
.subsections_via_symbols
|
@ -1,5 +1,4 @@
|
||||
RUN: llvm-mc -triple x86_64-apple-darwin -filetype=obj -o %t %p/Inputs/stackmap.s && \
|
||||
RUN: llvm-readobj -stackmap %t | FileCheck %s
|
||||
RUN: llvm-readobj -stackmap %p/Inputs/stackmap-test.macho-x86-64 | FileCheck %s
|
||||
|
||||
CHECK: LLVM StackMap Version: 1
|
||||
CHECK-NEXT: Num Functions: 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user