[llvm-branch-commits] [llvm] [AArch64][PAC] Lower authenticated calls with ptrauth bundles. (PR #85736)

Ahmed Bougacha via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue May 28 22:21:43 PDT 2024


================
@@ -1769,6 +1775,41 @@ void AArch64AsmPrinter::emitPtrauthAuthResign(const MachineInstr *MI) {
     OutStreamer->emitLabel(EndSym);
 }
 
+void AArch64AsmPrinter::emitPtrauthBranch(const MachineInstr *MI) {
+  unsigned InstsEmitted = 0;
+
----------------
ahmedbougacha wrote:

It's to try to isolate the InstsEmitted prologue/epilogue from the real logic.  Ideally that could be some sort of RAII helper, which we could probably use in all the expanders, but for now, ad-hoc it is, without the newline I suppose

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


More information about the llvm-branch-commits mailing list