================ @@ -2642,6 +2642,20 @@ bool IRTranslator::translateCallBase(const CallBase &CB, } } + std::optional<CallLowering::PointerAuthInfo> PAI; + if (CB.countOperandBundlesOfType(LLVMContext::OB_ptrauth)) { + // Functions should never be ptrauth-called directly. + assert(!CB.getCalledFunction() && "invalid direct ptrauth call"); + + auto PAB = CB.getOperandBundle("ptrauth"); + Value *Key = PAB->Inputs[0]; ---------------- kovdan01 wrote:
```suggestion const Value *Key = PAB->Inputs[0]; ``` https://github.com/llvm/llvm-project/pull/85736 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits