[Stackmaps] Record the stack size of each function that contains a stackmap/patchpoint intrinsic.

Re-applying the patch, but this time without using AsmPrinter methods.

Reviewed by Andy

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200481 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Juergen Ributzka
2014-01-30 18:58:27 +00:00
parent b68991fd87
commit 014fdcdaf0
6 changed files with 112 additions and 26 deletions
+5
View File
@@ -314,6 +314,11 @@ format of this section follows:
.. code-block:: none
uint32 : Reserved (header)
uint32 : NumFunctions
StkSizeRecord[NumFunctions] {
uint32 : Function Offset
uint32 : Stack Size
}
uint32 : NumConstants
Constants[NumConstants] {
uint64 : LargeConstant