llvm-for-llvmta/test/MC/MachO/build-version-with-sdk-vers...

14 lines
437 B
ArmAsm
Raw 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.
.build_version macos, 10,13,2 sdk_version 10,14,1
// CHECK: MinVersion {
// CHECK: Cmd: LC_BUILD_VERSION
// CHECK: Size: 24
// CHECK: Platform: macos
// CHECK: Version: 10.13.2
// CHECK: SDK: 10.14.1
// CHECK: }