[PATCH] D59780: Support Intel Control-flow Enforcement Technology
Peter Smith via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue May 28 10:32:05 PDT 2019
peter.smith added a comment.
Ping. I'm planning to upstream support for the AArch64 BTI and PAC features in LLD, llvm-objdump and llvm-readelf. I've written the LLD patches on top of this patch as the .note.gnu.property section is used in a similar way (GNU_PROPERTY_AARCH64_FEATURE_1_AND) so only a few small alterations are needed to that part of the code. I'm wondering if it is best to:
- Submit the patches rebased on top of this patch.
- The advantage here is that you could see the differences in supporting X86 and AArch64 more clearly.
- Strip out the .note.gnu.property code from this patch and resubmit it as part of the AArch64 BTI and PAC.
- The advantage here is that the AArch64 feature doesn't have to wait for CET to land.
Any suggestions or preferences? I have the code written and will start upstreaming tomorrow. There are some LLVM for llvm-readobj and llvm-objdump that the LLD patches will depend on so I'll start with those.
The ELF ABI has details on the .note.gnu.property support. https://developer.arm.com/docs/ihi0056/latest/elf-for-the-arm-64-bit-architecture-aarch64-abi-2019q1-documentation.
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
More information about the llvm-commits