[ELF] Rename an historical leftover, `Chunk` is now `InputSection`.
authorDavide Italiano <davide@freebsd.org>
Fri, 18 Nov 2016 02:23:48 +0000 (02:23 +0000)
committerDavide Italiano <davide@freebsd.org>
Fri, 18 Nov 2016 02:23:48 +0000 (02:23 +0000)
llvm-svn: 287297

lld/ELF/OutputSections.cpp

index 6034db1..6ba25c1 100644 (file)
@@ -542,7 +542,7 @@ template <class ELFT> void OutputSection<ELFT>::writeTo(uint8_t *Buf) {
   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