diff options
Diffstat (limited to 'lld/ELF/SyntheticSections.h')
-rw-r--r-- | lld/ELF/SyntheticSections.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lld/ELF/SyntheticSections.h b/lld/ELF/SyntheticSections.h index e86da2074f1..a98d94ee80b 100644 --- a/lld/ELF/SyntheticSections.h +++ b/lld/ELF/SyntheticSections.h @@ -15,6 +15,11 @@ namespace lld { namespace elf { +template <class ELFT> class InterpSection final : public InputSection<ELFT> { +public: + InterpSection(); +}; + template <class ELFT> class BuildIdSection : public InputSection<ELFT> { public: virtual void writeBuildId(llvm::MutableArrayRef<uint8_t> Buf) = 0; @@ -62,10 +67,12 @@ public: // Linker generated sections which can be used as inputs. template <class ELFT> struct In { static BuildIdSection<ELFT> *BuildId; + static InterpSection<ELFT> *Interp; static std::vector<InputSection<ELFT> *> Sections; }; template <class ELFT> BuildIdSection<ELFT> *In<ELFT>::BuildId; +template <class ELFT> InterpSection<ELFT> *In<ELFT>::Interp; template <class ELFT> std::vector<InputSection<ELFT> *> In<ELFT>::Sections; } // namespace elf |