1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 13:02:52 +02:00
llvm-mirror/test/MC/MachO/ARM/tvos-version-min-load-command.s
Tim Northover 829dfee297 ARM: support .watchos_version_min and .tvos_version_min.
These MachO file directives are used by linkers and other tools to provide
compatibility information, much like the existing .ios_version_min and
.macosx_version_min.

llvm-svn: 251569
2015-10-28 22:36:05 +00:00

14 lines
419 B
ArmAsm

// RUN: llvm-mc -triple armv7-apple-tvos %s -filetype=obj -o - | llvm-readobj --macho-version-min | FileCheck %s
// Test the formation of the version-min load command in the MachO.
// use a nonsense but well formed version.
.tvos_version_min 99,8,7
// CHECK: MinVersion {
// CHECK-NEXT: Cmd: LC_VERSION_MIN_TVOS
// CHECK-NEXT: Size: 16
// CHECK-NEXT: Version: 99.8.7
// CHECK-NEXT: SDK: n/a
// CHECK-NEXT: }