diff options
Diffstat (limited to 'llvm/test/MC/MachO/osx-version-min-load-command-with-sdk.s')
| -rw-r--r-- | llvm/test/MC/MachO/osx-version-min-load-command-with-sdk.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/llvm/test/MC/MachO/osx-version-min-load-command-with-sdk.s b/llvm/test/MC/MachO/osx-version-min-load-command-with-sdk.s new file mode 100644 index 00000000000..d2ad463d1d6 --- /dev/null +++ b/llvm/test/MC/MachO/osx-version-min-load-command-with-sdk.s @@ -0,0 +1,12 @@ +// RUN: llvm-mc -triple x86_64-apple-macos %s -filetype=obj -o - | llvm-readobj --macho-version-min | FileCheck %s + +// Test the formation of the sdk_version component of the version load +// command in the MachO. +.macosx_version_min 10,13,2 sdk_version 10,14 + +// CHECK: MinVersion { +// CHECK: Cmd: LC_VERSION_MIN_MACOSX +// CHECK: Size: 16 +// CHECK: Version: 10.13.2 +// CHECK: SDK: 10.14 +// CHECK: } |

