[llvm-commits] [llvm] r152135 - /llvm/trunk/include/llvm/Support/MachO.h

Ted Kremenek kremenek at apple.com
Tue Mar 6 11:54:44 PST 2012


Author: kremenek
Date: Tue Mar  6 13:54:44 2012
New Revision: 152135

URL: http://llvm.org/viewvc/llvm-project?rev=152135&view=rev
Log:
Add new load commands for MachO.

Modified:
    llvm/trunk/include/llvm/Support/MachO.h

Modified: llvm/trunk/include/llvm/Support/MachO.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/MachO.h?rev=152135&r1=152134&r2=152135&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/MachO.h (original)
+++ llvm/trunk/include/llvm/Support/MachO.h Tue Mar  6 13:54:44 2012
@@ -114,6 +114,10 @@
       LoadCommandVersionMinIPhoneOS       = 0x00000025u, // LC_VERSION_MIN_IPHONEOS
       LoadCommandFunctionStarts           = 0x00000026u, // LC_FUNCTION_STARTS
       LoadCommandDyldEnvironment          = 0x00000027u, // LC_DYLD_ENVIRONMENT
+      LoadCommandMain                     = 0x80000028u, // LC_MAIN
+      LoadCommandDataInCode               = 0x00000029u, // LC_DATA_IN_CODE
+      LoadCommandSourceVersion            = 0x0000002Au, // LC_SOURCE_VERSION
+      LoadCommandCodeSignDRs              = 0x0000002Bu, // LC_DYLIB_CODE_SIGN_DRS
 
       // Constant bits for the "flags" field in llvm::MachO::segment_command
       SegmentCommandFlagBitHighVM             = 0x1u, // SG_HIGHVM





More information about the llvm-commits mailing list