summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2014-09-15 10:38:13 +0000
committerFrederic Riss <friss@apple.com>2014-09-15 10:38:13 +0000
commit5bfe02c632b118d2c87aae1e08574b321257c820 (patch)
tree0b0064896430b63df58fc3a9c6b8af237179f8d5 /llvm/lib/DebugInfo
parent35e3b545d6837ec088956e11b106c068fa4fe6cf (diff)
downloadbcm5719-llvm-5bfe02c632b118d2c87aae1e08574b321257c820.tar.gz
bcm5719-llvm-5bfe02c632b118d2c87aae1e08574b321257c820.zip
Fix a non-virtual destructor warning introduced in r217747.
llvm-svn: 217756
Diffstat (limited to 'llvm/lib/DebugInfo')
-rw-r--r--llvm/lib/DebugInfo/DWARFUnit.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARFUnit.h b/llvm/lib/DebugInfo/DWARFUnit.h
index e5491954c61..ca105be00d6 100644
--- a/llvm/lib/DebugInfo/DWARFUnit.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud