diff options
| author | Matthias Braun <matze@braunis.de> | 2017-12-14 03:59:24 +0000 |
|---|---|---|
| committer | Matthias Braun <matze@braunis.de> | 2017-12-14 03:59:24 +0000 |
| commit | 5dd72adbecb3c52e1bba6b823fbc4db3f592c8f7 (patch) | |
| tree | dce9ca2510f0ca71488ab953bbbf651f413a5f4c /llvm/test | |
| parent | 123adb507380a9061f66f75420ce7943166ce83f (diff) | |
| download | bcm5719-llvm-5dd72adbecb3c52e1bba6b823fbc4db3f592c8f7.tar.gz bcm5719-llvm-5dd72adbecb3c52e1bba6b823fbc4db3f592c8f7.zip | |
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.
llvm-svn: 320666
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/MachO/diff-with-two-sections.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/MachO/diff-with-two-sections.s b/llvm/test/MC/MachO/diff-with-two-sections.s index 15784afad55..d63f4a05725 100644 --- a/llvm/test/MC/MachO/diff-with-two-sections.s +++ b/llvm/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: } |

