Debug Info: Add a virtual destructor to DwarfExpression.

Thanks Chandler for noticing!

llvm-svn: 225724
This commit is contained in:
Adrian Prantl 2015-01-12 22:59:28 +00:00
parent 2482fe0b52
commit 0fec811d7b
1 changed files with 1 additions and 0 deletions

View File

@ -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;