forked from OSchip/llvm-project
				
			Update to not depend on "llvm-objdump -d -symbolize".
llvm-svn: 217047
This commit is contained in:
		
							parent
							
								
									7a9e2c6879
								
							
						
					
					
						commit
						f1d2fc657b
					
				| 
						 | 
					@ -1,11 +1,17 @@
 | 
				
			||||||
; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic
 | 
					; RUN: llc %s -o %t.o -filetype=obj -relocation-model=pic
 | 
				
			||||||
; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o
 | 
					; RUN: llvm-as %p/Inputs/pr19901-1.ll -o %t2.o
 | 
				
			||||||
; RUN: ld -shared -o %t.so -plugin %llvmshlibdir/LLVMgold.so %t2.o %t.o
 | 
					; RUN: ld -shared -o %t.so -plugin %llvmshlibdir/LLVMgold.so %t2.o %t.o
 | 
				
			||||||
; RUN: llvm-objdump -d -symbolize %t.so | FileCheck %s
 | 
					; RUN: llvm-readobj -t %t.so | FileCheck %s
 | 
				
			||||||
 | 
					
 | 
				
			||||||
; CHECK: g:
 | 
					; CHECK:       Symbol {
 | 
				
			||||||
; CHECK-NEXT: push
 | 
					; CHECK:         Name: f
 | 
				
			||||||
; CHECK-NEXT: callq f
 | 
					; CHECK-NEXT:    Value:
 | 
				
			||||||
 | 
					; CHECK-NEXT:    Size:
 | 
				
			||||||
 | 
					; CHECK-NEXT:    Binding: Local
 | 
				
			||||||
 | 
					; CHECK-NEXT:    Type: Function
 | 
				
			||||||
 | 
					; CHECK-NEXT:    Other: 2
 | 
				
			||||||
 | 
					; CHECK-NEXT:    Section: .text
 | 
				
			||||||
 | 
					; CHECK-NEXT:  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
target triple = "x86_64-unknown-linux-gnu"
 | 
					target triple = "x86_64-unknown-linux-gnu"
 | 
				
			||||||
define i32 @g() {
 | 
					define i32 @g() {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue