mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-26 07:29:55 +00:00
Allow object files to be tagged with a version-min load command for iOS or MacOSX. Teach macho-dump to understand the version-min load commands for testcases. rdar://11337778 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204190 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
359 B
ArmAsm
11 lines
359 B
ArmAsm
// RUN: llvm-mc -triple x86_64-apple-darwin %s -filetype=obj -o - | macho-dump | FileCheck %s
|
|
|
|
// Test the formation of the version-min load command in the MachO.
|
|
// use a nonsense but well formed version.
|
|
.macosx_version_min 25,3,1
|
|
// CHECK: (('command', 36)
|
|
// CHECK: ('size', 16)
|
|
// CHECK: ('version, 1639169)
|
|
// CHECK: ('reserved, 0)
|
|
// CHECK: ),
|