OSDN Git Service

Fix a non-virtual destructor warning introduced in r217747.
authorFrederic Riss <friss@apple.com>
Mon, 15 Sep 2014 10:38:13 +0000 (10:38 +0000)
committerFrederic Riss <friss@apple.com>
Mon, 15 Sep 2014 10:38:13 +0000 (10:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217756 91177308-0d34-0410-b5e6-96231b3b80d8

lib/DebugInfo/DWARFUnit.h

index e549195..ca105be 100644 (file)
@@ -35,6 +35,8 @@ public:
   /// Returns the Unit that contains the given section offset in the
   /// same section this Unit originated from.
   virtual DWARFUnit *getUnitForOffset(uint32_t Offset) const = 0;
+
+  virtual ~DWARFUnitSectionBase() {}
 };
 
 /// Concrete instance of DWARFUnitSection, specialized for one Unit type.