Emission of CFI directives, CFI_remember_state and CFI_restore state in the epilogue for RISC-V

Hi all,
This patch D143248 tries to emit cfi directives in the epilogue which were disabled in D69723, by enabling CFIFixup pass(D114545), to emit cfi_remember_state and cfi_restore_state when reordering is done.
We need to pass -fasynchronous-unwind-tables to emit unwind tables.
Could someone review it and provide feedback.
Review id: https://reviews.llvm.org/D143248.

Thanks

@maskray, as you reviewed one of the linked patches I wondered if you might be able to help take a look at this? Many thanks in advance if so.

Hi all,
Could someone please have a look. It’s not been looked at since quite a while.

thanks.