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

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 20:55:54 PST 2019


MaskRay created this revision.
MaskRay added reviewers: grimar, peter.smith, ruiu.
Herald added subscribers: llvm-commits, arichardson, emaste.
Herald added a reviewer: espindola.
Herald added a project: LLVM.

Apply suggestion in https://reviews.llvm.org/D71157#1780834


Repository:
  rG LLVM Github Monorepo

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.233491.patch
Type: text/x-patch
Size: 511 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191212/68a150a0/attachment.bin>


More information about the llvm-commits mailing list