[llvm] r238494 - [llvm] Adding vdtor to fix warning.

Colin LeMahieu colinl at codeaurora.org
Thu May 28 13:59:08 PDT 2015


Author: colinl
Date: Thu May 28 15:59:08 2015
New Revision: 238494

URL: http://llvm.org/viewvc/llvm-project?rev=238494&view=rev
Log:
[llvm] Adding vdtor to fix warning.

Modified:
    llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp

Modified: llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp?rev=238494&r1=238493&r2=238494&view=diff
==============================================================================
--- llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp (original)
+++ llvm/trunk/tools/llvm-objdump/llvm-objdump.cpp Thu May 28 15:59:08 2015
@@ -204,6 +204,7 @@ bool llvm::RelocAddressLess(RelocationRe
 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,





More information about the llvm-commits mailing list