================
@@ -999,7 +999,9 @@ class AArch64BtiPac final : public AArch64 {
 
 private:
   bool btiHeader; // bti instruction needed in PLT Header and Entry
-  bool pacEntry;  // autia1716 instruction needed in PLT Entry
+  bool pacEntry;  // Authenticated branch needed in PLT Entry
----------------
kovdan01 wrote:

Changed to an enum, thanks! It might be worth using a switch statement instead 
of if's and ternary operators at the end of `AArch64BtiPac::writePlt`, but it 
looks like that it's readable enough right now, so I left that "as is" unless 
there is a request for changing that as well.

https://github.com/llvm/llvm-project/pull/113945
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to