forked from OSchip/llvm-project
Fix -Wdelete-non-virtual-dtor warnings by making SampleProfile methods non-virtual
llvm-svn: 194568
This commit is contained in:
parent
5c29705c13
commit
aa19c0a1c3
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue