1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck --check-prefixes=CHECK-DEFAULT %s
2 # RUN: llvm-ifs --input-format=IFS --output-ifs - %S/weak.ifs %s | FileCheck --check-prefixes=CHECK-MERGE %s
4 # CHECK-DEFAULT: --- !ifs-v1
5 # CHECK-DEFAULT-NEXT: IfsVersion: 3.0
6 # CHECK-DEFAULT-NEXT: Symbols: []
7 # CHECK-DEFAULT-NEXT: ...
9 # CHECK-MERGE: --- !ifs-v1
10 # CHECK-MERGE-NEXT: IfsVersion: 3.0
11 # CHECK-MERGE-NEXT: Target: x86_64-unknown-linux-gnu
12 # CHECK-MERGE-NEXT: Symbols:
13 # CHECK-MERGE-DAG: - { Name: _Z8weakFuncv, Type: Func, Weak: true }
14 # CHECK-MERGE-DAG: - { Name: _Z10strongFuncv, Type: Func }