Fix -Wdelete-non-virtual-dtor warnings by making SampleProfile methods non-virtual

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194568 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alexey Samsonov 2013-11-13 13:09:39 +00:00
parent 563b29f8db
commit 4223b96010

View File

@ -81,10 +81,10 @@ class SampleProfile {
public: public:
SampleProfile(StringRef F) : Profiles(0), Filename(F) {} SampleProfile(StringRef F) : Profiles(0), Filename(F) {}
virtual void dump(); void dump();
virtual void loadText(); void loadText();
virtual void loadNative() { llvm_unreachable("not implemented"); } void loadNative() { llvm_unreachable("not implemented"); }
virtual bool emitAnnotations(Function &F); bool emitAnnotations(Function &F);
void printFunctionProfile(raw_ostream &OS, StringRef FName); void printFunctionProfile(raw_ostream &OS, StringRef FName);
void dumpFunctionProfile(StringRef FName); void dumpFunctionProfile(StringRef FName);