[PATCH] D16733: [PrologEpilogInserter] Add some debug output for callee-save frame object allocation
Geoff Berry via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 29 12:43:01 PST 2016
gberry created this revision.
gberry added a reviewer: mcrosier.
gberry added a subscriber: llvm-commits.
Herald added a subscriber: mcrosier.
http://reviews.llvm.org/D16733
Files:
lib/CodeGen/PrologEpilogInserter.cpp
Index: lib/CodeGen/PrologEpilogInserter.cpp
===================================================================
--- lib/CodeGen/PrologEpilogInserter.cpp
+++ 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.46412.patch
Type: text/x-patch
Size: 740 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160129/0fb65037/attachment.bin>
More information about the llvm-commits
mailing list