pcc added a comment. I'm wondering whether .ilk size is mostly a factor of the #sections rather than the size of each section. If so, it may be simpler to create the redundancy report by counting the number of "comdat discarded" messages. https://reviews.llvm.org/D36481