Home | History | Annotate | Download | only in Driver

Lines Matching defs:pwd

1901 /// If the PWD environment variable is set, add a CC1 option to specify the
1904 const char *pwd = ::getenv("PWD");
1905 if (!pwd)
1909 if (llvm::sys::path::is_absolute(pwd) &&
1910 !llvm::sys::fs::status(pwd, PWDStatus) &&
1914 CmdArgs.push_back(Args.MakeArgString(pwd));
2611 if (const char *pwd = ::getenv("PWD")) {
2612 if (llvm::sys::path::is_absolute(pwd)) {
2613 SmallString<128> Pwd(pwd);
2614 llvm::sys::path::append(Pwd, CoverageFilename.str());
2615 CoverageFilename.swap(Pwd);