LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::repro::Loader Class Referencefinal

#include <Reproducer.h>

Collaboration diagram for lldb_private::repro::Loader:
Collaboration graph

Public Member Functions

 Loader (FileSpec root, bool passive=false)
template<typename T >
FileSpec GetFile ()
template<typename T >
llvm::Expected< std::stringLoadBuffer ()
llvm::Error LoadIndex ()
const FileSpecGetRoot () const

Private Member Functions

bool HasFile (llvm::StringRef file)

Private Attributes

FileSpec m_root
std::vector< std::stringm_files
bool m_loaded

Detailed Description

Definition at line 156 of file Reproducer.h.

Constructor & Destructor Documentation

◆ Loader()

Loader::Loader ( FileSpec  root,
bool  passive = false 

Definition at line 199 of file Reproducer.cpp.

Member Function Documentation

◆ GetFile()

template<typename T >
FileSpec lldb_private::repro::Loader::GetFile ( )

◆ GetRoot()

const FileSpec& lldb_private::repro::Loader::GetRoot ( ) const

Definition at line 178 of file Reproducer.h.

References m_root.

Referenced by lldb_private::repro::MultiLoader< T >::Create(), and GetFile().

◆ HasFile()

bool Loader::HasFile ( llvm::StringRef  file)

Definition at line 226 of file Reproducer.cpp.

References m_files, and m_loaded.

Referenced by GetFile().

◆ LoadBuffer()

template<typename T >
llvm::Expected<std::string> lldb_private::repro::Loader::LoadBuffer ( )

◆ LoadIndex()

llvm::Error Loader::LoadIndex ( )

Member Data Documentation

◆ m_files

std::vector<std::string> lldb_private::repro::Loader::m_files

Definition at line 184 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_loaded

bool lldb_private::repro::Loader::m_loaded

Definition at line 185 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_root

FileSpec lldb_private::repro::Loader::m_root

Definition at line 183 of file Reproducer.h.

Referenced by GetRoot(), and LoadIndex().

The documentation for this class was generated from the following files: