Lines Matching refs:LC
35 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes() local
36 switch (LC.MachOLoadCommand.load_command_data.cmd) { in updateLoadCommandIndexes()
41 if (StringRef(LC.MachOLoadCommand.segment_command_data.segname) == in updateLoadCommandIndexes()
46 if (StringRef(LC.MachOLoadCommand.segment_command_64_data.segname) == in updateLoadCommandIndexes()
83 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() argument
94 for (LoadCommand &LC : LoadCommands) { in removeSections()
96 std::begin(LC.Sections), std::end(LC.Sections), in removeSections()
98 for (auto I = LC.Sections.begin(), End = It; I != End; ++I) { in removeSections()
102 LC.Sections.erase(It, LC.Sections.end()); in removeSections()
115 for (const LoadCommand &LC : LoadCommands) in removeSections() local
116 for (const std::unique_ptr<Section> &Sec : LC.Sections) in removeSections()
137 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress() local
138 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in nextAvailableSegmentAddress()
173 LoadCommand LC; in addSegment() local
176 constructSegment(LC.MachOLoadCommand.segment_command_64_data, in addSegment()
179 constructSegment(LC.MachOLoadCommand.segment_command_data, in addSegment()
182 LoadCommands.push_back(std::move(LC)); in addSegment()