[libunwind] [llvm] [MC][AArch64] Add .cfi_llvm_set_ra_sign_state for PAuth_LR (PR #205442)
Jack Styles via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 30 06:05:13 PDT 2026
================
@@ -1330,6 +1330,9 @@ void MCCFIInstruction::replaceRegister(unsigned FromReg, unsigned ToReg) {
ReplaceReg(F.Register);
ReplaceReg(F.SpillRegister);
ReplaceReg(F.MaskRegister);
+ },
+ [](LLVMSetRAStateFields &) {
+ assert(false && ".cfi_llvm_set_ra_state does not have registers");
----------------
Stylie777 wrote:
If we are intending to always error when we reach here, llvm_unreachable would be better.
https://github.com/llvm/llvm-project/pull/205442
More information about the cfe-commits
mailing list