Remove default definition no one uses.
authorRui Ueyama <ruiu@google.com>
Tue, 22 Nov 2016 04:17:12 +0000 (04:17 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 22 Nov 2016 04:17:12 +0000 (04:17 +0000)
llvm-svn: 287616

lld/ELF/SyntheticSections.h

index 4e7e975..3571ffc 100644 (file)
@@ -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;
   }