[PATCH] D44775: [ELF] - Fill executable segments with trap instructions.

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 23 00:48:46 PDT 2018


grimar added a comment.

In https://reviews.llvm.org/D44775#1046138, @ruiu wrote:

> When I tried this patch against an internal program of size 2 GiB, the overhead almost 2% (i.e. the link time is 2% longer than before), which is I think not negligible. We need a better way of filling executable segments with trap instructions.


Thanks for the information. Indeed I did not expect 2% slowdown. I'll try to implement and benchmark a different approach.


https://reviews.llvm.org/D44775





More information about the llvm-commits mailing list