From 8b493f1ac6ec0b1014179103fc731090a438e79b Mon Sep 17 00:00:00 2001 From: Rui Ueyama Date: Tue, 22 Nov 2016 04:17:12 +0000 Subject: [PATCH] Remove default definition no one uses. llvm-svn: 287616 --- lld/ELF/SyntheticSections.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h index 4e7e975..3571ffc 100644 --- a/lld/ELF/SyntheticSections.h +++ b/lld/ELF/SyntheticSections.h @@ -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; } -- 2.7.4