LLVM
8.0.1
|
#include "llvm/XRay/FDRRecordProducer.h"
Public Member Functions | |
FileBasedRecordProducer (const XRayFileHeader &FH, DataExtractor &DE, uint32_t &OP) | |
Expected< std::unique_ptr< Record > > | produce () override |
This producer encapsulates the logic for loading a File-backed RecordProducer hidden behind a DataExtractor. More... | |
Public Member Functions inherited from llvm::xray::RecordProducer | |
virtual | ~RecordProducer ()=default |
Definition at line 28 of file FDRRecordProducer.h.
|
inline |
Definition at line 39 of file FDRRecordProducer.h.
References llvm::xray::RecordProducer::produce().
|
overridevirtual |
This producer encapsulates the logic for loading a File-backed RecordProducer hidden behind a DataExtractor.
Implements llvm::xray::RecordProducer.
Definition at line 113 of file FDRRecordProducer.cpp.
References assert(), llvm::createStringError(), llvm::dyn_cast(), llvm::DataExtractor::getU8(), llvm::joinErrors(), llvm::make_error_code(), and llvm::xray::XRayFileHeader::Version.