1## This test verifies that llvm-objcopy correctly handles min os version load commands. 2## We use separate input files since one binary is not allowed to contain more than one 3## load command of this type (LC_VERSION_MIN_IPHONEOS, LC_VERSION_MIN_MACOSX, 4## LC_VERSION_MIN_TVOS, LC_VERSION_MIN_WATCHOS). 5 6# RUN: yaml2obj %p/Inputs/min_iphoneos_version_lc.yaml -o %t.iphoneos 7# RUN: llvm-objcopy %t.iphoneos %t.iphoneos.copy 8# RUN: cmp %t.iphoneos %t.iphoneos.copy 9 10# RUN: yaml2obj %p/Inputs/min_macos_version_lc.yaml -o %t.macos 11# RUN: llvm-objcopy %t.macos %t.macos.copy 12# RUN: cmp %t.macos %t.macos.copy 13 14# RUN: yaml2obj %p/Inputs/min_tvos_version_lc.yaml -o %t.tvos 15# RUN: llvm-objcopy %t.tvos %t.tvos.copy 16# RUN: cmp %t.tvos %t.tvos.copy 17 18# RUN: yaml2obj %p/Inputs/min_watchos_version_lc.yaml -o %t.watchos 19# RUN: llvm-objcopy %t.watchos %t.watchos.copy 20# RUN: cmp %t.watchos %t.watchos.copy 21