brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · d97db79 Raw
55 lines · plain
1; RUN: rm -rf %t2; RUN: split-file %s %t3// Check invalid tbd file contents was propagated as error.4; RUN: not llvm-readtapi -merge %t/libfoo.tbd %t/libbar.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix DIFF5// Check missing input.6; RUN: not llvm-readtapi -merge %t/libfoo.tbd 2>&1 | FileCheck %s --allow-empty --check-prefix INPUT7 8; DIFF: install names do not match9; INPUT: merge requires at least two input files10 11;--- libfoo.tbd12{13  "main_library": {14    "allowable_clients": [15      {16        "clients": [17          "ClientAll"18        ]19      }20    ],21    "install_names": [22      {23        "name": "/usr/lib/libfoo.dylib"24      }25    ],26    "target_info": [27      {28        "min_deployment": "13.1",29        "target": "x86_64-macos"30      }31    ]32  },33  "tapi_tbd_version": 534}35 36;--- libbar.tbd37--- !tapi-tbd38tbd-version:     439targets:         [ arm64-macos ]40install-name:    '/usr/lib/libbar.dylib'41allowable-clients:42  - targets:         [ arm64-macos ]43    clients:         [ ClientAll ]44reexported-libraries:45  - targets:         [ arm64-macos ]46    libraries:       [ '/usr/lib/liball.dylib' ]47exports:48  - targets:         [ arm64-macos ]49    symbols:         [ _sym1 ]50    objc-classes:    [ _A ]51    objc-ivars:      [ _A._ivar1 ]52    weak-symbols:    [ _weak1 ]53    thread-local-symbols: [ _tlv1 ]54...55