MachO: Comment fields in the version_min load command.
authorJim Grosbach <grosbach@apple.com>
Tue, 18 Mar 2014 22:08:58 +0000 (22:08 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 18 Mar 2014 22:08:58 +0000 (22:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204189 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/MachO.h

index 2e0e77ee4ea7384e01bc62d27f971bfefda5fffb..ed4329bc4f739fafd9d6536d3554b855b789bd88 100644 (file)
@@ -743,9 +743,10 @@ namespace llvm {
     };
 
     struct version_min_command {
-      uint32_t cmd;
-      uint32_t cmdsize;
-      uint32_t version;
+      uint32_t cmd;       /* LC_VERSION_MIN_MACOSX or
+                             LC_VERSION_MIN_IPHONEOS  */
+      uint32_t cmdsize;   /* sizeof(struct version_min_command) */
+      uint32_t version;   /* X.Y.Z is encoded in nibbles xxxx.yy.zz */
       uint32_t reserved;
     };