* doc/stack_frames.txt: Added description of x86_64 stack frames.
authoredwin <none@none>
Thu, 16 Mar 2006 17:29:43 +0000 (17:29 +0000)
committeredwin <none@none>
Thu, 16 Mar 2006 17:29:43 +0000 (17:29 +0000)
doc/stack_frames.txt

index c68a7edadae793e2dbaabe609614be40972b377b..b9cb04413831cad8cbddfe4f76d24a8a5f8a709c 100644 (file)
@@ -34,6 +34,30 @@ V   u4       return address
 V
 
 
+x86_64 stack frames
+-----------------
+
+,--memory address rising
+|
+V   >>>> sp in method (after initial sub) <<<<
+|          
+|   u8[]  v  arguments for calling methods              \__ rd->memuse slots
+V   u8[]  v  local variable slots allocated on stack    /
+|
+|   u8       synchronized object / saved return value       (only for synched methods)
+V   u8       alignment dummy slot                           (in non-leaf methods to ensure
+|                                                            16-byte alignment of stack)
+|   u8[]  ^  callee-saved float registers
+V   u8[]  ^  callee-saved integer registers
+|          
+|   >>>> sp on method entry <<<<
+V
+|   u8       return address
+|   u8[]     arguments on stack
+V
+
+
+
 alpha stack frames
 ------------------