HomePhabricator

[AArch64] Support execute-only LOAD segments.

Description

[AArch64] Support execute-only LOAD segments.

Summary:
This adds an LLD flag to mark executable LOAD segments execute-only for AArch64 targets.

In AArch64 the expectation is that code is execute-only compatible, so this just adds a linker option to enforce this.

Patch by: ivanlozano (Ivan Lozano)

Reviewers: srhines, echristo, peter.smith, eugenis, javed.absar, espindola, ruiu

Reviewed By: ruiu

Subscribers: dokyungs, emaste, arichardson, kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D49456

Details

Committed
xbolva00Jul 30 2018, 10:02 AM
Reviewer
ruiu
Differential Revision
D49456: [AArch64] Support execute-only LOAD segments.
Parents
rL338270: [DAGCombiner] Bug 31275- Extract a shift from a constant mul or udiv if a…
Branches
Unknown
Tags
Unknown