1 # RUN: llvm-ifs -action write-ifs -o - %s | FileCheck %s --check-prefixes=CHECK-IFS
3 # CHECK-IFS: --- !experimental-ifs-v1
4 # CHECK-IFS-NEXT: IfsVersion: 1.0
5 # CHECK-IFS-NEXT: Triple: x86_64-unknown-linux-gnu
6 # CHECK-IFS-NEXT: ObjectFileFormat: ELF
7 # CHECK-IFS-NEXT: Symbols:
8 # CHECK-IFS-DAG: _Z8weakFuncv: { Type: Func, Weak: true }
9 # CHECK-IFS-DAG: _Z10strongFuncv: { Type: Func }
12 --- !experimental-ifs-v1
14 Triple: x86_64-unknown-linux-gnu
17 _Z8weakFuncv: { Type: Func, Weak: true }
18 _Z10strongFuncv: { Type: Func }