[llvm-branch-commits] [clang] [clang] Implement pointer authentication for C++ virtual functions, v-tables, and VTTs (PR #94056)

Oliver Hunt via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Jun 7 10:50:22 PDT 2024


================
@@ -1261,6 +1262,10 @@ class ASTContext : public RefCountedBase<ASTContext> {
   /// space.
   QualType removeAddrSpaceQualType(QualType T) const;
 
+  /// Return the "other" type-specific discriminator for the given type.
----------------
ojhunt wrote:

How would `/// Return the "other" discriminator used for the pointer auth schema used for vtable pointers in instances of the requested type` sound? it's more explicit about what is being produced

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


More information about the llvm-branch-commits mailing list