[llvm] [AArch64][PAC] Lower ptrauth constants in code for MachO. (PR #97665)

Daniil Kovalev via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 4 02:08:55 PDT 2024


================
@@ -36,6 +36,11 @@ class MachineModuleInfoMachO : public MachineModuleInfoImpl {
   /// bit is true if this GV is external.
   DenseMap<MCSymbol *, StubValueTy> ThreadLocalGVStubs;
 
+  /// Darwin '$auth_ptr' stubs.  The key is the stub symbol, like
+  /// "Lfoo$addend$auth_ptr$ib$12".  The value is the MCExpr representing that
----------------
kovdan01 wrote:

Just in case you've missed that - currently, there is no addend support for `$auth_ptr$` symbols - see `getAuthPtrSlotSymbolHelper`. It's probably worth mentioning that addend is optional in this comment. Feel free to ignore though.


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


More information about the llvm-commits mailing list