HomePhabricator

[PowerPC] Add option for ROP Protection

Authored by stefanp on Feb 18 2021, 4:12 AM.

Description

[PowerPC] Add option for ROP Protection

Added -mrop-protection for Power PC to turn on codegen that provides some
protection from ROP attacks.

The option is off by default and can be turned on for Power 8, Power 9 and
Power 10.

This patch is for the option only. The feature will be implemented by a later
patch.

Reviewed By: amyk

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

Details

Committed
stefanpFeb 18 2021, 4:15 AM
Reviewer
amyk
Differential Revision
D96512: [PowerPC] Add option for ROP Protection
Parents
rG19db870a0dd1: [clangd] Drop template argument lists from completions followed by <
Branches
Unknown
Tags
Unknown