mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +00:00 
			
		
		
		
	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
		
			
				
	
	
		
			17 lines
		
	
	
		
			612 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			612 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
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) ]
 |