Files
clang-p2996/llvm/test/MC/MachO/ARM/ios-version-min-load-command.s
Elvina Yakubova b36a3e6140 [llvm-readobj] Update tests because of changes in llvm-readobj behavior
This patch updates tests using llvm-readobj and llvm-readelf, because
soon reading from stdin will be achievable only via a '-' as described
here: https://bugs.llvm.org/show_bug.cgi?id=46400. Patch with changes to
llvm-readobj behavior is here: https://reviews.llvm.org/D83704

Differential Revision: https://reviews.llvm.org/D83912

Reviewed by: jhenderson, MaskRay, grimar
2020-07-20 10:39:04 +01:00

17 lines
499 B
ArmAsm

// RUN: llvm-mc -triple armv7-apple-ios %s -filetype=obj -o - | llvm-readobj --macho-version-min - | FileCheck %s
// Test the formation of the version-min load command in the MachO.
// use a nonsense but well formed version.
.ios_version_min 99,8,7
// CHECK: File: <stdin>
// CHECK: Format: Mach-O arm
// CHECK: Arch: arm
// CHECK: AddressSize: 32bit
// CHECK: MinVersion {
// CHECK: Cmd: LC_VERSION_MIN_IPHONEOS
// CHECK: Size: 16
// CHECK: Version: 99.8.7
// CHECK: SDK: n/a
// CHECK: }