Lines Matching refs:LC
120 LoadCommand LC; in readLoadCommands() local
129 LC.Sections = std::move(*Sections); in readLoadCommands()
137 LC.Sections = std::move(*Sections); in readLoadCommands()
163 memcpy((void *)&(LC.MachOLoadCommand.LCStruct##_data), LoadCmd.Ptr, \ in readLoadCommands()
166 MachO::swapStruct(LC.MachOLoadCommand.LCStruct##_data); \ in readLoadCommands()
168 LC.Payload = ArrayRef<uint8_t>( \ in readLoadCommands()
176 memcpy((void *)&(LC.MachOLoadCommand.load_command_data), LoadCmd.Ptr, in readLoadCommands()
179 MachO::swapStruct(LC.MachOLoadCommand.load_command_data); in readLoadCommands()
181 LC.Payload = ArrayRef<uint8_t>( in readLoadCommands()
188 O.LoadCommands.push_back(std::move(LC)); in readLoadCommands()
222 for (auto &LC : O.LoadCommands) in setSymbolInRelocationInfo() local
223 for (std::unique_ptr<Section> &Sec : LC.Sections) in setSymbolInRelocationInfo()
226 for (LoadCommand &LC : O.LoadCommands) in setSymbolInRelocationInfo()
227 for (std::unique_ptr<Section> &Sec : LC.Sections) in setSymbolInRelocationInfo()
268 const MachO::linkedit_data_command &LC = in readLinkData() local
271 arrayRefFromStringRef(MachOObj.getData().substr(LC.dataoff, LC.datasize)); in readLinkData()
311 for (const LoadCommand &LC : O.LoadCommands) in readSwiftVersion() local
312 for (const std::unique_ptr<Section> &Sec : LC.Sections) in readSwiftVersion()