Home
last modified time | relevance | path

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

12

/openbsd/gnu/llvm/clang/lib/Driver/
H A DDistro.cpp25 VFS.getBufferForFile("/etc/os-release"); in DetectOsRelease()
27 File = VFS.getBufferForFile("/usr/lib/os-release"); in DetectOsRelease()
53 VFS.getBufferForFile("/etc/lsb-release"); in DetectLsbRelease()
105 Version = DetectOsRelease(VFS); in DetectDistro()
110 Version = DetectLsbRelease(VFS); in DetectDistro()
116 VFS.getBufferForFile("/etc/redhat-release"); in DetectDistro()
135 File = VFS.getBufferForFile("/etc/debian_version"); in DetectDistro()
176 File = VFS.getBufferForFile("/etc/SuSE-release"); in DetectDistro()
201 if (VFS.exists("/etc/gentoo-release")) in DetectDistro()
233 return DetectDistro(VFS); in GetDistro()
[all …]
/openbsd/gnu/llvm/llvm/lib/WindowsDriver/
H A DMSVCPaths.cpp62 getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS, in getHighestNumericTupleInDirectory() argument
71 auto Status = VFS.status(DirIt->path()); in getHighestNumericTupleInDirectory()
92 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath); in getWindows10SDKVersionFromPath()
393 return !VFS.exists(TestPath); in useUniversalCRT()
434 if (VFS.exists(TestPath)) { in getWindowsSDKDir()
451 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS, in getUniversalCRTSdkDir() argument
473 return getWindows10SDKVersionFromPath(VFS, Path, UCRTVersion); in getUniversalCRTSdkDir()
476 bool findVCToolChainViaCommandLine(vfs::FileSystem &VFS, in findVCToolChainViaCommandLine() argument
541 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
548 if (!VFS.exists(ExeTestPath)) in findVCToolChainViaEnvironment()
[all …]
/openbsd/gnu/llvm/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp63 new llvm::vfs::OverlayFileSystem(VFS)); in createVFSOverlayForPreamblePCH()
404 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build() argument
407 assert(VFS && "VFS is null"); in Build()
470 VFS = in Build()
627 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
646 if (!VFS.makeAbsolute(MappedPath)) in CanReuse()
691 if (auto Status = VFS.status(F.getKey())) { in CanReuse()
753 assert(VFS); in configurePreamble()
785 if (VFS == RealFS || VFS->exists(PCHPath)) in setupPreambleStorage()
797 VFS = createVFSOverlayForPreamblePCH(PCHPath, std::move(*Buf), VFS); in setupPreambleStorage()
[all …]
H A DASTUnit.cpp169 auto FileStatus = VFS->status(FilePath); in getBufferForFileHandlingRemapping()
176 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
192 auto MPathStatus = VFS->status(MPath); in getBufferForFileHandlingRemapping()
1129 if (VFS && FileMgr) in Parse()
1161 if (VFS && FileMgr && &FileMgr->getVirtualFileSystem() == VFS) in Parse()
1339 *VFS)) { in getMainBufferWithPrecompiledPreamble()
1672 assert(VFS && "VFS is null"); in LoadFromCompilerInvocation()
1760 CIOpts.VFS = VFS; in LoadFromCommandLine()
1796 if (!VFS) in LoadFromCommandLine()
1798 VFS = createVFSFromCompilerInvocation(*CI, *Diags, VFS); in LoadFromCommandLine()
[all …]
/openbsd/gnu/llvm/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h64 llvm::vfs::FileSystem &VFS);
67 bool getWindowsSDKDir(vfs::FileSystem &VFS,
75 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS,
83 vfs::FileSystem &VFS, std::optional<llvm::StringRef> VCToolsDir,
89 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path,
96 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::string &Path,
/openbsd/gnu/llvm/llvm/tools/dsymutil/
H A DBinaryHolder.h41 BinaryHolder(IntrusiveRefCntPtr<vfs::FileSystem> VFS, bool Verbose = false)
42 : VFS(VFS), Verbose(Verbose) {} in VFS() argument
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()
246 auto Err = AE->load(VFS, Filename, Timestamp, Verbose); in getObjectEntry()
263 auto Err = OE->load(VFS, Filename, Timestamp, Verbose); in getObjectEntry()
H A DReproducer.cpp27 Reproducer::Reproducer() : VFS(vfs::getRealFileSystem()) {} in Reproducer()
37 VFS = FileCollector::createCollectorVFS(vfs::getRealFileSystem(), FC); in ReproducerGenerate()
76 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()
44 IntrusiveRefCntPtr<vfs::FileSystem> VFS;
H A DMachODebugMapParser.cpp27 MachODebugMapParser(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in MachODebugMapParser() argument
33 PaperTrailWarnings(PaperTrailWarnings), BinHolder(VFS, Verbose), in MachODebugMapParser()
628 parseDebugMap(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in parseDebugMap() argument
635 MachODebugMapParser Parser(VFS, InputFile, Archs, PrependPath, in parseDebugMap()
640 bool dumpStab(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in dumpStab() argument
643 MachODebugMapParser Parser(VFS, InputFile, Archs, PrependPath, false); in dumpStab()
H A DLinkUtils.h82 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
H A Ddsymutil.cpp608 Options.LinkOpts.VFS = (*Repro)->getVFS(); in main()
622 if (!dumpStab(Options.LinkOpts.VFS, InputFile, Options.Archs, in main()
629 parseDebugMap(Options.LinkOpts.VFS, InputFile, Options.Archs, in main()
658 BinaryHolder BinHolder(Options.LinkOpts.VFS); in main()
800 ErrorOr<vfs::Status> stat = Options.LinkOpts.VFS->status(File.path()); in main()
H A DMachOUtils.h59 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, const DebugMap &DM,
/openbsd/gnu/llvm/clang/lib/Basic/
H A DProfileList.cpp29 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
34 llvm::vfs::FileSystem &VFS);
48 llvm::vfs::FileSystem &VFS, in create() argument
51 if (PSCL->createInternal(Paths, VFS, Error)) in create()
58 llvm::vfs::FileSystem &VFS) { in createOrDie() argument
60 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()
H A DDarwinSDKInfo.cpp132 clang::parseDarwinSDKInfo(llvm::vfs::FileSystem &VFS, StringRef SDKRootPath) { in parseDarwinSDKInfo() argument
136 VFS.getBufferForFile(Filepath); in parseDarwinSDKInfo()
/openbsd/gnu/llvm/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h84 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,
169 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
178 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DASTUnit.h371 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
376 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
699 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
720 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
839 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
854 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
/openbsd/gnu/llvm/llvm/lib/ExecutionEngine/Orc/
H A DCOFFVCRuntimeSupport.cpp159 IntrusiveRefCntPtr<vfs::FileSystem> VFS = vfs::getRealFileSystem(); in getMSVCToolchainPath() local
160 if (!findVCToolChainViaCommandLine(*VFS, std::nullopt, std::nullopt, in getMSVCToolchainPath()
162 !findVCToolChainViaEnvironment(*VFS, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
163 !findVCToolChainViaSetupConfig(*VFS, VCToolChainPath, VSLayout) && in getMSVCToolchainPath()
170 if (!getUniversalCRTSdkDir(*VFS, std::nullopt, std::nullopt, std::nullopt, in getMSVCToolchainPath()
/openbsd/gnu/llvm/clang/lib/Testing/
H A DTestAST.cpp105 auto VFS = llvm::makeIntrusiveRefCnt<llvm::vfs::InMemoryFileSystem>(); in TestAST() local
106 VFS->addFile(Filename, /*ModificationTime=*/0, in TestAST()
109 VFS->addFile( in TestAST()
112 Clang->createFileManager(VFS); in TestAST()
/openbsd/gnu/llvm/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
40 llvm::vfs::FileSystem &VFS);
/openbsd/gnu/llvm/llvm/lib/Support/
H A DSpecialCaseList.cpp99 vfs::FileSystem &VFS, std::string &Error) { in createInternal() argument
103 VFS.getBufferForFile(Path); in createInternal()
/openbsd/gnu/llvm/clang/include/clang/Driver/
H A DDriver.h79 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS; variable
361 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
377 llvm::vfs::FileSystem &getVFS() const { return *VFS; } in getVFS()
H A DDistro.h98 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);

12