[llvm-branch-commits] [clang] [clang][CallGraphSection] Add type id metadata to indirect call and targets (PR #87573)
via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Apr 23 09:42:07 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 &&
----------------
Prabhuk wrote:
Ack. This change should not have been made for ObjC. I will remove this snippet of code that makes the call to CreateFunctionTypeMetadataforIcall which should also address this comment. I will upload the change along with the refactoring change suggested by Eli as soon as I can. Thank you.
https://github.com/llvm/llvm-project/pull/87573
More information about the llvm-branch-commits
mailing list