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

Anton Korobeynikov via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Jun 8 00:13:43 PDT 2024


================
@@ -4406,10 +4416,19 @@ class CodeGenFunction : public CodeGenTypeCache {
   }
 
   bool isPointerKnownNonNull(const Expr *E);
+
+  /// Create the discriminator from the storage address and the entity hash.
+  llvm::Value *EmitPointerAuthBlendDiscriminator(llvm::Value *storageAddress,
+                                                 llvm::Value *discriminator);
----------------
asl wrote:

```suggestion
                                                 llvm::Value *Discriminator);
```

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


More information about the llvm-branch-commits mailing list