[PATCH] D84414: [RISCV] Support Shadow Call Stack
Jessica Clarke via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 16 11:21:16 PDT 2020
jrtc27 added inline comments.
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:86
+
+ // Get shadow call stack pointer register.
+ Register SCSPReg = RISCVABI::getSCSPReg();
----------------
Pointless comment; remove
================
Comment at: llvm/lib/Target/RISCV/RISCVFrameLowering.cpp:89
+
+ // Emit an error message and bail out.
+ if (!STI.isRegisterReservedByUser(SCSPReg)) {
----------------
Pointless comment; remove
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D84414/new/
https://reviews.llvm.org/D84414
More information about the llvm-commits
mailing list