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::string > LoadBuffer ()
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::string > m_files
bool m_loaded
bool m_passive_replay

Detailed Description

Definition at line 292 of file Reproducer.h.

Constructor & Destructor Documentation

◆ Loader()

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

Definition at line 232 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

◆ HasFile()

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

Definition at line 260 of file Reproducer.cpp.

References m_files, and m_loaded.

◆ IsPassiveReplay()

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

Definition at line 316 of file Reproducer.h.

◆ 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 322 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_loaded

bool lldb_private::repro::Loader::m_loaded

Definition at line 323 of file Reproducer.h.

Referenced by HasFile(), and LoadIndex().

◆ m_passive_replay

bool lldb_private::repro::Loader::m_passive_replay

Definition at line 324 of file Reproducer.h.

◆ m_root

FileSpec lldb_private::repro::Loader::m_root

Definition at line 321 of file Reproducer.h.

Referenced by LoadIndex().

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