[PATCH] D99377: [PowerPC] Add ROP Protection to prologue and epilogue
Nemanja Ivanovic via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 31 10:23:07 PDT 2021
nemanjai added inline comments.
================
Comment at: llvm/lib/Target/PowerPC/PPCISelDAGToDAG.cpp:155
PPCLowering = Subtarget->getTargetLowering();
+ if (Subtarget->hasROPProtect()) {
+ // Create a place on the stack for the ROP Protection Hash.
----------------
I think this needs to be added to `FastISEL` as well and we need to add a test case with `-O0`.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D99377/new/
https://reviews.llvm.org/D99377
More information about the llvm-commits
mailing list