[all-commits] [llvm/llvm-project] 54310f: [PowerPC] Add ROP Protection to prologue and epilogue
stefanp-ibm via All-commits
all-commits at lists.llvm.org
Thu May 13 10:55:10 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 54310fc176fde539b15f3cc95d4a3555df446ff6
https://github.com/llvm/llvm-project/commit/54310fc176fde539b15f3cc95d4a3555df446ff6
Author: Stefan Pintilie <stefanp at ca.ibm.com>
Date: 2021-05-13 (Thu, 13 May 2021)
Changed paths:
M llvm/lib/Target/PowerPC/PPCFrameLowering.cpp
M llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp
M llvm/lib/Target/PowerPC/PPCMachineFunctionInfo.h
M llvm/lib/Target/PowerPC/PPCRegisterInfo.cpp
M llvm/lib/Target/PowerPC/PPCRegisterInfo.h
A llvm/test/CodeGen/PowerPC/ppc64-rop-protection.ll
Log Message:
-----------
[PowerPC] Add ROP Protection to prologue and epilogue
Added hashst to the prologue and hashchk to the epilogue.
The hash for the prologue and epilogue must always be stored as the first
element in the local variable space on the stack.
Reviewed By: nemanjai, #powerpc
Differential Revision: https://reviews.llvm.org/D99377
More information about the All-commits
mailing list