diff --git a/include/llvm/Analysis/DebugInfo.h b/include/llvm/Analysis/DebugInfo.h index 7c6b421ca35..b962d136deb 100644 --- a/include/llvm/Analysis/DebugInfo.h +++ b/include/llvm/Analysis/DebugInfo.h @@ -128,6 +128,7 @@ namespace llvm { if (DbgNode && !isScope()) DbgNode = 0; } + virtual ~DIScope() {} virtual const std::string &getFilename(std::string &F) const { return F;