================ @@ -1622,6 +1622,9 @@ class CodeGenModule : public CodeGenTypeCache { void CreateFunctionTypeMetadataForIcall(const FunctionDecl *FD, llvm::Function *F); + /// Create and attach type metadata to the given call. + void CreateCalleeTypeMetadataForIcall(const QualType &QT, llvm::CallBase *CB); ---------------- Prabhuk wrote:
The existing API is named appropriately `CreateFunctionTypeMetadataForIcall` -- adds a `type` metadata to the Function as opposed to the new API `createCalleeTypeMetadataForIcall` which adds `callee_type` metadata to the indirect call instruction. https://github.com/llvm/llvm-project/pull/117036 _______________________________________________ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits