mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-17 17:06:59 +00:00
Add virtual dtor
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257734 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d9de69f705
commit
a4ccbcef22
@ -313,6 +313,7 @@ struct CovMapFuncRecordReader {
|
||||
// the module.
|
||||
virtual std::error_code readFunctionRecords(const char *&Buf,
|
||||
const char *End) = 0;
|
||||
virtual ~CovMapFuncRecordReader() {}
|
||||
template <class IntPtrT, support::endianness Endian>
|
||||
static std::unique_ptr<CovMapFuncRecordReader>
|
||||
get(coverage::CoverageMappingVersion Version, InstrProfSymtab &P,
|
||||
@ -340,6 +341,7 @@ public:
|
||||
std::vector<BinaryCoverageReader::ProfileMappingRecord> &R,
|
||||
std::vector<StringRef> &F)
|
||||
: ProfileNames(P), Filenames(F), Records(R) {}
|
||||
~VersionedCovMapFuncRecordReader() override {}
|
||||
|
||||
std::error_code readFunctionRecords(const char *&Buf,
|
||||
const char *End) override {
|
||||
|
Loading…
Reference in New Issue
Block a user