Files
clang-p2996/llvm/test/MC/MachO/ARM/build-version-encode.s
Matthias Braun 0148c88c08 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

11 lines
300 B
ArmAsm

// RUN: llvm-mc %s -triple x86_64-apple-tvos -filetype=obj | llvm-readobj -macho-version-min | FileCheck %s
.build_version tvos,1,2,3
// CHECK: MinVersion {
// CHECK: Cmd: LC_BUILD_VERSION
// CHECK: Size: 24
// CHECK: Platform: tvos
// CHECK: Version: 1.2.3
// CHECK: SDK: n/a
// CHECK: }