[llvm-branch-commits] [llvm] [llvm] Add option to emit `callgraph` section (PR #87574)

Paul Kirth via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Apr 24 13:00:35 PDT 2025


================
@@ -558,24 +558,31 @@ void MIRPrinter::convertCallSiteObjects(yaml::MachineFunction &YMF,
                                         const MachineFunction &MF,
                                         ModuleSlotTracker &MST) {
   const auto *TRI = MF.getSubtarget().getRegisterInfo();
-  for (auto CSInfo : MF.getCallSitesInfo()) {
+  for (auto CSInfoMap : MF.getCallSitesInfo()) {
----------------
ilovepi wrote:

Maybe also use destructuring here?

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


More information about the llvm-branch-commits mailing list