• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple armv7-apple-ios %s -filetype=obj -o - | llvm-readobj --macho-version-min | FileCheck %s
2
3// Test the formation of the version-min load command in the MachO.
4// use a nonsense but well formed version.
5.ios_version_min 99,8,7
6
7// CHECK: File: <stdin>
8// CHECK: Format: Mach-O arm
9// CHECK: Arch: arm
10// CHECK: AddressSize: 32bit
11// CHECK: MinVersion {
12// CHECK:   Cmd: LC_VERSION_MIN_IPHONEOS
13// CHECK:   Size: 16
14// CHECK:   Version: 99.8.7
15// CHECK:   SDK: n/a
16// CHECK: }
17