| /openbsd-src/gnu/llvm/clang/lib/Driver/ |
| H A D | Distro.cpp | 23 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() 100 static Distro::DistroType DetectDistro(llvm::vfs::FileSystem &VFS) { in DetectDistro() argument 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() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/WindowsDriver/ |
| H A D | MSVCPaths.cpp | 62 getHighestNumericTupleInDirectory(llvm::vfs::FileSystem &VFS, in getHighestNumericTupleInDirectory() argument 68 for (llvm::vfs::directory_iterator DirIt = VFS.dir_begin(Directory, EC), in getHighestNumericTupleInDirectory() 71 auto Status = VFS.status(DirIt->path()); in getHighestNumericTupleInDirectory() 87 static bool getWindows10SDKVersionFromPath(llvm::vfs::FileSystem &VFS, in getWindows10SDKVersionFromPath() argument 92 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath); in getWindows10SDKVersionFromPath() 97 llvm::vfs::FileSystem &VFS, std::optional<llvm::StringRef> WinSdkDir, in getWindowsSDKDirViaCommandLine() argument 115 SDKPath, getHighestNumericTupleInDirectory(VFS, SDKPath)); in getWindowsSDKDirViaCommandLine() 124 } else if (getWindows10SDKVersionFromPath(VFS, Path, Version)) { in getWindowsSDKDirViaCommandLine() 389 Triple::ArchType TargetArch, vfs::FileSystem &VFS) { in useUniversalCRT() argument 393 return !VFS.exists(TestPath); in useUniversalCRT() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | PrecompiledPreamble.cpp | 56 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH() argument 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() 471 createVFSFromCompilerInvocation(Clang->getInvocation(), Diagnostics, VFS); in Build() 474 Clang->setFileManager(new FileManager(Clang->getFileSystemOpts(), VFS)); in Build() 591 llvm::vfs::FileSystem &VFS) const { in CanReuse() 620 if (!moveOnNoError(VFS.status(R.second), Status)) { in CanReuse() 627 if (!VFS.makeAbsolute(MappedPath)) in CanReuse() [all …]
|
| H A D | ASTUnit.cpp | 160 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() 791 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in LoadFromASTFile() argument 807 AST->FileMgr = new FileManager(FileSystemOpts, VFS); in LoadFromASTFile() 1125 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in Parse() argument 1129 if (VFS && FileMgr) in Parse() [all …]
|
| /openbsd-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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-src/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);
|