From 08715e6c47f68b7ea985fbd76d4945dfdff0a9aa Mon Sep 17 00:00:00 2001 From: Jez Ng Date: Sun, 27 Jun 2021 15:31:34 -0400 Subject: [PATCH] [lld-macho][nfc] Remove unnecessary vertical spacing This makes NonLazyPointerSectionBase's style more in line with the rest of the classes in its file. --- lld/MachO/SyntheticSections.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lld/MachO/SyntheticSections.h b/lld/MachO/SyntheticSections.h index cf464b8..b33d5e5 100644 --- a/lld/MachO/SyntheticSections.h +++ b/lld/MachO/SyntheticSections.h @@ -113,19 +113,13 @@ public: class NonLazyPointerSectionBase : public SyntheticSection { public: NonLazyPointerSectionBase(const char *segname, const char *name); - const llvm::SetVector &getEntries() const { return entries; } - bool isNeeded() const override { return !entries.empty(); } - uint64_t getSize() const override { return entries.size() * target->wordSize; } - void writeTo(uint8_t *buf) const override; - void addEntry(Symbol *sym); - uint64_t getVA(uint32_t gotIndex) const { return addr + gotIndex * target->wordSize; } -- 2.7.4