An output backend that only generates the hash for outputs.

Synopsis

Declared in <llvm/Support/HashingOutputBackend.h>

template<typename HasherT>
class HashingOutputBackend
    : public OutputBackend

Base Classes

Name

Description

OutputBackend

Interface for virtualized outputs.

Member Functions

Name

Description

Release

Decrement the reference count; delete the object when it reaches zero.

Retain

Increment the reference count.

UseCount

Return the current reference count.

clone

Get a backend that points to the same destination as this one but that has independent settings.

createFile

Create a file. If Config is std::nullopt, uses the backend's default OutputConfig (may match OutputConfig::OutputConfig(), or may have been customized).

getHashValueForFile

Get hash value for the output files in hex representation.

outputFiles

Iterator for all the output file names.

Protected Member Functions

Name

Description

operator= [deleted]

Copy assignment is deleted; reference counts are not copied.

cloneImpl [virtual]

Return this backend; hashing backends share state and are not cloned.

createFileImpl [virtual]

Create a hashing output file for Path.

Friends

Name

Description

llvm::vfs::HashingOutputFile

HashingOutputFile.

Created with MrDocs