Home
last modified time | relevance | path

Searched refs:VFS (Results 1 – 25 of 48) sorted by relevance

12

/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/
H A DDistro.cpp23 static Distro::DistroType DetectOsRelease(llvm::vfs::FileSystem &VFS) { in DetectOsRelease() argument
25 VFS.getBufferForFile("/etc/os-release"); in DetectOsRelease()
27 File = VFS.getBufferForFile("/usr/lib/os-release"); in DetectOsRelease()
51 static Distro::DistroType DetectLsbRelease(llvm::vfs::FileSystem &VFS) { in DetectLsbRelease() argument
53 VFS.getBufferForFile("/etc/lsb-release"); in DetectLsbRelease()
97 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro() argument
102 Version = DetectOsRelease(VFS); in DetectDistro()
107 Version = DetectLsbRelease(VFS); in DetectDistro()
113 VFS.getBufferForFile("/etc/redhat-release"); in DetectDistro()
132 File = VFS.getBufferForFile("/etc/debian_version"); in DetectDistro()
[all …]
H A DDarwinSDKInfo.cpp19 driver::parseDarwinSDKInfo(llvm::vfs::FileSystem &VFS, StringRef SDKRootPath) { in parseDarwinSDKInfo() argument
23 VFS.getBufferForFile(Filepath); in parseDarwinSDKInfo()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp59 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH() argument
66 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
315 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
318 assert(VFS && "VFS is null"); in Build()
383 VFS = in Build()
384 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build()
387 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build()
498 llvm::vfs::FileSystem &VFS) const { in CanReuse()
527 if (!moveOnNoError(VFS.status(R.second), Status)) { in CanReuse()
534 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
[all …]
H A DASTUnit.cpp160 llvm::vfs::FileSystem *VFS, in getBufferForFileHandlingRemapping() argument
169 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
176 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
181 BufferOwner = valueOrNull(VFS->getBufferForFile(RF.second, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
192 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
206 BufferOwner = valueOrNull(VFS->getBufferForFile(FilePath, -1, true, isVolatile)); in getBufferForFileHandlingRemapping()
778 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = in LoadFromASTFile() local
780 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile()
1099 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument
1103 if (VFS && FileMgr) in Parse()
[all …]
H A DCreateInvocationFromCommandLine.cpp29 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool ShouldRecoverOnErorrs, in createInvocationFromCommandLine() argument
44 "clang LLVM compiler", VFS); in createInvocationFromCommandLine()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Basic/
H A DProfileList.cpp28 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
33 llvm::vfs::FileSystem &VFS);
47 llvm::vfs::FileSystem &VFS, in create() argument
50 if (PSCL->createInternal(Paths, VFS, Error)) in create()
57 llvm::vfs::FileSystem &VFS) { in createOrDie() argument
59 if (auto PSCL = create(Paths, VFS, Error)) in createOrDie()
H A DSanitizerSpecialCaseList.cpp19 llvm::vfs::FileSystem &VFS, in create() argument
23 if (SSCL->createInternal(Paths, VFS, Error)) { in create()
32 llvm::vfs::FileSystem &VFS) { in createOrDie() argument
34 if (auto SSCL = create(Paths, VFS, Error)) in createOrDie()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/dsymutil/
H A DBinaryHolder.h41 BinaryHolder(IntrusiveRefCntPtr<vfs::FileSystem> VFS, bool Verbose = false)
42 : VFS(VFS), Verbose(Verbose) {} in VFS() function
60 Error load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, StringRef Filename,
112 Error load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, StringRef Filename,
141 IntrusiveRefCntPtr<vfs::FileSystem> VFS; variable
H A DBinaryHolder.cpp44 Error BinaryHolder::ArchiveEntry::load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, in load() argument
52 : VFS->getBufferForFile(ArchiveFilename, -1, false); in load()
89 Error BinaryHolder::ObjectEntry::load(IntrusiveRefCntPtr<vfs::FileSystem> VFS, in load() argument
95 : VFS->getBufferForFile(Filename, -1, false); in load()
100 llvm::ErrorOr<vfs::Status> Stat = VFS->status(Filename); in load()
250 auto Err = AE.load(VFS, Filename, Timestamp, Verbose); in getObjectEntry()
267 auto Err = OE.load(VFS, Filename, Timestamp, Verbose); in getObjectEntry()
H A DReproducer.cpp26 Reproducer::Reproducer() : VFS(vfs::getRealFileSystem()) {} in Reproducer()
33 VFS = FileCollector::createCollectorVFS(vfs::getRealFileSystem(), FC); in ReproducerGenerate()
59 VFS = llvm::vfs::getVFSFromYAML(std::move(Buffer.get()), nullptr, Mapping); in ReproducerUse()
H A Ddsymutil.h38 parseDebugMap(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
44 bool dumpStab(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
H A DReproducer.h35 IntrusiveRefCntPtr<vfs::FileSystem> getVFS() const { return VFS; } in getVFS()
42 IntrusiveRefCntPtr<vfs::FileSystem> VFS;
H A DMachODebugMapParser.cpp26 MachODebugMapParser(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in MachODebugMapParser() argument
32 PaperTrailWarnings(PaperTrailWarnings), BinHolder(VFS, Verbose), in MachODebugMapParser()
601 parseDebugMap(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in parseDebugMap() argument
608 MachODebugMapParser Parser(VFS, InputFile, Archs, PrependPath, in parseDebugMap()
613 bool dumpStab(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in dumpStab() argument
616 MachODebugMapParser Parser(VFS, InputFile, Archs, PrependPath, false); in dumpStab()
H A Ddsymutil.cpp531 Options.LinkOpts.VFS = (*Repro)->getVFS(); in main()
545 if (!dumpStab(Options.LinkOpts.VFS, InputFile, Options.Archs, in main()
552 parseDebugMap(Options.LinkOpts.VFS, InputFile, Options.Archs, in main()
581 BinaryHolder BinHolder(Options.LinkOpts.VFS); in main()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h85 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
109 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DASTUnit.h372 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
377 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
719 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
838 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
853 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
/netbsd-src/external/apache2/llvm/dist/clang/lib/Driver/ToolChains/
H A DMSVC.cpp66 static bool canExecute(llvm::vfs::FileSystem &VFS, StringRef Path) { in canExecute() argument
67 auto Status = VFS.status(Path); in canExecute()
78 static std::string getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS, in getHighestNumericTupleInDirectory() argument
84 for (llvm::vfs::directory_iterator DirIt = VFS.dir_begin(Directory, EC), in getHighestNumericTupleInDirectory()
87 auto Status = VFS.status(DirIt->path()); in getHighestNumericTupleInDirectory()
105 findVCToolChainViaCommandLine(llvm::vfs::FileSystem &VFS, const ArgList &Args, in findVCToolChainViaCommandLine() argument
119 VCToolsVersion = getHighestNumericTupleInDirectory(VFS, ToolsPath); in findVCToolChainViaCommandLine()
133 findVCToolChainViaEnvironment(llvm::vfs::FileSystem &VFS, std::string &Path, in findVCToolChainViaEnvironment() argument
172 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
179 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
[all …]
H A DGnu.cpp972 llvm::vfs::FileSystem &VFS; member in __anon5b53d9ed0111::FilterNonExistent
975 FilterNonExistent(StringRef Base, StringRef File, llvm::vfs::FileSystem &VFS) in FilterNonExistent() argument
976 : Base(Base), File(File), VFS(VFS) {} in FilterNonExistent()
978 return !VFS.exists(Base + M.gccSuffix() + File); in operator ()()
1111 static bool findMipsAndroidMultilibs(llvm::vfs::FileSystem &VFS, StringRef Path, in findMipsAndroidMultilibs() argument
1139 if (VFS.exists(Path + "/mips-r6")) in findMipsAndroidMultilibs()
1141 else if (VFS.exists(Path + "/32")) in findMipsAndroidMultilibs()
1961 auto &VFS = D.getVFS(); in init() local
1962 if (!VFS.exists(Prefix)) in init()
1966 if (!VFS.exists(LibDir)) in init()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
40 llvm::vfs::FileSystem &VFS);
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Driver/
H A DDriver.h62 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS; variable
315 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
329 llvm::vfs::FileSystem &getVFS() const { return *VFS; } in getVFS()
H A DDarwinSDKInfo.h35 Expected<Optional<DarwinSDKInfo>> parseDarwinSDKInfo(llvm::vfs::FileSystem &VFS,
/netbsd-src/external/cddl/dtracetoolkit/dist/FS/
H A DReadme3 This would include VFS and UFS activity.
/netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/
H A DTooling.cpp78 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in newDriver() argument
81 *Diagnostics, "clang LLVM compiler", std::move(VFS)); in newDriver()
184 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in runToolOnCodeWithArgs() argument
192 new FileManager(FileSystemOptions(), VFS)); in runToolOnCodeWithArgs()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DSpecialCaseList.cpp100 vfs::FileSystem &VFS, std::string &Error) { in createInternal() argument
104 VFS.getBufferForFile(Path); in createInternal()
/netbsd-src/tests/fs/nfs/nfsservice/
H A Dexports9 # but this is enough for the current VFS level tests.

12