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
[legend]

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
 
bool IsPassiveReplay () const
 

Private Member Functions

bool HasFile (llvm::StringRef file)
 

Private Attributes

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

Detailed Description

Definition at line 158 of file Reproducer.h.

Constructor & Destructor Documentation

◆ Loader()

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

Definition at line 224 of file Reproducer.cpp.

Member Function Documentation

◆ GetFile()

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

◆ GetRoot()

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

◆ HasFile()

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

Definition at line 252 of file Reproducer.cpp.

References m_files, and m_loaded.

Referenced by GetFile().

◆ IsPassiveReplay()

bool lldb_private::repro::Loader::IsPassiveReplay ( ) const
inline

Definition at line 182 of file Reproducer.h.

References m_passive_replay.

◆ LoadBuffer()

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

◆ LoadIndex()

llvm::Error Loader::LoadIndex ( )

Member Data Documentation

◆ m_files

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

Definition at line 188 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_loaded

bool lldb_private::repro::Loader::m_loaded
private

Definition at line 189 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_passive_replay

bool lldb_private::repro::Loader::m_passive_replay
private

Definition at line 190 of file Reproducer.h.

Referenced by IsPassiveReplay().

◆ m_root

FileSpec lldb_private::repro::Loader::m_root
private

Definition at line 187 of file Reproducer.h.

Referenced by GetRoot(), and LoadIndex().


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