[PATCH] D48791: [AArch64] Implement execute-only CodeGen Support.

Ivan Lozano via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 16:29:52 PDT 2018


ivanlozano marked an inline comment as done.
ivanlozano added a comment.

In https://reviews.llvm.org/D48791#1148658, @efriedma wrote:

> What happens if the input IR has a mix of execute-only and non-execute-only functions?  Does the output .text section have the SHF_ARM_PURECODE flag?


All sections that go into the final combined .text in a binary need to have the SHF_ARM_PURECODE flag set, otherwise the flag gets removed by the linker. https://reviews.llvm.org/D48795 adds this behavior for AArch64 to LLD.


Repository:
  rL LLVM

https://reviews.llvm.org/D48791





More information about the llvm-commits mailing list