brintos

brintos / llvm-project-archived public Read only

0
0
Text · 601 B · ed49f12 Raw
17 lines · plain
1# RUN: not llvm-ifs --input-format=ELF --output-ifs=%t %s 2>&1 | FileCheck %s2 3--- !ifs-v14SoName: somelib.so5IfsVersion: 3.06Target: { ObjectFormat: ELF, Arch: AArch64, 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, Undefined: true, Size: 128 }12  - { Name: nor, Type: Func, Undefined: true }13...14 15# CHECK: The file was not recognized as a valid object file16# CHECK: No file readers succeeded reading `{{.*}}read-ifs-as-elf.test` (unsupported/malformed file?)17