[llvm] [BOLT][AArch64] Support for pointer authentication (v2) (PR #120064)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 16 07:59:04 PST 2025


================
@@ -16,7 +27,15 @@ class InsertNegateRAState : public BinaryFunctionPass {
   /// Pass entry point
   Error runOnFunctions(BinaryContext &BC) override;
   void runOnFunction(BinaryFunction &BF);
+
+private:
+  /// Loops over all instructions and adds OpNegateRAState CFI
+  /// after any pointer signing or authenticating instructions.
+  /// Returns true, if any OpNegateRAState CFIs were added.
----------------
paschalis-mpeis wrote:

nit: `\return` true if ..

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


More information about the llvm-commits mailing list