/openbsd/gnu/llvm/clang/lib/Driver/ |
H A D | Distro.cpp | 25 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 D | MSVCPaths.cpp | 62 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 D | PrecompiledPreamble.cpp | 63 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 D | ASTUnit.cpp | 169 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 D | MSVCPaths.h | 64 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 D | BinaryHolder.h | 41 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 D | BinaryHolder.cpp | 44 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 D | Reproducer.cpp | 27 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 D | dsymutil.h | 38 parseDebugMap(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, 44 bool dumpStab(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
|
H A D | Reproducer.h | 35 IntrusiveRefCntPtr<vfs::FileSystem> getVFS() const { return VFS; } in getVFS() 44 IntrusiveRefCntPtr<vfs::FileSystem> VFS;
|
H A D | MachODebugMapParser.cpp | 27 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 D | LinkUtils.h | 82 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS =
|
H A D | dsymutil.cpp | 608 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 D | MachOUtils.h | 59 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, const DebugMap &DM,
|
/openbsd/gnu/llvm/clang/lib/Basic/ |
H A D | ProfileList.cpp | 29 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 D | SanitizerSpecialCaseList.cpp | 19 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 D | DarwinSDKInfo.cpp | 132 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 D | PrecompiledPreamble.h | 84 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 D | ASTUnit.h | 371 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 D | COFFVCRuntimeSupport.cpp | 159 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 D | TestAST.cpp | 105 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 D | SanitizerSpecialCaseList.h | 35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS, 40 llvm::vfs::FileSystem &VFS);
|
/openbsd/gnu/llvm/llvm/lib/Support/ |
H A D | SpecialCaseList.cpp | 99 vfs::FileSystem &VFS, std::string &Error) { in createInternal() argument 103 VFS.getBufferForFile(Path); in createInternal()
|
/openbsd/gnu/llvm/clang/include/clang/Driver/ |
H A D | Driver.h | 79 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 D | Distro.h | 98 explicit Distro(llvm::vfs::FileSystem &VFS, const llvm::Triple &TargetOrHost);
|