17 lines · plain
1// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --macho-version-min - | FileCheck %s2 3// Test the formation of the version-min load command in the MachO.4// use a nonsense but well formed version.5.macosx_version_min 25,3,16 7// CHECK: File: <stdin>8// CHECK: Format: Mach-O 64-bit x86-649// CHECK: Arch: x86_6410// CHECK: AddressSize: 64bit11// CHECK: MinVersion {12// CHECK: Cmd: LC_VERSION_MIN_MACOSX13// CHECK: Size: 1614// CHECK: Version: 25.3.115// CHECK: SDK: n/a16// CHECK: }17