From 6a6acdcc176131b93ba8ad4097e39b5f04dd152a Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Tue, 26 May 2015 12:25:36 +0000 Subject: [PATCH] Fix warning introduced in r238190 about lack of virtual destructor in MCObjectFileInfo. llvm-svn: 238197 --- llvm/include/llvm/MC/MCObjectFileInfo.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/llvm/include/llvm/MC/MCObjectFileInfo.h b/llvm/include/llvm/MC/MCObjectFileInfo.h index c3e2a8b..57e0c82 100644 --- a/llvm/include/llvm/MC/MCObjectFileInfo.h +++ b/llvm/include/llvm/MC/MCObjectFileInfo.h @@ -188,6 +188,8 @@ protected: MCSection *XDataSection; public: + virtual ~MCObjectFileInfo() { }; + void InitMCObjectFileInfo(StringRef TT, Reloc::Model RM, CodeModel::Model CM, MCContext &ctx); -- 2.7.4