Searched refs:FileCache (Results 1 - 8 of 8) sorted by relevance

/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h1 //===-- FileCache.h ---------------------------------------------*- C++ -*-===//
22 class FileCache { class in namespace:lldb_private
24 FileCache() {} function in class:lldb_private::FileCache
29 static FileCache &GetInstance();
41 static FileCache *m_instance;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp1 //===-- FileCache.cpp -----------------------------------------------------===//
9 #include "lldb/Host/FileCache.h"
17 FileCache *FileCache::m_instance = nullptr;
19 FileCache &FileCache::GetInstance() {
21 m_instance = new FileCache();
26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec,
43 bool FileCache::CloseFile(lldb::user_id_t fd, Status &error) {
63 uint64_t FileCache
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DSourceManager.h108 typedef std::map<FileSpec, FileSP> FileCache; typedef in class:lldb_private::SourceManager::SourceFileCache
109 FileCache m_file_cache;
/freebsd-13-stable/contrib/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp13 #include "lldb/Host/FileCache.h"
213 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error);
221 return FileCache::GetInstance().CloseFile(fd, error);
231 return FileCache::GetInstance().ReadFile(fd, offset, dst, dst_len, error);
241 return FileCache::GetInstance().WriteFile(fd, offset, src, src_len, error);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DDwarfTransformer.cpp30 std::vector<uint32_t> FileCache; member in struct:llvm::gsym::CUInfo
37 FileCache.clear();
39 FileCache.assign(LineTable->Prologue.FileNames.size() + 1, UINT32_MAX);
69 assert(DwarfFileIdx < FileCache.size());
70 uint32_t &GsymFileIdx = FileCache[DwarfFileIdx];
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
H A DSourceManager.cpp698 FileCache::iterator pos = m_file_cache.find(file_spec);
710 FileCache::const_iterator pos = m_file_cache.find(file_spec);
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp20 #include "lldb/Host/FileCache.h"
220 user_id_t fd_dst = FileCache::GetInstance().OpenFile(
241 if (FileCache::GetInstance().WriteFile(fd_dst, offset,
256 !FileCache::GetInstance().CloseFile(fd_dst, error)) {
/freebsd-13-stable/lib/clang/liblldb/
H A DMakefile219 SRCS+= Host/common/FileCache.cpp

Completed in 133 milliseconds