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

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 22 13:27:25 PDT 2018


ruiu added a comment.

This change is a bit worrisome from the performance point of view because it significantly increases the number of bytes we write to mmap'ed file. I believe this is still fine because writing bytes to contiguous memory is extremely fast and the size of the executable part of an executable is relatively small compared to the size of an entire executable, but we need to verify that first.


https://reviews.llvm.org/D44775





More information about the llvm-commits mailing list