1 ; RUN: not llvm-readtapi --compare %S/Inputs/v4A.tbd %S/Inputs/v4D.tbd 2>&1 | FileCheck %s
3 ; CHECK:< {{.*}}/Inputs/v4A.tbd
4 ; CHECK:> {{.*}}/Inputs/v4D.tbd
6 ; CHECK:Compatibility Version
9 ; CHECK-NEXT:Two Level Namespace
12 ; CHECK-NEXT:Reexported Libraries
13 ; CHECK-NEXT: i386-apple-macos
14 ; CHECK-NEXT: > Alpine.framework/Alpine
15 ; CHECK-NEXT: > System.framework/System
16 ; CHECK-NEXT: x86_64-apple-ios-simulator
17 ; CHECK-NEXT: > Alpine.framework/Alpine
18 ; CHECK-NEXT: > System.framework/System
19 ; CHECK-NEXT:Allowable Clients
20 ; CHECK-NEXT: x86_64-apple-macos
21 ; CHECK-NEXT: < ClientA
22 ; CHECK-NEXT: x86_64-apple-ios
23 ; CHECK-NEXT: < ClientA
24 ; CHECK-NEXT:Parent Umbrellas
25 ; CHECK-NEXT: x86_64-apple-macos
26 ; CHECK-NEXT: < System
27 ; CHECK-NEXT: x86_64-apple-ios
28 ; CHECK-NEXT: < System
29 ; CHECK-NEXT: x86_64-apple-ios-simulator
30 ; CHECK-NEXT: > System
32 ; CHECK-NEXT: i386-apple-macos
33 ; CHECK-NEXT: < _symC - Reexported
34 ; CHECK-NEXT: < _symD - Undefined
35 ; CHECK-NEXT: > .objc_class_name_Class1
36 ; CHECK-NEXT: > _symC - Weak-Defined
37 ; CHECK-NEXT: x86_64-apple-macos
38 ; CHECK-NEXT: < _symAB
39 ; CHECK-NEXT: x86_64-apple-ios
41 ; CHECK-NEXT: < _symAB
42 ; CHECK-NEXT: x86_64-apple-ios-simulator
44 ; CHECK-NEXT:Inlined Reexported Frameworks/Libraries
45 ; CHECK-NEXT: Alpine.framework/Alpine
46 ; CHECK-NEXT: Current Version
48 ; CHECK-NEXT: Compatibility Version
50 ; CHECK-NEXT: Swift ABI Version
52 ; CHECK-NEXT: Two Level Namespace
54 ; CHECK-NEXT: Application Extension Safe
56 ; CHECK-NEXT: Allowable Clients
57 ; CHECK-NEXT: i386-apple-macos
58 ; CHECK-NEXT: > ClientD
59 ; CHECK-NEXT: Parent Umbrellas
60 ; CHECK-NEXT: i386-apple-macos
61 ; CHECK-NEXT: > System
62 ; CHECK-NEXT: x86_64-apple-ios-simulator
63 ; CHECK-NEXT: > System
65 ; CHECK-NEXT: i386-apple-macos
67 ; CHECK-NEXT: > .objc_class_name_Class1
68 ; CHECK-NEXT: > _symC - Weak-Defined
69 ; CHECK-NEXT: x86_64-apple-ios-simulator
71 ; CHECK-NEXT: System.framework/System
72 ; CHECK-NEXT: Current Version
74 ; CHECK-NEXT: Compatibility Version
76 ; CHECK-NEXT: Swift ABI Version
78 ; CHECK-NEXT: Two Level Namespace
80 ; CHECK-NEXT: Application Extension Safe
82 ; CHECK-NEXT: Allowable Clients
83 ; CHECK-NEXT: i386-apple-macos
84 ; CHECK-NEXT: > ClientA
85 ; CHECK-NEXT: x86_64-apple-ios
86 ; CHECK-NEXT: > ClientA
87 ; CHECK-NEXT: Parent Umbrellas
88 ; CHECK-NEXT: i386-apple-macos
89 ; CHECK-NEXT: > System
90 ; CHECK-NEXT: x86_64-apple-ios
91 ; CHECK-NEXT: > System
93 ; CHECK-NEXT: i386-apple-macos
95 ; CHECK-NEXT: > _symC - Reexported
96 ; CHECK-NEXT: > _symD - Undefined
97 ; CHECK-NEXT: x86_64-apple-ios
99 ; CHECK-NEXT: > _symAB
102 ; CHECK-NOT: warning: