2 ; RUN: split-file %s %t
3 ; RUN: not llvm-readtapi --compare %t/missing_rpath.tbd %t/rpaths.tbd 2>&1 | FileCheck %s
5 ; CHECK: < {{.*}}missing_rpath.tbd
6 ; CHECK: > {{.*}}rpaths.tbd
8 ; CHECK: Run Path Search Paths
9 ; CHECK-NEXT: x86_64-apple-macos13
10 ; CHECK-NEXT: > /usr/lib/swift
11 ; CHECK-NEXT: > @loader_path/../../../
12 ; CHECK-NEXT: arm64-apple-macos13
13 ; CHECK-NEXT: > /usr/lib/swift
14 ; CHECK-NEXT: > @loader_path/../../../
16 //--- missing_rpath.tbd
17 {"main_library":{"exported_symbols":[{"text":{"global":["_foo"]}}],"flags":[{"attributes":["not_app_extension_safe"]}],"install_names":[{"name":"@rpath/libFake.dylib"}],"target_info":[{"min_deployment":"13","target":"x86_64-macos"},{"min_deployment":"13","target":"arm64-macos"}]},"tapi_tbd_version":5}
20 {"main_library":{"exported_symbols":[{"text":{"global":["_foo"]}}],"rpaths": [{"paths": [ "@loader_path/../../../", "/usr/lib/swift"]}], "flags":[{"attributes":["not_app_extension_safe"]}],"install_names":[{"name":"@rpath/libFake.dylib"}],"target_info":[{"min_deployment":"13","target":"x86_64-macos"},{"min_deployment":"13","target":"arm64-macos"}]},"tapi_tbd_version":5}