xref: /llvm-project/llvm/test/tools/llvm-ifs/ifs-read-invalid-arch.test (revision 420526fb22f35df4750063ef4783b3774eaa371a)
1# RUN: not llvm-ifs --output-ifs=- %s 2>&1 | FileCheck %s
2
3--- !ifs-v1
4SoName: somelib.so
5IfsVersion: 3.0
6Target: { ObjectFormat: ELF, Arch: RiscV64, Endianness: little, BitWidth: 64 }
7Symbols:
8  - { Name: foo, Type: Func }
9  - { Name: bar, Type: Object, Size: 42 }
10  - { Name: baz, Type: Object, Size: 8 }
11  - { Name: not, Type: Object, Size: 128, Undefined: true }
12  - { Name: nor, Type: Func, Undefined: true }
13...
14
15# CHECK: error: IFS arch 'RiscV64' is unsupported
16