LLVM API Documentation
anonymous enum |
Definition at line 51 of file Support/MachO.h.
anonymous enum |
Definition at line 271 of file Support/MachO.h.
anonymous enum |
BIND_SYMBOL_FLAGS_WEAK_IMPORT | |
BIND_SYMBOL_FLAGS_NON_WEAK_DEFINITION | |
BIND_OPCODE_MASK | |
BIND_IMMEDIATE_MASK |
Definition at line 300 of file Support/MachO.h.
anonymous enum |
EXPORT_SYMBOL_FLAGS_KIND_MASK | |
EXPORT_SYMBOL_FLAGS_WEAK_DEFINITION | |
EXPORT_SYMBOL_FLAGS_REEXPORT | |
EXPORT_SYMBOL_FLAGS_STUB_AND_RESOLVER |
Definition at line 324 of file Support/MachO.h.
anonymous enum |
Definition at line 338 of file Support/MachO.h.
anonymous enum |
Definition at line 364 of file Support/MachO.h.
anonymous enum |
Definition at line 527 of file Support/MachO.h.
anonymous enum |
Definition at line 1287 of file Support/MachO.h.
Definition at line 308 of file Support/MachO.h.
BIND_SPECIAL_DYLIB_SELF | |
BIND_SPECIAL_DYLIB_MAIN_EXECUTABLE | |
BIND_SPECIAL_DYLIB_FLAT_LOOKUP |
Definition at line 294 of file Support/MachO.h.
Definition at line 288 of file Support/MachO.h.
Definition at line 1292 of file Support/MachO.h.
Definition at line 1308 of file Support/MachO.h.
Definition at line 1316 of file Support/MachO.h.
Definition at line 1312 of file Support/MachO.h.
Definition at line 1250 of file Support/MachO.h.
enum llvm::MachO::CPUType |
CPU_TYPE_ANY | |
CPU_TYPE_X86 | |
CPU_TYPE_I386 | |
CPU_TYPE_X86_64 | |
CPU_TYPE_MC98000 | |
CPU_TYPE_ARM | |
CPU_TYPE_ARM64 | |
CPU_TYPE_SPARC | |
CPU_TYPE_POWERPC | |
CPU_TYPE_POWERPC64 |
Definition at line 1226 of file Support/MachO.h.
DICE_KIND_DATA | |
DICE_KIND_JUMP_TABLE8 | |
DICE_KIND_JUMP_TABLE16 | |
DICE_KIND_JUMP_TABLE32 | |
DICE_KIND_ABS_JUMP_TABLE32 |
Definition at line 256 of file Support/MachO.h.
EXPORT_SYMBOL_FLAGS_KIND_REGULAR | |
EXPORT_SYMBOL_FLAGS_KIND_THREAD_LOCAL | |
EXPORT_SYMBOL_FLAGS_KIND_ABSOLUTE |
Definition at line 331 of file Support/MachO.h.
MH_OBJECT | |
MH_EXECUTE | |
MH_FVMLIB | |
MH_CORE | |
MH_PRELOAD | |
MH_DYLIB | |
MH_DYLINKER | |
MH_BUNDLE | |
MH_DYLIB_STUB | |
MH_DSYM | |
MH_KEXT_BUNDLE |
Definition at line 35 of file Support/MachO.h.
Definition at line 87 of file Support/MachO.h.
Definition at line 347 of file Support/MachO.h.
Definition at line 276 of file Support/MachO.h.
Definition at line 265 of file Support/MachO.h.
Definition at line 437 of file Support/MachO.h.
Definition at line 357 of file Support/MachO.h.
These are the section type and attributes fields. A MachO section can have only one Type, but can have any of the attributes specified.
Definition at line 156 of file Support/MachO.h.
Definition at line 391 of file Support/MachO.h.
static int llvm::MachO::CPU_SUBTYPE_INTEL | ( | int | Family, |
int | Model | ||
) | [inline, static] |
Definition at line 1278 of file Support/MachO.h.
static int llvm::MachO::CPU_SUBTYPE_INTEL_FAMILY | ( | CPUSubTypeX86 | ST | ) | [inline, static] |
Definition at line 1281 of file Support/MachO.h.
static int llvm::MachO::CPU_SUBTYPE_INTEL_MODEL | ( | CPUSubTypeX86 | ST | ) | [inline, static] |
Definition at line 1284 of file Support/MachO.h.
static uint8_t llvm::MachO::GET_COMM_ALIGN | ( | uint16_t | n_desc | ) | [inline, static] |
Definition at line 1210 of file Support/MachO.h.
Referenced by llvm::object::MachOObjectFile::getSymbolAlignment().
static uint16_t llvm::MachO::GET_LIBRARY_ORDINAL | ( | uint16_t | n_desc | ) | [inline, static] |
Definition at line 1202 of file Support/MachO.h.
static void llvm::MachO::SET_COMM_ALIGN | ( | uint16_t & | n_desc, |
uint8_t | align | ||
) | [inline, static] |
Definition at line 1214 of file Support/MachO.h.
static void llvm::MachO::SET_LIBRARY_ORDINAL | ( | uint16_t & | n_desc, |
uint8_t | ordinal | ||
) | [inline, static] |
Definition at line 1206 of file Support/MachO.h.
void llvm::MachO::swapStruct | ( | mach_header & | mh | ) | [inline] |
Definition at line 992 of file Support/MachO.h.
References llvm::MachO::mach_header::cpusubtype, llvm::MachO::mach_header::cputype, llvm::MachO::mach_header::filetype, llvm::MachO::mach_header::flags, llvm::MachO::mach_header::magic, llvm::MachO::mach_header::ncmds, llvm::MachO::mach_header::sizeofcmds, and llvm::sys::swapByteOrder().
Referenced by getStruct().
void llvm::MachO::swapStruct | ( | mach_header_64 & | H | ) | [inline] |
Definition at line 1002 of file Support/MachO.h.
References llvm::MachO::mach_header_64::cpusubtype, llvm::MachO::mach_header_64::cputype, llvm::MachO::mach_header_64::filetype, llvm::MachO::mach_header_64::flags, llvm::MachO::mach_header_64::magic, llvm::MachO::mach_header_64::ncmds, llvm::MachO::mach_header_64::reserved, llvm::MachO::mach_header_64::sizeofcmds, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | load_command & | lc | ) | [inline] |
Definition at line 1013 of file Support/MachO.h.
References llvm::MachO::load_command::cmd, llvm::MachO::load_command::cmdsize, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | symtab_command & | lc | ) | [inline] |
Definition at line 1018 of file Support/MachO.h.
References llvm::MachO::symtab_command::cmd, llvm::MachO::symtab_command::cmdsize, llvm::MachO::symtab_command::nsyms, llvm::MachO::symtab_command::stroff, llvm::MachO::symtab_command::strsize, llvm::sys::swapByteOrder(), and llvm::MachO::symtab_command::symoff.
void llvm::MachO::swapStruct | ( | segment_command_64 & | seg | ) | [inline] |
Definition at line 1027 of file Support/MachO.h.
References llvm::MachO::segment_command_64::cmd, llvm::MachO::segment_command_64::cmdsize, llvm::MachO::segment_command_64::fileoff, llvm::MachO::segment_command_64::filesize, llvm::MachO::segment_command_64::flags, llvm::MachO::segment_command_64::initprot, llvm::MachO::segment_command_64::maxprot, llvm::MachO::segment_command_64::nsects, llvm::sys::swapByteOrder(), llvm::MachO::segment_command_64::vmaddr, and llvm::MachO::segment_command_64::vmsize.
void llvm::MachO::swapStruct | ( | segment_command & | seg | ) | [inline] |
Definition at line 1040 of file Support/MachO.h.
References llvm::MachO::segment_command::cmd, llvm::MachO::segment_command::cmdsize, llvm::MachO::segment_command::fileoff, llvm::MachO::segment_command::filesize, llvm::MachO::segment_command::flags, llvm::MachO::segment_command::initprot, llvm::MachO::segment_command::maxprot, llvm::MachO::segment_command::nsects, llvm::sys::swapByteOrder(), llvm::MachO::segment_command::vmaddr, and llvm::MachO::segment_command::vmsize.
void llvm::MachO::swapStruct | ( | section_64 & | sect | ) | [inline] |
Definition at line 1053 of file Support/MachO.h.
References llvm::MachO::section_64::addr, llvm::MachO::section_64::align, llvm::MachO::section_64::flags, llvm::MachO::section_64::nreloc, llvm::MachO::section_64::offset, llvm::MachO::section_64::reloff, llvm::MachO::section_64::reserved1, llvm::MachO::section_64::reserved2, llvm::MachO::section_64::size, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | section & | sect | ) | [inline] |
Definition at line 1065 of file Support/MachO.h.
References llvm::MachO::section::addr, llvm::MachO::section::align, llvm::MachO::section::flags, llvm::MachO::section::nreloc, llvm::MachO::section::offset, llvm::MachO::section::reloff, llvm::MachO::section::reserved1, llvm::MachO::section::reserved2, llvm::MachO::section::size, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | dyld_info_command & | info | ) | [inline] |
Definition at line 1077 of file Support/MachO.h.
References llvm::MachO::dyld_info_command::bind_off, llvm::MachO::dyld_info_command::bind_size, llvm::MachO::dyld_info_command::cmd, llvm::MachO::dyld_info_command::cmdsize, llvm::MachO::dyld_info_command::export_off, llvm::MachO::dyld_info_command::export_size, llvm::MachO::dyld_info_command::lazy_bind_off, llvm::MachO::dyld_info_command::lazy_bind_size, llvm::MachO::dyld_info_command::rebase_off, llvm::MachO::dyld_info_command::rebase_size, llvm::sys::swapByteOrder(), llvm::MachO::dyld_info_command::weak_bind_off, and llvm::MachO::dyld_info_command::weak_bind_size.
void llvm::MachO::swapStruct | ( | dylib_command & | d | ) | [inline] |
Definition at line 1092 of file Support/MachO.h.
References llvm::MachO::dylib_command::cmd, llvm::MachO::dylib_command::cmdsize, llvm::MachO::dylib::compatibility_version, llvm::MachO::dylib::current_version, llvm::MachO::dylib_command::dylib, llvm::MachO::dylib::name, llvm::sys::swapByteOrder(), and llvm::MachO::dylib::timestamp.
void llvm::MachO::swapStruct | ( | dylinker_command & | d | ) | [inline] |
Definition at line 1101 of file Support/MachO.h.
References llvm::MachO::dylinker_command::cmd, llvm::MachO::dylinker_command::cmdsize, llvm::MachO::dylinker_command::name, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | uuid_command & | u | ) | [inline] |
Definition at line 1107 of file Support/MachO.h.
References llvm::MachO::uuid_command::cmd, llvm::MachO::uuid_command::cmdsize, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | source_version_command & | s | ) | [inline] |
Definition at line 1112 of file Support/MachO.h.
References llvm::MachO::source_version_command::cmd, llvm::MachO::source_version_command::cmdsize, llvm::sys::swapByteOrder(), and llvm::MachO::source_version_command::version.
void llvm::MachO::swapStruct | ( | entry_point_command & | e | ) | [inline] |
Definition at line 1118 of file Support/MachO.h.
References llvm::MachO::entry_point_command::cmd, llvm::MachO::entry_point_command::cmdsize, llvm::MachO::entry_point_command::entryoff, llvm::MachO::entry_point_command::stacksize, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | dysymtab_command & | dst | ) | [inline] |
Definition at line 1125 of file Support/MachO.h.
References llvm::MachO::dysymtab_command::cmd, llvm::MachO::dysymtab_command::cmdsize, llvm::MachO::dysymtab_command::extrefsymoff, llvm::MachO::dysymtab_command::extreloff, llvm::MachO::dysymtab_command::iextdefsym, llvm::MachO::dysymtab_command::ilocalsym, llvm::MachO::dysymtab_command::indirectsymoff, llvm::MachO::dysymtab_command::iundefsym, llvm::MachO::dysymtab_command::locreloff, llvm::MachO::dysymtab_command::modtaboff, llvm::MachO::dysymtab_command::nextdefsym, llvm::MachO::dysymtab_command::nextrefsyms, llvm::MachO::dysymtab_command::nextrel, llvm::MachO::dysymtab_command::nindirectsyms, llvm::MachO::dysymtab_command::nlocalsym, llvm::MachO::dysymtab_command::nlocrel, llvm::MachO::dysymtab_command::nmodtab, llvm::MachO::dysymtab_command::ntoc, llvm::MachO::dysymtab_command::nundefsym, llvm::sys::swapByteOrder(), and llvm::MachO::dysymtab_command::tocoff.
void llvm::MachO::swapStruct | ( | any_relocation_info & | reloc | ) | [inline] |
Definition at line 1148 of file Support/MachO.h.
References llvm::MachO::any_relocation_info::r_word0, llvm::MachO::any_relocation_info::r_word1, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | nlist_base & | S | ) | [inline] |
Definition at line 1153 of file Support/MachO.h.
References llvm::MachO::nlist_base::n_desc, llvm::MachO::nlist_base::n_strx, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | nlist & | sym | ) | [inline] |
Definition at line 1158 of file Support/MachO.h.
References llvm::MachO::nlist::n_desc, llvm::MachO::nlist::n_strx, llvm::MachO::nlist::n_value, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | nlist_64 & | sym | ) | [inline] |
Definition at line 1164 of file Support/MachO.h.
References llvm::MachO::nlist_64::n_desc, llvm::MachO::nlist_64::n_strx, llvm::MachO::nlist_64::n_value, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | linkedit_data_command & | C | ) | [inline] |
Definition at line 1170 of file Support/MachO.h.
References llvm::MachO::linkedit_data_command::cmd, llvm::MachO::linkedit_data_command::cmdsize, llvm::MachO::linkedit_data_command::dataoff, llvm::MachO::linkedit_data_command::datasize, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | linker_options_command & | C | ) | [inline] |
Definition at line 1177 of file Support/MachO.h.
References llvm::MachO::linker_options_command::cmd, llvm::MachO::linker_options_command::cmdsize, llvm::MachO::linker_options_command::count, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | version_min_command & | C | ) | [inline] |
Definition at line 1183 of file Support/MachO.h.
References llvm::MachO::version_min_command::cmd, llvm::MachO::version_min_command::cmdsize, llvm::MachO::version_min_command::sdk, llvm::sys::swapByteOrder(), and llvm::MachO::version_min_command::version.
void llvm::MachO::swapStruct | ( | data_in_code_entry & | C | ) | [inline] |
Definition at line 1190 of file Support/MachO.h.
References llvm::MachO::data_in_code_entry::kind, llvm::MachO::data_in_code_entry::length, llvm::MachO::data_in_code_entry::offset, and llvm::sys::swapByteOrder().
void llvm::MachO::swapStruct | ( | uint32_t & | C | ) | [inline] |
Definition at line 1196 of file Support/MachO.h.
References llvm::sys::swapByteOrder().