[llvm] r217756 - Fix a non-virtual destructor warning introduced in r217747.
Frederic Riss
friss at apple.com
Mon Sep 15 03:38:13 PDT 2014
Author: friss
Date: Mon Sep 15 05:38:13 2014
New Revision: 217756
URL: http://llvm.org/viewvc/llvm-project?rev=217756&view=rev
Log:
Fix a non-virtual destructor warning introduced in r217747.
Modified:
llvm/trunk/lib/DebugInfo/DWARFUnit.h
Modified: llvm/trunk/lib/DebugInfo/DWARFUnit.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/DebugInfo/DWARFUnit.h?rev=217756&r1=217755&r2=217756&view=diff
==============================================================================
--- llvm/trunk/lib/DebugInfo/DWARFUnit.h (original)
+++ llvm/trunk/lib/DebugInfo/DWARFUnit.h Mon Sep 15 05:38:13 2014
@@ -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.
More information about the llvm-commits
mailing list