[clang] [RISCV] Implement shadow stack on shadow stack mode with Zicfiss. (PR #68075)

Yeting Kuo via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 12 22:40:52 PDT 2023


yetingk wrote:

> The patch basically changes the ShadowCallStack back-end to emit an sspush/sspopchk instead of the usual SCS push/pop, which seems like a reasonable approach to me. However, it would be helpful to mention the dependency on `-fsanitize=shadow-call-stack` in the commit message, and you should also update [the documentation](https://clang.llvm.org/docs/ShadowCallStack.html).

Thank you for the reminder. I have updated the document by [e32fc6c](https://github.com/llvm/llvm-project/pull/68075/commits/e32fc6cfb624d2ee90dc5b1da2c2e505f9920ac0).

https://github.com/llvm/llvm-project/pull/68075


More information about the cfe-commits mailing list