Searched refs:BaseDir (Results 1 – 7 of 7) sorted by relevance
170 StringRef BaseDir) { in create() argument176 return std::unique_ptr<TarWriter>(new TarWriter(FD, BaseDir)); in create()179 TarWriter::TarWriter(int FD, StringRef BaseDir) in TarWriter() argument181 BaseDir(std::string(BaseDir)) {} in TarWriter()186 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() local19 llvm::sys::fs::make_absolute(BaseDir); in findSrcDirMap()21 SmallString<128> PathInSameDir = BaseDir; in findSrcDirMap()27 SmallString<128> PathInParentDir = llvm::sys::path::parent_path(BaseDir); in findSrcDirMap()
21 StringRef BaseDir);26 TarWriter(int FD, StringRef BaseDir);28 std::string BaseDir; variable
304 if (const char *BaseDir = getenv("JITDUMPDIR")) in InitDebuggingDir() local 305 Path.append(BaseDir); in InitDebuggingDir()
718 ToolChain::getFallbackAndroidTargetPath(StringRef BaseDir) const { in getFallbackAndroidTargetPath()728 for (llvm::vfs::directory_iterator LI = getVFS().dir_begin(BaseDir, EC), LE; in getFallbackAndroidTargetPath()751 SmallString<128> P(BaseDir); in getFallbackAndroidTargetPath()759 ToolChain::getTargetSubDirPath(StringRef BaseDir) const { in getTargetSubDirPath()762 SmallString<128> P(BaseDir); in getTargetSubDirPath()795 return getFallbackAndroidTargetPath(BaseDir); in getTargetSubDirPath()
193 getFallbackAndroidTargetPath(StringRef BaseDir) const;226 std::optional<std::string> getTargetSubDirPath(StringRef BaseDir) const;
1138 adjustFilenameForRelocatableAST(const char *Filename, StringRef BaseDir) { in adjustFilenameForRelocatableAST() argument1141 if (BaseDir.empty()) in adjustFilenameForRelocatableAST()1146 for (; Filename[Pos] && Pos < BaseDir.size(); ++Pos) in adjustFilenameForRelocatableAST()1147 if (Filename[Pos] != BaseDir[Pos]) in adjustFilenameForRelocatableAST()1157 if (!llvm::sys::path::is_separator(BaseDir.back())) in adjustFilenameForRelocatableAST()1447 SmallString<128> BaseDir; in WriteControlBlock() local1453 BaseDir.assign(CWD->getName()); in WriteControlBlock()1455 BaseDir.assign(WritingModule->Directory->getName()); in WriteControlBlock()1457 cleanPathForOutput(Context.getSourceManager().getFileManager(), BaseDir); in WriteControlBlock()1474 Stream.EmitRecordWithBlob(AbbrevCode, Record, BaseDir); in WriteControlBlock()[all …]