[PATCH] D30886: [ELF] Pad x86 executable sections with 0xcc int3 instructions

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 31 04:00:38 PDT 2017


jhenderson added a comment.

> The second is that only one FILL() command in an output section is used (see the ELF/linkerscript/fill.s test), whereas ld.bfd uses the most recent seen fill for each separate block of padding in a section. I have not tried to fix this in this patch and will separately file a bug for this.

I see this was already discussed in PR30243 and https://reviews.llvm.org/D24186. I wonder whether adding finer-grain control may be easier with this new method of writing fills.


https://reviews.llvm.org/D30886





More information about the llvm-commits mailing list