summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2014-03-18 22:08:58 +0000
committerJim Grosbach <grosbach@apple.com>2014-03-18 22:08:58 +0000
commit802d81591a1695604e0c78fbd76261d0900b5ee3 (patch)
tree5a6cae9fbad15a403812eaa08738ce22a79b0f13 /include
parent3c1eb9903b22b5f6e42a6fcfc49322170ffa3749 (diff)
downloadllvm-802d81591a1695604e0c78fbd76261d0900b5ee3.tar.gz
llvm-802d81591a1695604e0c78fbd76261d0900b5ee3.tar.bz2
llvm-802d81591a1695604e0c78fbd76261d0900b5ee3.tar.xz
MachO: Comment fields in the version_min load command.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@204189 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/MachO.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Support/MachO.h b/include/llvm/Support/MachO.h
index 2e0e77ee4e..ed4329bc4f 100644
--- a/include/llvm/Support/MachO.h
+++ b/include/llvm/Support/MachO.h
@@ -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;
};