Lines Matching defs:OutputPath
926 SmallString<128> OutputPath(SavedObjectsDirectoryPath);
927 llvm::sys::path::append(OutputPath,
929 OutputPath.c_str(); // Ensure the string is null terminated.
930 if (sys::fs::exists(OutputPath))
931 sys::fs::remove(OutputPath);
936 auto Err = sys::fs::create_hard_link(CacheEntryPath, OutputPath);
938 return std::string(OutputPath);
940 Err = sys::fs::copy_file(CacheEntryPath, OutputPath);
942 return std::string(OutputPath);
947 << "' to '" << OutputPath << "'\n";
951 raw_fd_ostream OS(OutputPath, Err, sys::fs::OF_None);
953 report_fatal_error(Twine("Can't open output '") + OutputPath + "'\n");
955 return std::string(OutputPath);