[llvm-branch-commits] [clang] [clang] Implement function pointer signing and authenticated function calls (PR #93906)

Daniil Kovalev via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Jun 17 08:01:14 PDT 2024


================
@@ -128,12 +136,12 @@ class CGCallee {
 
   static CGCallee forDirect(llvm::Constant *functionPtr,
                             const CGCalleeInfo &abstractInfo = CGCalleeInfo()) {
-    return CGCallee(abstractInfo, functionPtr);
+    return CGCallee(abstractInfo, functionPtr, CGPointerAuthInfo());
----------------
kovdan01 wrote:

Even though the parameter is going to be mandatory later (as said in https://github.com/llvm/llvm-project/pull/93906/files#r1636843492), now it's not, so right now there is probably no reason for this change and a similar one below.

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


More information about the llvm-branch-commits mailing list