[PATCH] D71388: [ELF] Add a comment to handleSectionGroup(). NFC

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 12 09:28:30 PST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rGba8149e27d3d: [ELF] Add a comment to handleSectionGroup(). NFC (authored by MaskRay).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71388/new/

https://reviews.llvm.org/D71388

Files:
  lld/ELF/InputFiles.cpp


Index: lld/ELF/InputFiles.cpp
===================================================================
--- lld/ELF/InputFiles.cpp
+++ lld/ELF/InputFiles.cpp
@@ -497,6 +497,8 @@
           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) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D71388.233646.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191212/bd4e628f/attachment.bin>


More information about the llvm-commits mailing list