[PATCH] D16733: [PrologEpilogInserter] Add some debug output for callee-save frame object allocation

Geoff Berry via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 1 08:51:55 PST 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL259367: [PrologEpilogInserter] Add some debug output for callee-save frame object… (authored by gberry).

Changed prior to commit:
  http://reviews.llvm.org/D16733?vs=46412&id=46545#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D16733

Files:
  llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp

Index: llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
===================================================================
--- llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
+++ llvm/trunk/lib/CodeGen/PrologEpilogInserter.cpp
@@ -598,6 +598,7 @@
       // Adjust to alignment boundary
       Offset = alignTo(Offset, Align, Skew);
 
+      DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << -Offset << "]\n");
       MFI->setObjectOffset(i, -Offset);        // Set the computed offset
     }
   } else {
@@ -607,6 +608,7 @@
       // Adjust to alignment boundary
       Offset = alignTo(Offset, Align, Skew);
 
+      DEBUG(dbgs() << "alloc FI(" << i << ") at SP[" << Offset << "]\n");
       MFI->setObjectOffset(i, Offset);
       Offset += MFI->getObjectSize(i);
     }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16733.46545.patch
Type: text/x-patch
Size: 773 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160201/9cee2047/attachment.bin>


More information about the llvm-commits mailing list