From 9259787e4f3b36d1712c821eead62e7faad3ecd4 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Wed, 20 Nov 2013 00:54:31 +0000 Subject: [PATCH] Remove polymorphic destruction for DIE. DIEBlocks are owned elsewhere and not polymorphically deleted and they are the only thing that derive from DIE. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@195183 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/AsmPrinter/DIE.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CodeGen/AsmPrinter/DIE.h b/lib/CodeGen/AsmPrinter/DIE.h index 0574a98536b..e8265153f39 100644 --- a/lib/CodeGen/AsmPrinter/DIE.h +++ b/lib/CodeGen/AsmPrinter/DIE.h @@ -134,7 +134,7 @@ namespace llvm { explicit DIE(unsigned Tag) : Offset(0), Size(0), Abbrev((dwarf::Tag)Tag, dwarf::DW_CHILDREN_no), Parent(0) {} - virtual ~DIE(); + ~DIE(); // Accessors. DIEAbbrev &getAbbrev() { return Abbrev; } -- 2.34.1