21 lines · plain
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 one3## 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.iphoneos7# RUN: llvm-objcopy %t.iphoneos %t.iphoneos.copy8# RUN: cmp %t.iphoneos %t.iphoneos.copy9 10# RUN: yaml2obj %p/Inputs/min_macos_version_lc.yaml -o %t.macos11# RUN: llvm-objcopy %t.macos %t.macos.copy12# RUN: cmp %t.macos %t.macos.copy13 14# RUN: yaml2obj %p/Inputs/min_tvos_version_lc.yaml -o %t.tvos15# RUN: llvm-objcopy %t.tvos %t.tvos.copy16# RUN: cmp %t.tvos %t.tvos.copy17 18# RUN: yaml2obj %p/Inputs/min_watchos_version_lc.yaml -o %t.watchos19# RUN: llvm-objcopy %t.watchos %t.watchos.copy20# RUN: cmp %t.watchos %t.watchos.copy21