[llvm] r240875 - [Stackmap] Pre-assemble the stackmap parser test case. (Fix builders).
Lang Hames
lhames at gmail.com
Fri Jun 26 20:49:25 PDT 2015
Author: lhames
Date: Fri Jun 26 22:49:25 2015
New Revision: 240875
URL: http://llvm.org/viewvc/llvm-project?rev=240875&view=rev
Log:
[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.
Added:
llvm/trunk/test/Object/Inputs/stackmap-test.macho-x86-64 (with props)
Removed:
llvm/trunk/test/Object/Inputs/stackmap.s
Modified:
llvm/trunk/test/Object/stackmap-dump.test
Added: llvm/trunk/test/Object/Inputs/stackmap-test.macho-x86-64
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Inputs/stackmap-test.macho-x86-64?rev=240875&view=auto
==============================================================================
Binary file - no diff available.
Propchange: llvm/trunk/test/Object/Inputs/stackmap-test.macho-x86-64
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Removed: llvm/trunk/test/Object/Inputs/stackmap.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/Inputs/stackmap.s?rev=240874&view=auto
==============================================================================
--- llvm/trunk/test/Object/Inputs/stackmap.s (original)
+++ llvm/trunk/test/Object/Inputs/stackmap.s (removed)
@@ -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
Modified: llvm/trunk/test/Object/stackmap-dump.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/stackmap-dump.test?rev=240875&r1=240874&r2=240875&view=diff
==============================================================================
--- llvm/trunk/test/Object/stackmap-dump.test (original)
+++ llvm/trunk/test/Object/stackmap-dump.test Fri Jun 26 22:49:25 2015
@@ -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
More information about the llvm-commits
mailing list