[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:
Lang Hames 2015-06-27 03:49:25 +00:00
parent 9160c024b9
commit dee1d964f2
3 changed files with 1 additions and 52 deletions

Binary file not shown.

View File

@ -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

View File

@ -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