[PATCH] D25234: [LLD][ARM] Garbage collection support for .ARM.exidx sections

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 7 02:27:54 PDT 2016


peter.smith added a comment.

The initial patch did start that way. The SHF_LINK_ORDER sections that become live may make other sections that have further SHF_LINK_ORDER dependencies live so it ends up needing to converge. The move to adding the reverse dependency came from an earlier review comment.

I'll try and see what impact the extra field in InputSection has in terms of performance. I've not got a setup for benchmarking right now but I'll take a look at setting one up.

Another possibility is to store the reverse dependency in a map so that only the ARM Target pays the performance cost.


https://reviews.llvm.org/D25234





More information about the llvm-commits mailing list