• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | llvm-readobj --macho-version-min | FileCheck %s
2
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,1
6
7// CHECK: File: <stdin>
8// CHECK: Format: Mach-O 64-bit x86-64
9// CHECK: Arch: x86_64
10// CHECK: AddressSize: 64bit
11// CHECK: MinVersion {
12// CHECK:   Cmd: LC_VERSION_MIN_MACOSX
13// CHECK:   Size: 16
14// CHECK:   Version: 25.3.1
15// CHECK:   SDK: n/a
16// CHECK: }
17