9#ifndef LLDB_UTILITY_SUPPORTFILE_H
10#define LLDB_UTILITY_SUPPORTFILE_H
44 "eEqualChecksum and eEqualChecksumIfSet are mutually exclusive");
Wraps either a FileSpec that represents a local file or a source file whose contents is known (for ex...
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
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.