forked from OSchip/llvm-project
[ELF] Make SyntheticSection::writeTo pure virtual. NFC.
llvm-svn: 286445
This commit is contained in:
parent
f67433abd9
commit
12e8a92acd
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue