[lld] r287297 - [ELF] Rename an historical leftover, `Chunk` is now `InputSection`.

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Thu Nov 17 18:23:49 PST 2016


Author: davide
Date: Thu Nov 17 20:23:48 2016
New Revision: 287297

URL: http://llvm.org/viewvc/llvm-project?rev=287297&view=rev
Log:
[ELF] Rename an historical leftover, `Chunk` is now `InputSection`.

Modified:
    lld/trunk/ELF/OutputSections.cpp

Modified: lld/trunk/ELF/OutputSections.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/OutputSections.cpp?rev=287297&r1=287296&r2=287297&view=diff
==============================================================================
--- lld/trunk/ELF/OutputSections.cpp (original)
+++ lld/trunk/ELF/OutputSections.cpp Thu Nov 17 20:23:48 2016
@@ -542,7 +542,7 @@ template <class ELFT> void OutputSection
   ArrayRef<uint8_t> Filler = Script<ELFT>::X->getFiller(this->Name);
   if (!Filler.empty())
     fill(Buf, this->Size, Filler);
-  auto Fn = [=](InputSection<ELFT> *C) { C->writeTo(Buf); };
+  auto Fn = [=](InputSection<ELFT> *IS) { IS->writeTo(Buf); };
   if (Config->Threads)
     parallel_for_each(Sections.begin(), Sections.end(), Fn);
   else




More information about the llvm-commits mailing list