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: llvm-readtapi %t/macho.dylib -o %t/out.tbd 2>&1 | FileCheck %s --allow-empty 6; RUN: llvm-readtapi -compare %t/out.tbd %t/expected.tbd 2>&1 | FileCheck %s --allow-empty 7 8; CHECK-NOT: error 9; CHECK-NOT: warning 10 11;--- expected.tbd 12{ 13 "main_library": { 14 "flags": [ 15 { 16 "attributes": [ 17 "not_app_extension_safe" 18 ] 19 } 20 ], 21 "install_names": [ 22 { 23 "name": "macho-no-exports.dylib" 24 } 25 ], 26 "target_info": [ 27 { 28 "min_deployment": "10.10", 29 "target": "x86_64-macos" 30 } 31 ] 32 }, 33 "tapi_tbd_version": 5 34} 35