summaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorMatthias Braun <matze@braunis.de>2017-12-14 03:59:24 +0000
committerMatthias Braun <matze@braunis.de>2017-12-14 03:59:24 +0000
commit34045e15682bbc1d0b36a7f31a8fa21c226431c6 (patch)
tree6bed4a0f994fc63c17789ce842d45d1ad71d74a6 /test/MC
parent177a4fc2d2ce419e07e5607ccf598c602b67ae3d (diff)
MC/AsmPrinter: Reduce code duplication.
Factor out duplicated code emitting mach-o version-min specifiers. This should be NFC but happens to fix a bug where the code in MCMachoStreamer didn't take the version skew between darwin and macos versions into account. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320666 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/MachO/diff-with-two-sections.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MC/MachO/diff-with-two-sections.s b/test/MC/MachO/diff-with-two-sections.s
index 15784afad55..d63f4a05725 100644
--- a/test/MC/MachO/diff-with-two-sections.s
+++ b/test/MC/MachO/diff-with-two-sections.s
@@ -82,6 +82,6 @@ Ltmp4 = Leh_func_begin0-Ltmp3
// CHECK-NEXT: MinVersion {
// CHECK-NEXT: Cmd: LC_VERSION_MIN_MACOSX
// CHECK-NEXT: Size: 16
-// CHECK-NEXT: Version: 9.0
+// CHECK-NEXT: Version: 10.5
// CHECK-NEXT: SDK: n/a
// CHECK-NEXT: }