diff options
-rw-r--r-- | lld/ELF/InputFiles.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp index d732f0d2564..04bad8ef4ef 100644 --- a/lld/ELF/InputFiles.cpp +++ b/lld/ELF/InputFiles.cpp @@ -497,6 +497,8 @@ static void addDependentLibrary(StringRef specifier, const InputFile *f) { specifier); } +// Record the membership of a section group so that in the garbage collection +// pass, section group members are kept or discarded as a unit. template <class ELFT> static void handleSectionGroup(ArrayRef<InputSectionBase *> sections, ArrayRef<typename ELFT::Word> entries) { |