[PATCH] D18731: ELF: Create dynamic symbols for symbol aliases of copy relocations.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 4 13:27:31 PDT 2016


pcc added a comment.

For comparison, here's a version of the patch that produces a list of object aliases for the DSO sorted by symbol address upon first encountering a copy relocation, and uses that to optimize lookups. Perf improvement was ~1% for CMake's ctest binary, one of the heavier users of copy relocations on my system. Not sure if this is worth the added code complexity, though.


http://reviews.llvm.org/D18731





More information about the llvm-commits mailing list