Lines Matching refs:LC
27 for (const LoadCommand &LC : O.LoadCommands) { in computeSizeOfCmds() local
28 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in computeSizeOfCmds()
33 sizeof(MachO::section) * LC.Sections.size(); in computeSizeOfCmds()
37 sizeof(MachO::section_64) * LC.Sections.size(); in computeSizeOfCmds()
44 Size += sizeof(MachO::LCStruct) + LC.Payload.size(); \ in computeSizeOfCmds()
118 for (LoadCommand &LC : O.LoadCommands) { in layoutSegments()
119 auto &MLC = LC.MachOLoadCommand; in layoutSegments()
144 assert(LC.Sections.empty() && "__LINKEDIT segment has sections"); in layoutSegments()
153 for (std::unique_ptr<Section> &Sec : LC.Sections) { in layoutSegments()
193 sizeof(MachO::section) * LC.Sections.size(); in layoutSegments()
194 MLC.segment_command_data.nsects = LC.Sections.size(); in layoutSegments()
202 sizeof(MachO::section_64) * LC.Sections.size(); in layoutSegments()
203 MLC.segment_command_64_data.nsects = LC.Sections.size(); in layoutSegments()
215 for (LoadCommand &LC : O.LoadCommands) in layoutRelocations()
216 for (std::unique_ptr<Section> &Sec : LC.Sections) { in layoutRelocations()
315 for (LoadCommand &LC : O.LoadCommands) { in layoutTail()
316 auto &MLC = LC.MachOLoadCommand; in layoutTail()