[all-commits] [llvm/llvm-project] ade336: [codegen][riscv] Emit CFI directives when using sh...
Paul Kirth via All-commits
all-commits at lists.llvm.org
Wed Mar 15 10:10:40 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ade336d6e14140134728b9991be8e4e68d6205ea
https://github.com/llvm/llvm-project/commit/ade336d6e14140134728b9991be8e4e68d6205ea
Author: Paul Kirth <paulkirth at google.com>
Date: 2023-03-15 (Wed, 15 Mar 2023)
Changed paths:
M llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
M llvm/test/CodeGen/RISCV/shadowcallstack.ll
Log Message:
-----------
[codegen][riscv] Emit CFI directives when using shadow call stack
Currently we don't emit any CFI instructions for the SCS register when
enabling SCS on RISCV. This causes problems when unwinding, since the
SCS register isn't being handled properly.
Reviewed By: mcgrathr
Differential Revision: https://reviews.llvm.org/D145205
More information about the All-commits
mailing list