[llvm] Adding vdtor to fix warning.
authorColin LeMahieu <colinl@codeaurora.org>
Thu, 28 May 2015 20:59:08 +0000 (20:59 +0000)
committerColin LeMahieu <colinl@codeaurora.org>
Thu, 28 May 2015 20:59:08 +0000 (20:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238494 91177308-0d34-0410-b5e6-96231b3b80d8

tools/llvm-objdump/llvm-objdump.cpp

index a78d1d267dd8c1a2614ee912e7c71ab77cd6a806..ae3fb9d5ac897bf5834e567564c1a261cf737b23 100644 (file)
@@ -204,6 +204,7 @@ bool llvm::RelocAddressLess(RelocationRef a, RelocationRef b) {
 namespace {
 class PrettyPrinter {
 public:
 namespace {
 class PrettyPrinter {
 public:
+  virtual ~PrettyPrinter(){}
   virtual void printInst(MCInstPrinter &IP, const MCInst *MI, bool ShowRawInsn,
                          ArrayRef<uint8_t> Bytes, uint64_t Address,
                          raw_ostream &OS, StringRef Annot,
   virtual void printInst(MCInstPrinter &IP, const MCInst *MI, bool ShowRawInsn,
                          ArrayRef<uint8_t> Bytes, uint64_t Address,
                          raw_ostream &OS, StringRef Annot,