[llvm-branch-commits] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)

Matt Arsenault via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Sat Apr 6 14:43:52 PDT 2024


================
@@ -2220,6 +2220,14 @@ CGObjCCommonMac::EmitMessageSend(CodeGen::CodeGenFunction &CGF,
   RValue rvalue = CGF.EmitCall(MSI.CallInfo, Callee, Return, ActualArgs,
                                &CallSite);
 
+  // Set type identifier metadata of indirect calls for call graph section.
+  if (CGM.getCodeGenOpts().CallGraphSection && Method && CallSite &&
----------------
arsenm wrote:

I don't think CallSite can be null here 

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


More information about the llvm-branch-commits mailing list