[PATCH] D105909: [clang][CallGraphSection] Add type id metadata to indirect call and targets

Matt Morehouse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 19 11:47:28 PDT 2021


morehouse added inline comments.


================
Comment at: clang/lib/CodeGen/CGCall.cpp:5255
+      CST = QualType(TargetDecl->getFunctionType(), 0);
+    else if (auto FPT = Callee.getAbstractInfo().getCalleeFunctionProtoType())
+      CST = QualType(FPT, 0);
----------------
Please fix this lint.


================
Comment at: llvm/include/llvm/IR/LLVMContext.h:97
     OB_clang_arc_attachedcall = 6, // "clang.arc.attachedcall"
+    OB_type = 7,                   // "type"
   };
----------------
Do we need to update `LLVMContext::LLVMContext()`?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105909/new/

https://reviews.llvm.org/D105909



More information about the llvm-commits mailing list