blob: 8f5e6d7aad36d2e6288f744a9e10cf3ccb4769ec [file] [log] [blame]
## Test reading TBE file with bad bit width.
# 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: 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