llvm/lldb/source/Core/DataFileCache.cpp

//===-- DataFileCache.cpp -------------------------------------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "lldb/Core/DataFileCache.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ModuleList.h"
#include "lldb/Host/FileSystem.h"
#include "lldb/Symbol/ObjectFile.h"
#include "lldb/Utility/DataEncoder.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "llvm/Support/CachePruning.h"

usingnamespacelldb_private;


llvm::CachePruningPolicy DataFileCache::GetLLDBIndexCachePolicy() {}

DataFileCache::DataFileCache(llvm::StringRef path, llvm::CachePruningPolicy policy) {}

std::unique_ptr<llvm::MemoryBuffer>
DataFileCache::GetCachedData(llvm::StringRef key) {}

bool DataFileCache::SetCachedData(llvm::StringRef key,
                                  llvm::ArrayRef<uint8_t> data) {}

FileSpec DataFileCache::GetCacheFilePath(llvm::StringRef key) {}

Status DataFileCache::RemoveCacheFile(llvm::StringRef key) {}

CacheSignature::CacheSignature(lldb_private::Module *module) {}

CacheSignature::CacheSignature(lldb_private::ObjectFile *objfile) {}

enum SignatureEncoding {};

bool CacheSignature::Encode(DataEncoder &encoder) const {}

bool CacheSignature::Decode(const lldb_private::DataExtractor &data,
                            lldb::offset_t *offset_ptr) {}

uint32_t ConstStringTable::Add(ConstString s) {}

static const llvm::StringRef kStringTableIdentifier("STAB");

bool ConstStringTable::Encode(DataEncoder &encoder) {}

bool StringTableReader::Decode(const lldb_private::DataExtractor &data,
                               lldb::offset_t *offset_ptr) {}

llvm::StringRef StringTableReader::Get(uint32_t offset) const {}