summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-01-12 22:59:28 +0000
committerAdrian Prantl <aprantl@apple.com>2015-01-12 22:59:28 +0000
commit0fec811d7bd45406b4f46d575e3e5591b64d9a8f (patch)
treeb2a77d5eacde6e9e41f3fc52f8972901d28eef72 /llvm/lib/CodeGen
parent2482fe0b52c97d145605d3e614718da81b76c858 (diff)
downloadbcm5719-llvm-0fec811d7bd45406b4f46d575e3e5591b64d9a8f.tar.gz
bcm5719-llvm-0fec811d7bd45406b4f46d575e3e5591b64d9a8f.zip
Debug Info: Add a virtual destructor to DwarfExpression.
Thanks Chandler for noticing! llvm-svn: 225724
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
index ffee3bc43a2..8f7cba48fa8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfExpression.h
@@ -28,6 +28,7 @@ protected:
TargetMachine &TM;
public:
DwarfExpression(TargetMachine &TM) : TM(TM) {}
+ virtual ~DwarfExpression() {};
virtual void EmitOp(uint8_t Op, const char* Comment = nullptr) = 0;
virtual void EmitSigned(int Value) = 0;
OpenPOWER on IntegriCloud