Debug Info: Add a virtual destructor to DwarfExpression.

Thanks Chandler for noticing!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225724 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Adrian Prantl 2015-01-12 22:59:28 +00:00
parent 21c4458d3c
commit 34ae4e7151

View File

@ -28,6 +28,7 @@ protected:
TargetMachine &TM; TargetMachine &TM;
public: public:
DwarfExpression(TargetMachine &TM) : TM(TM) {} DwarfExpression(TargetMachine &TM) : TM(TM) {}
virtual ~DwarfExpression() {};
virtual void EmitOp(uint8_t Op, const char* Comment = nullptr) = 0; virtual void EmitOp(uint8_t Op, const char* Comment = nullptr) = 0;
virtual void EmitSigned(int Value) = 0; virtual void EmitSigned(int Value) = 0;