2 ; RUN: split-file %s %t
3 ; RUN: llvm-readtapi -merge %t/i386.tbd %t/x86_64.tbd %t/arm64.tbd --filetype tbd-v5 -o %t/out.tbd -compact 2>&1 | FileCheck %s --allow-empty
4 ; RUN: llvm-readtapi -merge %t/i386.tbd %t/x86_64.tbd %t/arm64.tbd --filetype=tbd-v5 --o %t/out.tbd -compact 2>&1 | FileCheck %s --allow-empty
5 ; RUN: llvm-readtapi -compare %t/out.tbd %t/expected.tbd 2>&1 | FileCheck %s --allow-empty
13 "allowable_clients": [{ "clients": ["ClientAll"] }],
19 "thread_local": ["_tlv1"],
25 "objc_ivar": ["_A._ivar1"]
27 "targets": [ "x86_64-macos", "arm64-macos" ]
31 { "name": "/usr/lib/libfat.dylib" }
33 "reexported_libraries": [
35 "names": [ "/usr/lib/liball.dylib" ]
39 { "target": "i386-macos" },
41 "min_deployment": "13.1",
42 "target": "x86_64-macos"
45 "target": "arm64-macos"
57 install-name: /usr/lib/libfat.dylib
60 allowable-clients: [ ClientAll ]
61 re-exports: [ /usr/lib/liball.dylib ]
64 weak-def-symbols: [ _weak1 ]
65 thread-local-symbols: [ _tlv1 ]
71 "allowable_clients": [
101 "name": "/usr/lib/libfat.dylib"
104 "reexported_libraries": [
107 "/usr/lib/liball.dylib"
113 "min_deployment": "13.1",
114 "target": "x86_64-macos"
118 "tapi_tbd_version": 5
124 targets: [ arm64-macos ]
125 install-name: '/usr/lib/libfat.dylib'
127 - targets: [ arm64-macos ]
128 clients: [ ClientAll ]
129 reexported-libraries:
130 - targets: [ arm64-macos ]
131 libraries: [ '/usr/lib/liball.dylib' ]
133 - targets: [ arm64-macos ]
136 objc-ivars: [ _A._ivar1 ]
137 weak-symbols: [ _weak1 ]
138 thread-local-symbols: [ _tlv1 ]