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

Eli Friedman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 29 16:17:43 PDT 2018


efriedma added a comment.

It looks like this patch does two things:

1. Adds MC layer support for the SHF_ARM_PURECODE flag on AArch64.
2. Adds the AArch64 SHF_ARM_PURECODE flag to all sections containing code if the "execute-only" subtarget feature is enabled.

I guess nothing else is necessary because the AArch64 backend doesn't generate inline constant pools anyway?

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?


Repository:
  rL LLVM

https://reviews.llvm.org/D48791





More information about the llvm-commits mailing list