[libunwind] [llvm] [MC][AArch64] Add .cfi_llvm_set_ra_sign_state for PAuth_LR (PR #205442)

Jon Roelofs via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 24 13:46:38 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_set_ra_state does not have registers");
----------------
jroelofs wrote:

```suggestion
        assert(false && ".cfi_llvm_set_ra_state does not have registers");
```

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


More information about the cfe-commits mailing list