Lines Matching refs:LoadCommand
33 using LoadCommandPred = std::function<bool(const LoadCommand &LC)>;
36 static bool isLoadCommandWithPayloadString(const LoadCommand &LC) {
46 static StringRef getPayloadString(const LoadCommand &LC) {
137 static void updateLoadCommandPayloadString(LoadCommand &LC, StringRef S) {
148 static LoadCommand buildRPathLoadCommand(StringRef Path) {
149 LoadCommand LC;
166 &MachOConfig](const LoadCommand &LC) {
197 for (LoadCommand &LC : Obj.LoadCommands) {
216 for (LoadCommand &LC : Obj.LoadCommands) {
274 auto RemovePred = [&MachOConfig](const LoadCommand &LC) {
291 for (LoadCommand &LC : Obj.LoadCommands)
320 for (LoadCommand &LC : Obj.LoadCommands) {
334 LoadCommand &NewSegment =
345 llvm::find_if(O.LoadCommands, [SegName](const LoadCommand &LC) {
424 for (LoadCommand &LC : Obj.LoadCommands)