summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Leviant <eleviant@accesssoftek.com>2016-11-10 12:50:59 +0000
committerEugene Leviant <eleviant@accesssoftek.com>2016-11-10 12:50:59 +0000
commit12e8a92acd77d0ec5925342cbe00decc0ef9bbfc (patch)
treead8ad62239a4d4d5ec7cb44f235652d0c57c00ef
parentf67433abd9e9a07f030806397d7ef831537fabf4 (diff)
downloadbcm5719-llvm-12e8a92acd77d0ec5925342cbe00decc0ef9bbfc.tar.gz
bcm5719-llvm-12e8a92acd77d0ec5925342cbe00decc0ef9bbfc.zip
[ELF] Make SyntheticSection::writeTo pure virtual. NFC.
llvm-svn: 286445
-rw-r--r--lld/ELF/SyntheticSections.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h
index 9901b645d73..4910293ae00 100644
--- a/lld/ELF/SyntheticSections.h
+++ b/lld/ELF/SyntheticSections.h
@@ -67,7 +67,7 @@ public:
: InputSection<ELFT>(Flags, Type, Addralign, ArrayRef<uint8_t>(), Name,
InputSectionData::Synthetic) {}
- virtual void writeTo(uint8_t *Buf) {}
+ virtual void writeTo(uint8_t *Buf) = 0;
virtual size_t getSize() const { return this->Data.size(); }
static bool classof(const InputSectionData *D) {
OpenPOWER on IntegriCloud