#include "lldb/Utility/FileSpecList.h"
#include "lldb/Target/Statistics.h"
#include "lldb/Target/Target.h"
#include "lldb/Utility/ConstString.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/RealpathPrefixes.h"
#include "lldb/Utility/Stream.h"
#include <cstdint>
#include <utility>
usingnamespacelldb_private;
FileSpecList::FileSpecList() : … { … }
FileSpecList::~FileSpecList() = default;
void FileSpecList::Append(const FileSpec &file_spec) { … }
bool FileSpecList::AppendIfUnique(const FileSpec &file_spec) { … }
bool SupportFileList::AppendIfUnique(const FileSpec &file_spec) { … }
void FileSpecList::Clear() { … }
void FileSpecList::Dump(Stream *s, const char *separator_cstr) const { … }
static size_t FindFileIndex(size_t start_idx, const FileSpec &file_spec,
bool full, size_t num_files,
std::function<const FileSpec &(size_t)> get_ith) { … }
size_t FileSpecList::FindFileIndex(size_t start_idx, const FileSpec &file_spec,
bool full) const { … }
size_t SupportFileList::FindFileIndex(size_t start_idx,
const FileSpec &file_spec,
bool full) const { … }
enum IsCompatibleResult { … };
IsCompatibleResult IsCompatible(const FileSpec &curr_file,
const FileSpec &file_spec) { … }
size_t SupportFileList::FindCompatibleIndex(
size_t start_idx, const FileSpec &file_spec,
RealpathPrefixes *realpath_prefixes) const { … }
const FileSpec &FileSpecList::GetFileSpecAtIndex(size_t idx) const { … }
const FileSpec &SupportFileList::GetFileSpecAtIndex(size_t idx) const { … }
std::shared_ptr<SupportFile>
SupportFileList::GetSupportFileAtIndex(size_t idx) const { … }
size_t FileSpecList::MemorySize() const { … }
size_t FileSpecList::GetSize() const { … }