Home | History | Annotate | Download | only in Driver

Lines Matching refs:Cmd

424   std::string Cmd;
425 llvm::raw_string_ostream OS(Cmd);
542 I = Cmd.find("-main-file-name ");
545 E = Cmd.find(" ", I);
547 StringRef OldFilename = StringRef(Cmd).slice(I, E);
549 I = StringRef(Cmd).rfind(OldFilename);
551 I = Cmd.rfind(" ", I) + 1;
552 Cmd.replace(I, E - I, NewFilename.data(), NewFilename.size());
556 Cmd.insert(I, std::string(" -ivfsoverlay ") + VFS.c_str());
558 ScriptOS << Cmd;