mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	This is a small compatibility improvement with gnu nm and makes llvm-nm more useful as a testing tool. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185546 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			18 lines
		
	
	
		
			514 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			514 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Test that llvm-nm returns an error because of the unknown file type, but
 | |
| keeps processing subsequent files.
 | |
| 
 | |
| Note: We use a temporary file since the tests don't run with pipefail.
 | |
| 
 | |
| RUN: touch %t
 | |
| RUN: not llvm-nm %p/Inputs/trivial-object-test.elf-i386 %t \
 | |
| RUN:             %p/Inputs/trivial-object-test.elf-i386 > %t.log
 | |
| RUN: FileCheck %s < %t.log
 | |
| 
 | |
| CHECK:          U SomeOtherFunction
 | |
| CHECK: 00000000 T main
 | |
| CHECK:          U puts
 | |
| 
 | |
| CHECK:          U SomeOtherFunction
 | |
| CHECK: 00000000 T main
 | |
| CHECK:          U puts
 |