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

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 14 08:41:47 PDT 2017


jhenderson updated this revision to Diff 91731.
jhenderson added a comment.

Thanks @grimar and @ruiu. I have updated the diff to incorporate your suggestions and fixes. I've also incorporated some of @grimar's test ideas from https://reviews.llvm.org/D30901, since they were useful. I hope you don't mind me shamelessly copying!

I haven't yet tried to compare performance. @ruiu, what do you use to measure LLD's performance?


https://reviews.llvm.org/D30886

Files:
  ELF/LinkerScript.cpp
  ELF/LinkerScript.h
  ELF/OutputSections.cpp
  ELF/SyntheticSections.cpp
  ELF/Target.cpp
  ELF/Target.h
  test/ELF/default-fill.s
  test/ELF/linkerscript/excludefile.s
  test/ELF/linkerscript/fill-exec-sections.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D30886.91731.patch
Type: text/x-patch
Size: 8168 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170314/279f2115/attachment.bin>


More information about the llvm-commits mailing list