18 lines
		
	
	
		
			518 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			518 B
		
	
	
	
		
			Plaintext
		
	
	
	
| ## Test reading TBE file with bad bit width.
 | |
| 
 | |
| # RUN: not llvm-ifs --output-ifs=- %s 2>&1 | FileCheck %s
 | |
| 
 | |
| --- !ifs-v1
 | |
| SoName: somelib.so
 | |
| IfsVersion: 3.0
 | |
| Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 65 }
 | |
| Symbols:
 | |
|   - { Name: foo, Type: Func }
 | |
|   - { Name: bar, Type: Object, Size: 42 }
 | |
|   - { Name: baz, Type: Object, Size: 8 }
 | |
|   - { Name: not, Type: Object, Size: 128, Undefined: true }
 | |
|   - { Name: nor, Type: Func, Undefined: true }
 | |
| ...
 | |
| 
 | |
| # CHECK:      YAML:8:74: error: Unsupported bit width
 |