[lld] r287616 - Remove default definition no one uses.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 21 20:17:12 PST 2016


Author: ruiu
Date: Mon Nov 21 22:17:12 2016
New Revision: 287616

URL: http://llvm.org/viewvc/llvm-project?rev=287616&view=rev
Log:
Remove default definition no one uses.

Modified:
    lld/trunk/ELF/SyntheticSections.h

Modified: lld/trunk/ELF/SyntheticSections.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SyntheticSections.h?rev=287616&r1=287615&r2=287616&view=diff
==============================================================================
--- lld/trunk/ELF/SyntheticSections.h (original)
+++ lld/trunk/ELF/SyntheticSections.h Mon Nov 21 22:17:12 2016
@@ -30,8 +30,9 @@ public:
 
   virtual ~SyntheticSection() = default;
   virtual void writeTo(uint8_t *Buf) = 0;
-  virtual size_t getSize() const { return this->Data.size(); }
+  virtual size_t getSize() const = 0;
   virtual void finalize() {}
+
   uintX_t getVA() const {
     return this->OutSec ? this->OutSec->Addr + this->OutSecOff : 0;
   }




More information about the llvm-commits mailing list