From 69513f19ba0fa39e2ee8793ab06e54a9d5add671 Mon Sep 17 00:00:00 2001 From: Frederic Riss Date: Mon, 15 Sep 2014 10:38:13 +0000 Subject: [PATCH] Fix a non-virtual destructor warning introduced in r217747. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@217756 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/DebugInfo/DWARFUnit.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/DebugInfo/DWARFUnit.h b/lib/DebugInfo/DWARFUnit.h index e5491954c61..ca105be00d6 100644 --- a/lib/DebugInfo/DWARFUnit.h +++ b/lib/DebugInfo/DWARFUnit.h @@ -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.