Issue |
143642
|
Summary |
lld: Avoid decompressing unused debug sections
|
Labels |
lld
|
Assignees |
|
Reporter |
pcc
|
When looking at a perf profile of a link with objects with compressed debug info and `-S` in ldflags, I noticed that a substantial amount of time was spent in `MergeInputSection::splitIntoPieces` -> `InputSectionBase::decompress`. This seems to be because the code that implements section stripping operates on `ctx.inputSections` while `splitSections` operates on `ctx.objectFiles`.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs