[PATCH] D20272: [ELF] - Support of compressed input sections implemented.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun May 15 08:08:26 PDT 2016


ruiu added a comment.

This patch uncompresses all input sections whether they are going to be added to the output or not. A lot of sections are in fact not going to make it to the output because of comdat deduplication and section gc. So uncompressing all inputs beforehand would be a waste of resource.

Until the content is copied to the output, I think we don't have to uncompress inputs. Do you think you can do it lazily?


http://reviews.llvm.org/D20272





More information about the llvm-commits mailing list