summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2016-11-18 02:23:48 +0000
committerDavide Italiano <davide@freebsd.org>2016-11-18 02:23:48 +0000
commit2e8b2a70ab54122a1d5995530c05293d05f12c70 (patch)
tree23df6741b7bc7252b6e4c5b274ad6d26a0325ab9
parent44665e7bc521c946b2c33388485fdd545ccdf9f2 (diff)
downloadbcm5719-llvm-2e8b2a70ab54122a1d5995530c05293d05f12c70.tar.gz
bcm5719-llvm-2e8b2a70ab54122a1d5995530c05293d05f12c70.zip
[ELF] Rename an historical leftover, `Chunk` is now `InputSection`.
llvm-svn: 287297
-rw-r--r--lld/ELF/OutputSections.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 6034db13d5d..6ba25c15c94 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -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
OpenPOWER on IntegriCloud