Update comment.

llvm-svn: 300676
This commit is contained in:
Rui Ueyama
2017-04-19 11:32:27 +00:00
parent 07c62c1174
commit 29181007df

View File

@@ -1217,8 +1217,9 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
for (OutputSection *Sec : OutputSections)
Sec->finalize<ELFT>();
// Some sections may require compression. That happens for
// debug sections when --compress-debug-sections option used.
// If -compressed-debug-sections is specified, we need to compress
// .debug_* sections. Do it right now because it changes the size of
// output sections.
parallelForEach(OutputSections.begin(), OutputSections.end(),
[](OutputSection *S) { S->maybeCompress<ELFT>(); });