projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21c4458
)
Debug Info: Add a virtual destructor to DwarfExpression.
author
Adrian Prantl
<aprantl@apple.com>
Mon, 12 Jan 2015 22:59:28 +0000
(22:59 +0000)
committer
Adrian Prantl
<aprantl@apple.com>
Mon, 12 Jan 2015 22:59:28 +0000
(22:59 +0000)
Thanks Chandler for noticing!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225724
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfExpression.h
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfExpression.h
b/lib/CodeGen/AsmPrinter/DwarfExpression.h
index ffee3bc43a26d39f120f87e9b3adfd020f108b04..8f7cba48fa8436c113b59b938a2934b8e7f6cb67 100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfExpression.h
+++ b/
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;