[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
Wed May 1 15:49:36 PDT 2024


================
@@ -6003,6 +6003,11 @@ RValue CodeGenFunction::EmitCall(QualType CalleeType, const CGCallee &OrigCallee
     }
   }
 
+  // Set type identifier metadata of indirect calls for call graph section.
+  if (CGM.getCodeGenOpts().CallGraphSection && CallOrInvoke &&
+      CallOrInvoke->isIndirectCall())
----------------
Prabhuk wrote:

Verified that it is in scope.

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


More information about the llvm-branch-commits mailing list