summaryrefslogtreecommitdiffstats
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
commit79f91c595dc5eba449f3313e88ea0f2761566074 (patch)
treefe25ca81bb7a0b24c127bf55c9c599d4f411a1a2
parent4c5001cc9c0dc346e2a7e4667b88304e7c1c2feb (diff)
downloadbcm5719-llvm-79f91c595dc5eba449f3313e88ea0f2761566074.tar.gz
bcm5719-llvm-79f91c595dc5eba449f3313e88ea0f2761566074.zip
MachO: Comment fields in the version_min load command.
llvm-svn: 204189
-rw-r--r--llvm/include/llvm/Support/MachO.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/MachO.h b/llvm/include/llvm/Support/MachO.h
index 2e0e77ee4ea..ed4329bc4f7 100644
--- a/llvm/include/llvm/Support/MachO.h
+++ b/llvm/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;
};
OpenPOWER on IntegriCloud