9#ifndef LLDB_UTILITY_SUPPORTFILE_H
10#define LLDB_UTILITY_SUPPORTFILE_H
44 "eEqualChecksum and eEqualChecksumIfSet are mutually exclusive");
Wraps a FileSpec and an optional Checksum.
const Checksum m_checksum
SupportFile(const SupportFile &other)=delete
virtual ~SupportFile()=default
SupportFile(const FileSpec &spec, const Checksum &checksum)
@ eEqualFileSpecAndChecksumIfSet
@ eEqualFileSpecAndChecksum
SupportFile(SupportFile &&other)=default
const FileSpec & GetSpecOnly() const
Return the file name only. Useful for resolving breakpoints by file name.
bool Equal(const SupportFile &other, SupportFileEquality equality=eEqualFileSpecAndChecksum) const
const FileSpec m_file_spec
virtual const FileSpec & Materialize()
Materialize the file to disk and return the path to that temporary file.
const Checksum & GetChecksum() const
Return the checksum or all zeros if there is none.
SupportFile(const FileSpec &spec)
A class that represents a running process on the host machine.