Home
last modified time | relevance | path

Searched refs:BaseDir (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DTarWriter.cpp170 StringRef BaseDir) { in create() argument
176 return std::unique_ptr<TarWriter>(new TarWriter(FD, BaseDir)); in create()
179 TarWriter::TarWriter(int FD, StringRef BaseDir) in TarWriter() argument
181 BaseDir(std::string(BaseDir)) {} in TarWriter()
186 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
/freebsd/contrib/llvm-project/llvm/lib/Testing/Support/
H A DSupportHelpers.cpp17 SmallString<128> BaseDir = llvm::sys::path::parent_path(Argv0); in findSrcDirMap() local
19 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()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DTarWriter.h21 StringRef BaseDir);
26 TarWriter(int FD, StringRef BaseDir);
28 std::string BaseDir; variable
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/PerfJITEvents/
H A DPerfJITEventListener.cpp304 if (const char *BaseDir = getenv("JITDUMPDIR")) in InitDebuggingDir() local
305 Path.append(BaseDir); in InitDebuggingDir()
/freebsd/contrib/llvm-project/clang/lib/Driver/
H A DToolChain.cpp718 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()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h193 getFallbackAndroidTargetPath(StringRef BaseDir) const;
226 std::optional<std::string> getTargetSubDirPath(StringRef BaseDir) const;
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriter.cpp1138 adjustFilenameForRelocatableAST(const char *Filename, StringRef BaseDir) { in adjustFilenameForRelocatableAST() argument
1141 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() local
1453 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 …]