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

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Apr 29 17:13:28 PDT 2024


================
@@ -5687,6 +5688,39 @@ RValue CodeGenFunction::EmitCall(const CGFunctionInfo &CallInfo,
   AllocAlignAttrEmitter AllocAlignAttrEmitter(*this, TargetDecl, CallArgs);
   Attrs = AllocAlignAttrEmitter.TryEmitAsCallSiteAttribute(Attrs);
 
+  if (CGM.getCodeGenOpts().CallGraphSection) {
+    // FIXME: create operand bundle only for indirect calls, not for all
----------------
ilovepi wrote:

Is this something you're planning to address in future patches? Or is this a limitation?

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


More information about the llvm-branch-commits mailing list