reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
20 for (const auto &LC : O.LoadCommands) { 48 for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols) 55 for (auto &Symbol : O.SymTable.Symbols) 64 assert(std::is_sorted(O.SymTable.Symbols.begin(), O.SymTable.Symbols.end(), 64 assert(std::is_sorted(O.SymTable.Symbols.begin(), O.SymTable.Symbols.end(), 74 auto Iter = O.SymTable.Symbols.begin(); 75 auto End = O.SymTable.Symbols.end(); 97 O.SymTable.Symbols.size() - (NumLocalSymbols + NumExtDefSymbols); 106 O.Header.FileType == MachO::HeaderFileType::MH_OBJECT; 107 uint64_t Offset = IsObjectFile ? (HeaderSize + O.Header.SizeOfCmds) : 0; 108 for (auto &LC : O.LoadCommands) { 205 for (auto &LC : O.LoadCommands) 223 uint64_t StartOfBindingInfo = StartOfRebaseInfo + O.Rebases.Opcodes.size(); 224 uint64_t StartOfWeakBindingInfo = StartOfBindingInfo + O.Binds.Opcodes.size(); 226 StartOfWeakBindingInfo + O.WeakBinds.Opcodes.size(); 228 StartOfLazyBindingInfo + O.LazyBinds.Opcodes.size(); 229 uint64_t StartOfFunctionStarts = StartOfExportTrie + O.Exports.Trie.size(); 231 StartOfFunctionStarts + O.FunctionStarts.Data.size(); 232 uint64_t StartOfSymbols = StartOfDataInCode + O.DataInCode.Data.size(); 234 StartOfSymbols + NListSize * O.SymTable.Symbols.size(); 237 sizeof(uint32_t) * O.IndirectSymTable.Symbols.size(); 261 for (auto &LC : O.LoadCommands) { 267 MLC.symtab_command_data.nsyms = O.SymTable.Symbols.size(); 280 if (!O.IndirectSymTable.Symbols.empty()) { 283 O.IndirectSymTable.Symbols.size(); 291 MLC.linkedit_data_command_data.datasize = O.DataInCode.Data.size(); 295 MLC.linkedit_data_command_data.datasize = O.FunctionStarts.Data.size(); 300 O.Rebases.Opcodes.empty() ? 0 : StartOfRebaseInfo; 301 MLC.dyld_info_command_data.rebase_size = O.Rebases.Opcodes.size(); 303 O.Binds.Opcodes.empty() ? 0 : StartOfBindingInfo; 304 MLC.dyld_info_command_data.bind_size = O.Binds.Opcodes.size(); 306 O.WeakBinds.Opcodes.empty() ? 0 : StartOfWeakBindingInfo; 307 MLC.dyld_info_command_data.weak_bind_size = O.WeakBinds.Opcodes.size(); 309 O.LazyBinds.Opcodes.empty() ? 0 : StartOfLazyBindingInfo; 310 MLC.dyld_info_command_data.lazy_bind_size = O.LazyBinds.Opcodes.size(); 312 O.Exports.Trie.empty() ? 0 : StartOfExportTrie; 313 MLC.dyld_info_command_data.export_size = O.Exports.Trie.size(); 342 O.Header.NCmds = O.LoadCommands.size(); 342 O.Header.NCmds = O.LoadCommands.size(); 343 O.Header.SizeOfCmds = computeSizeOfCmds();