Fix warning introduced in r238190 about lack of virtual destructor in MCObjectFileInfo.
authorDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 26 May 2015 12:25:36 +0000 (12:25 +0000)
committerDaniel Sanders <daniel.sanders@imgtec.com>
Tue, 26 May 2015 12:25:36 +0000 (12:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238197 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/MC/MCObjectFileInfo.h

index c3e2a8b4e4ed03bc4d9c54cbdd0ad3ca7d5a993d..57e0c82dc35f8ccd464bba38069c5dfb91a9bd1c 100644 (file)
@@ -188,6 +188,8 @@ protected:
   MCSection *XDataSection;
 
 public:
+  virtual ~MCObjectFileInfo() { };
+
   void InitMCObjectFileInfo(StringRef TT, Reloc::Model RM, CodeModel::Model CM,
                             MCContext &ctx);