1; RUN: llc %s -filetype=obj -o - | llvm-objdump --macho --private-headers - | FileCheck %s 2; RUN: llc %s -filetype=asm -o - | FileCheck --check-prefix=ASM %s 3 4target triple = "x86_64-apple-macos10.13"; 5!llvm.module.flags = !{!0}; 6!0 = !{i32 2, !"SDK Version", [3 x i32] [ i32 10, i32 14, i32 2 ] }; 7 8define void @foo() { 9entry: 10 ret void 11} 12 13; CHECK: cmd LC_VERSION_MIN_MACOSX 14; CHECK-NEXT: cmdsize 16 15; CHECK-NEXT: version 10.13 16; CHECK-NEXT: sdk 10.14.2 17 18; ASM: .macosx_version_min 10, 13 sdk_version 10, 14, 2 19