forked from OSchip/llvm-project
20 lines
622 B
Plaintext
20 lines
622 B
Plaintext
# RUN: llvm-ifs -action write-ifs -o - %s | FileCheck %s --check-prefixes=CHECK-IFS
|
|
|
|
# CHECK-IFS: --- !experimental-ifs-v2
|
|
# CHECK-IFS-NEXT: IfsVersion: 2.0
|
|
# CHECK-IFS-NEXT: Triple: x86_64-unknown-linux-gnu
|
|
# CHECK-IFS-NEXT: ObjectFileFormat: ELF
|
|
# CHECK-IFS-NEXT: Symbols:
|
|
# CHECK-IFS-DAG: - { Name: _Z8weakFuncv, Type: Func, Weak: true }
|
|
# CHECK-IFS-DAG: - { Name: _Z10strongFuncv, Type: Func }
|
|
# CHECK-IFS: ...
|
|
|
|
--- !experimental-ifs-v2
|
|
IfsVersion: 2.0
|
|
Triple: x86_64-unknown-linux-gnu
|
|
ObjectFileFormat: ELF
|
|
Symbols:
|
|
- { Name: _Z8weakFuncv, Type: Func, Weak: true }
|
|
- { Name: _Z10strongFuncv, Type: Func }
|
|
...
|