1 # RUN: llvm-ifs --output-ifs=- %s | FileCheck %s
6 Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 64 }
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 }
16 # CHECK-NEXT: IfsVersion: {{[1-9]\d*\.(0|([1-9]\d*))}}
17 # CHECK-NEXT: SoName: somelib.so
18 # CHECK-NEXT: Target: { ObjectFormat: ELF, Arch: x86_64, Endianness: little, BitWidth: 64 }
19 # CHECK-NEXT: Symbols:
20 # CHECK-NEXT: - { Name: bar, Type: Object, Size: 42 }
21 # CHECK-NEXT: - { Name: baz, Type: Object, Size: 8 }
22 # CHECK-NEXT: - { Name: foo, Type: Func }
23 # CHECK-NEXT: - { Name: nor, Type: Func, Undefined: true }
24 # CHECK-NEXT: - { Name: not, Type: Object, Size: 128, Undefined: true }