LLVM API Documentation
#include <MachOWriter.h>
Public Types | |
| enum | { SEG_VM_PROT_NONE = VM_PROT_NONE, SEG_VM_PROT_READ = VM_PROT_READ, SEG_VM_PROT_WRITE = VM_PROT_WRITE, SEG_VM_PROT_EXECUTE = VM_PROT_EXECUTE, SEG_VM_PROT_ALL = VM_PROT_ALL } |
| enum | { LC_SEGMENT = 0x01, LC_SEGMENT_64 = 0x19 } |
Public Member Functions | |
| unsigned | cmdSize (bool is64Bit) const |
| MachOSegment (const std::string &seg, bool is64Bit) | |
Public Attributes | |
| uint32_t | cmd |
| uint32_t | cmdsize |
| std::string | segname |
| uint64_t | vmaddr |
| uint64_t | vmsize |
| uint64_t | fileoff |
| uint64_t | filesize |
| uint32_t | maxprot |
| uint32_t | initprot |
| uint32_t | nsects |
| uint32_t | flags |
Definition at line 244 of file MachOWriter.h.
| anonymous enum |
Definition at line 277 of file MachOWriter.h.
| anonymous enum |
| llvm::MachOWriter::MachOSegment::MachOSegment | ( | const std::string & | seg, | |
| bool | is64Bit | |||
| ) | [inline] |
Definition at line 299 of file MachOWriter.h.
| unsigned llvm::MachOWriter::MachOSegment::cmdSize | ( | bool | is64Bit | ) | const [inline] |
cmdSize - This routine returns the size of the MachOSection as written to disk, depending on whether the destination is a 64 bit Mach-O file.
Definition at line 292 of file MachOWriter.h.
| uint32_t llvm::MachOWriter::MachOSegment::cmd |
Definition at line 245 of file MachOWriter.h.
Definition at line 246 of file MachOWriter.h.
| std::string llvm::MachOWriter::MachOSegment::segname |
Definition at line 247 of file MachOWriter.h.
Definition at line 248 of file MachOWriter.h.
Definition at line 249 of file MachOWriter.h.
Definition at line 250 of file MachOWriter.h.
Definition at line 251 of file MachOWriter.h.
Definition at line 252 of file MachOWriter.h.
Definition at line 253 of file MachOWriter.h.
Definition at line 254 of file MachOWriter.h.
Definition at line 255 of file MachOWriter.h.