20 : Session(Session), FileId(FileId), Checksum(Checksum) {}
28 auto FileName = ST->getStringTable().getString(Checksum.
FileNameOffset);
34 return std::string(FileName.get());
47std::unique_ptr<IPDBEnumChildren<PDBSymbolCompiland>>
std::string str() const
str - Get the contents as an std::string.
std::string getChecksum() const override
NativeSourceFile(NativeSession &Session, uint32_t FileId, const codeview::FileChecksumEntry &Checksum)
PDB_Checksum getChecksumType() const override
std::string getFileName() const override
std::unique_ptr< IPDBEnumChildren< PDBSymbolCompiland > > getCompilands() const override
uint32_t getUniqueId() const override
Expected< PDBStringTable & > getStringTable()
PDB_Checksum
Specifies the hash algorithm that a source file from a PDB was hashed with.
This is an optimization pass for GlobalISel generic memory operations.
void consumeError(Error Err)
Consume a Error without doing anything.
ArrayRef< uint8_t > Checksum