| ## Test reading TBE file with bad endianness. |
| |
| # RUN: not llvm-ifs --output-format=IFS --output=- %s 2>&1 | FileCheck %s |
| |
| --- !ifs-v1 |
| SoName: somelib.so |
| IfsVersion: 3.0 |
| Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: lit, BitWidth: 64 } |
| 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:56: error: Unsupported endianness |