[PATCH] D87245: [LLD][ELF] Fix performance of MarkLive::scanEhFrameSection

Andrew Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 8 01:59:02 PDT 2020


andrewng marked an inline comment as done.
andrewng added a comment.

In D87245#2259958 <https://reviews.llvm.org/D87245#2259958>, @MaskRay wrote:

> Thanks for noting this issue! Were you profiling ld.lld?

We have a game link that was taking an unusually long time to link with our downstream linker when --gc-sections was enabled. So I ran this link through the profiler and it identified this function as the primary hot spot which led me to find this issue.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D87245/new/

https://reviews.llvm.org/D87245



More information about the llvm-commits mailing list