[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


================
@@ -238,6 +238,11 @@ void AsmPrinter::emitCFIInstruction(const MCCFIInstruction &Inst) const {
   case MCCFIInstruction::OpNegateRAStateWithPC:
     OutStreamer->emitCFINegateRAStateWithPC(Loc);
     break;
+  case MCCFIInstruction::OpLLVMSetRAState: {
+    OutStreamer->emitCFILLVMSetRAState(Inst.getRASignState(),
----------------
Stylie777 wrote:

If `Inst.getRASignSymbol()` is `nullptr` how is this handled, do we need to use the offset instead? I think we do.

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


More information about the cfe-commits mailing list