[PATCH] D37626: [ELF] Scan .eh_frame sections precisely in order to eliminate unused LSDAs and personality routines.

Igor Kudrin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 1 21:38:11 PDT 2017


ikudrin added a comment.

I guess the same. Moreover:

- This patch process any CIE once while https://reviews.llvm.org/D38391 has to store a pointer to it for each corresponding input section.
- https://reviews.llvm.org/D38391 also stores pointers to personality function sections and LSDA sections for each input section which use them.

This variant might be slower than https://reviews.llvm.org/D38391 only if it has to scan EH frames several times, which is quite a rare case.


https://reviews.llvm.org/D37626





More information about the llvm-commits mailing list