2015-08-28 20:40:05 +08:00
|
|
|
// RUN: llvm-mc -triple armv7-apple-ios %s -filetype=obj -o - | llvm-readobj --macho-version-min | FileCheck %s
|
2014-03-19 06:09:05 +08:00
|
|
|
|
|
|
|
// Test the formation of the version-min load command in the MachO.
|
|
|
|
// use a nonsense but well formed version.
|
|
|
|
.ios_version_min 99,8,7
|
2015-08-28 20:40:05 +08:00
|
|
|
|
|
|
|
// CHECK: File: <stdin>
|
|
|
|
// CHECK: Format: Mach-O arm
|
|
|
|
// CHECK: Arch: arm
|
|
|
|
// CHECK: AddressSize: 32bit
|
|
|
|
// CHECK: MinVersion {
|
|
|
|
// CHECK: Cmd: LC_VERSION_MIN_IPHONEOS
|
|
|
|
// CHECK: Size: 16
|
|
|
|
// CHECK: Version: 99.8.7
|
|
|
|
// CHECK: SDK: n/a
|
|
|
|
// CHECK: }
|