mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	COFF object files with 0 as string table size are currently rejected. This prevents us from reading object files written by tools like cvtres that violate the PECOFF spec and write 0 instead of 4 for the size of an empty string table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202292 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			9 lines
		
	
	
		
			248 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			248 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Ensure that we can read COFF objects with a string table size of 0 (instead
 | |
| of 4) for empty string tables.
 | |
| 
 | |
| RUN: llvm-readobj -t %p/Inputs/zero-string-table.obj.coff-i386 | FileCheck %s
 | |
| 
 | |
| CHECK: Symbols [
 | |
| CHECK:   Symbol {
 | |
| CHECK:     Name: $R000000
 |