Lines Matching refs:LC
45 LoadCommand &LC = LoadCommands[Index]; in updateLoadCommandIndexes() local
46 switch (LC.MachOLoadCommand.load_command_data.cmd) { in updateLoadCommandIndexes()
51 if (StringRef(LC.MachOLoadCommand.segment_command_data.segname) == in updateLoadCommandIndexes()
56 if (StringRef(LC.MachOLoadCommand.segment_command_64_data.segname) == in updateLoadCommandIndexes()
96 [&](const LoadCommand &LC) { return !ToRemove(LC); }); in removeLoadCommands() argument
107 for (LoadCommand &LC : LoadCommands) { in removeSections()
109 std::begin(LC.Sections), std::end(LC.Sections), in removeSections()
111 for (auto I = LC.Sections.begin(), End = It; I != End; ++I) { in removeSections()
115 LC.Sections.erase(It, LC.Sections.end()); in removeSections()
128 for (const LoadCommand &LC : LoadCommands) in removeSections() local
129 for (const std::unique_ptr<Section> &Sec : LC.Sections) in removeSections()
150 for (const LoadCommand &LC : LoadCommands) { in nextAvailableSegmentAddress() local
151 const MachO::macho_load_command &MLC = LC.MachOLoadCommand; in nextAvailableSegmentAddress()
186 LoadCommand LC; in addSegment() local
189 constructSegment(LC.MachOLoadCommand.segment_command_64_data, in addSegment()
192 constructSegment(LC.MachOLoadCommand.segment_command_data, in addSegment()
195 LoadCommands.push_back(std::move(LC)); in addSegment()