llvm-mirror/test/MC/MachO/ARM/build-version.s
Matthias Braun 87ba6fde9a MC: Add support for mach-o build_version
LC_BUILD_VERSION is a new load command superseding the previously used
LC_XXX_MIN_VERSION commands. This adds an assembler directive along with
encoding/streaming support.

llvm-svn: 320661
2017-12-14 00:12:46 +00:00

20 lines
448 B
ArmAsm

// RUN: llvm-mc -triple x86_64-apple-macos %s | FileCheck %s
.build_version macos,1,2
// CHECK: .build_version macos, 1, 2
.build_version macos,1,2,0
// CHECK: .build_version macos, 1, 2
.build_version macos,3,4,5
// CHECK: .build_version macos, 3, 4, 5
.build_version ios,6,7
// CHECK: .build_version ios, 6, 7
.build_version tvos,8,9
// CHECK: .build_version tvos, 8, 9
.build_version watchos,10,11
// CHECK: .build_version watchos, 10, 11