summaryrefslogtreecommitdiffstats
path: root/llvm/test/tools/llvm-ifs/conflict-size.ifs
blob: 173ce268c741c81e704f487d6377b5e482b4cd05 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# RUN: not llvm-ifs -action write-ifs -o - %s %S/object.ifs 2>&1 | \
# RUN: FileCheck %s --check-prefixes=CHECK-IFS

# Here we are testing to see if two symbols with identical names will fail to
# merge in conflict due to mismatching sizes.
# CHECK-IFS: error: Interface Stub: Size Mismatch for b.
# CHECK-IFS-NEXT: Filename:
# CHECK-IFS-NEXT: Size Values: 1 4

--- !experimental-ifs-v1
IfsVersion: 1.0
Triple: x86_64-unknown-linux-gnu
ObjectFileFormat: ELF
Symbols:
  b: { Type: Object, Size: 1 }
...
OpenPOWER on IntegriCloud