llvm-for-llvmta/test/MC/MachO/osx-version-min-load-comman...

13 lines
408 B
ArmAsm
Raw Permalink Normal View History

2022-04-25 10:02:23 +02:00
// RUN: llvm-mc -triple x86_64-apple-macos %s -filetype=obj -o - | llvm-readobj --macho-version-min - | FileCheck %s
// Test the formation of the sdk_version component of the version load
// command in the MachO.
.macosx_version_min 10,13,2 sdk_version 10,14
// CHECK: MinVersion {
// CHECK: Cmd: LC_VERSION_MIN_MACOSX
// CHECK: Size: 16
// CHECK: Version: 10.13.2
// CHECK: SDK: 10.14
// CHECK: }