[PATCH] D143248: Emit CFI directives in epilogue and enable CFIFixup pass for RISC-V.

Varun Kumar E via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 8 04:22:50 PST 2023


varunkumare99 updated this revision to Diff 503307.
varunkumare99 added a comment.

This patch emits cfi_same_value directives when the unwind table needs to be reset to the initial one.
By default emission unwind tables is disabled for RISC-V. 
Need to pass -fasynchronous-unwind-tables to emit unwind tables.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143248/new/

https://reviews.llvm.org/D143248

Files:
  llvm/lib/Target/RISCV/RISCV.h
  llvm/lib/Target/RISCV/RISCVFrameLowering.cpp
  llvm/lib/Target/RISCV/RISCVFrameLowering.h
  llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.cpp
  llvm/lib/Target/RISCV/RISCVMachineFunctionInfo.h
  llvm/lib/Target/RISCV/RISCVTargetMachine.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143248.503307.patch
Type: text/x-patch
Size: 8665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230308/2d2a085f/attachment.bin>


More information about the llvm-commits mailing list