LLVM: llvm::vfs::HashingOutputBackend< HasherT > Class Template Reference (original) (raw)

An output backend that only generates the hash for outputs. More...

#include "[llvm/Support/HashingOutputBackend.h](HashingOutputBackend%5F8h%5Fsource.html)"

Public Member Functions
auto outputFiles () const
Iterator for all the output file names.
std::optional< std::string > getHashValueForFile (StringRef Path)
Get hash value for the output files in hex representation.
Public Member Functions inherited from llvm::vfs::OutputBackend
IntrusiveRefCntPtr< OutputBackend > clone () const
Get a backend that points to the same destination as this one but that has independent settings.
LLVM_ABI Expected< OutputFile > createFile (const Twine &Path, std::optional< OutputConfig > Config=std::nullopt)
Create a file.
virtual ~OutputBackend ()=default
Public Member Functions inherited from llvm::RefCountedBase< OutputBackend >
unsigned UseCount () const
void Retain () const
void Release () const
Protected Member Functions
IntrusiveRefCntPtr< OutputBackend > cloneImpl () const override
Must be thread-safe.
Expected< std::unique_ptr< OutputFileImpl > > createFileImpl (StringRef Path, std::optional< OutputConfig > Config) override
Create a file for Path.
Protected Member Functions inherited from llvm::vfs::OutputBackend
OutputBackend ()=default
Protected Member Functions inherited from llvm::RefCountedBase< OutputBackend >
RefCountedBase ()=default
RefCountedBase & operator= (const RefCountedBase &)=delete
~RefCountedBase ()
Friends
class HashingOutputFile< HasherT >

template
class llvm::vfs::HashingOutputBackend< HasherT >

An output backend that only generates the hash for outputs.

Definition at line 62 of file HashingOutputBackend.h.

cloneImpl()

template

createFileImpl()

template

| | inlineoverrideprotectedvirtual | | --------------------------------- |

getHashValueForFile()

template

Get hash value for the output files in hex representation.

Return None if the requested path is not generated.

Not thread safe. Should be queried after all outputs are written.

Definition at line 90 of file HashingOutputBackend.h.

References F, and llvm::toHex().

outputFiles()

template

Iterator for all the output file names.

Not thread safe. Should be queried after all outputs are written.

Definition at line 84 of file HashingOutputBackend.h.

HashingOutputFile< HasherT >

template


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