brintos

brintos / llvm-project-archived public Read only

0
0
Text · 866 B · d31097f Raw
42 lines · plain
1; RUN: rm -rf %t2; RUN: split-file %s %t3; RUN: mkdir -p %t4; RUN: yaml2obj %S/Inputs/macho.yaml -o %t/macho.dylib5; RUN: not llvm-readtapi --compare %t/macho.tbd %t/macho.dylib 2>&1 | FileCheck %s6 7; CHECK:      macho.tbd8; CHECK-NEXT: macho.dylib9; CHECK:      Current Version10; CHECK-NEXT: 	< 1.211; CHECK-NEXT: 	> 112; CHECK-NEXT: Compatibility Version13; CHECK-NEXT: 	< 3.114; CHECK-NEXT: 	> 115 16;--- macho.tbd17{18  "main_library": {19    "flags": [20      {21        "attributes": [22          "not_app_extension_safe"23        ]24      }25    ],26    "current_versions":[{"version": "1.2"}],27    "compatibility_versions":[{ "version": "3.1"}],28    "install_names": [29      {30        "name": "macho-no-exports.dylib"31      }32    ],33    "target_info": [34      {35        "min_deployment": "10.10",36        "target": "x86_64-macos"37      }38    ]39  },40  "tapi_tbd_version": 541}42