[PATCH] D15564: [ELF] - Optimize .eh_frame section: remove CIE if all FDEs referencing it were removed.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 30 03:44:51 PST 2015


grimar added a comment.

In http://reviews.llvm.org/D15564#316294, @rafael wrote:

> Lgtm assuming there is no big time regression when linking a real world
>  application with --gc-sections (clang is a good candidate).
>
> Cheers,
> Rafael


Well, I finally was able to estimate link time correctly I think. I used perf stat --repeat 50 for that
I ran it twice for original code and for patched one, linked clang with --gc-sections.
For original it was: 0.310183332 seconds and 0.306395272 seconds, after applying patch it become 0.298682542 seconds and 0.300793454 seconds. So either patch accelerated speed time a bit or what is more looks like a truth for me: it just has no any visible negative affect on speed.


Repository:
  rL LLVM

http://reviews.llvm.org/D15564





More information about the llvm-commits mailing list