[PATCH] D55442: Update the Swift version numbers reported by objdump

Michael Trent via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 7 11:58:17 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL348632: Update the Swift version numbers reported by objdump (authored by mtrent, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55442/new/

https://reviews.llvm.org/D55442

Files:
  llvm/trunk/tools/llvm-objdump/MachODump.cpp


Index: llvm/trunk/tools/llvm-objdump/MachODump.cpp
===================================================================
--- llvm/trunk/tools/llvm-objdump/MachODump.cpp
+++ llvm/trunk/tools/llvm-objdump/MachODump.cpp
@@ -5626,7 +5626,9 @@
     else if(swift_version == 5)
       outs() << " Swift 4.0";
     else if(swift_version == 6)
-      outs() << " Swift 4.1";
+      outs() << " Swift 4.1/Swift 4.2";
+    else if(swift_version == 7)
+      outs() << " Swift 5 or later";
     else
       outs() << " unknown future Swift version (" << swift_version << ")";
   }
@@ -5677,7 +5679,9 @@
     else if(swift_version == 5)
       outs() << " Swift 4.0";
     else if(swift_version == 6)
-      outs() << " Swift 4.1";
+      outs() << " Swift 4.1/Swift 4.2";
+    else if(swift_version == 7)
+      outs() << " Swift 5 or later";
     else
       outs() << " unknown future Swift version (" << swift_version << ")";
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55442.177268.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20181207/e4738332/attachment.bin>


More information about the llvm-commits mailing list