[NFC][analyzer][docs] Crosslink MallocChecker's ownership attributes (#121939)
[llvm-project.git] / llvm / test / tools / llvm-readtapi / compare-tbd-dylib.test
blobd31097ff22898c73dadad63c019e7dc8d2d9a80f
1 ; RUN: rm -rf %t
2 ; RUN: split-file %s %t
3 ; RUN: mkdir -p %t
4 ; RUN: yaml2obj %S/Inputs/macho.yaml -o %t/macho.dylib
5 ; RUN: not llvm-readtapi --compare %t/macho.tbd %t/macho.dylib 2>&1 | FileCheck %s
7 ; CHECK:      macho.tbd
8 ; CHECK-NEXT: macho.dylib
9 ; CHECK:      Current Version
10 ; CHECK-NEXT:   < 1.2
11 ; CHECK-NEXT:   > 1
12 ; CHECK-NEXT: Compatibility Version
13 ; CHECK-NEXT:   < 3.1
14 ; CHECK-NEXT:   > 1
16 ;--- macho.tbd
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": 5