From 2e8b2a70ab54122a1d5995530c05293d05f12c70 Mon Sep 17 00:00:00 2001 From: Davide Italiano Date: Fri, 18 Nov 2016 02:23:48 +0000 Subject: [PATCH] [ELF] Rename an historical leftover, `Chunk` is now `InputSection`. llvm-svn: 287297 --- lld/ELF/OutputSections.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 6034db1..6ba25c1 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -542,7 +542,7 @@ template void OutputSection::writeTo(uint8_t *Buf) { ArrayRef Filler = Script::X->getFiller(this->Name); if (!Filler.empty()) fill(Buf, this->Size, Filler); - auto Fn = [=](InputSection *C) { C->writeTo(Buf); }; + auto Fn = [=](InputSection *IS) { IS->writeTo(Buf); }; if (Config->Threads) parallel_for_each(Sections.begin(), Sections.end(), Fn); else -- 2.7.4