Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / llvm / test / tools / llvm-readtapi / compare-v5.test
blob6edeb4f27f174a8fa20ddcccd2f38b173919aa0f
1 ; RUN: rm -rf %t
2 ; RUN: split-file %s %t  
3 ; RUN: llvm-readtapi --compare %t/Simple_v5.tbd  %t/Simple_v5.tbd 2>&1 | FileCheck %s --allow-empty
4 ; RUN: llvm-readtapi --compare %t/Simple_v5.tbd  %t/Simple_v4.tbd 2>&1 | FileCheck %s --allow-empty
6 ; CHECK-NOT: error:
7 ; CHECK-NOT: warning:
9 //--- Simple_v4.tbd
10 --- !tapi-tbd
11 tbd-version:     4
12 targets:         [ x86_64-macos, arm64-macos ]
13 flags:           [ not_app_extension_safe ]
14 install-name:    '@rpath/libFake.dylib'
15 exports:
16   - targets:         [ x86_64-macos, arm64-macos ]
17     symbols:         [ _foo ]
18 ...
20 //--- Simple_v5.tbd
21 {"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}