Home | History | Annotate | Download | only in arm64

Lines Matching refs:stack

142   // Process stack arguments, and make sure the stack is suitably aligned.
149 char * stack = reinterpret_cast<char*>(entry_stack);
152 memcpy(stack, &(*it), sizeof(*it));
153 stack += sizeof(*it);
156 DCHECK(reinterpret_cast<uintptr_t>(stack) <= original_stack);
227 // Adjust JS-based stack limit to C-based stack limit.
242 // the stack or zero.
315 // Extending the stack by 2 * 64 bits is required for stack alignment purposes.
339 // Returns the limit of the stack area to enable checking for stack overflows.
341 // The simulator uses a separate JS stack. If we have exhausted the C stack,
342 // we also drop down the JS limit to reflect the exhaustion on the JS stack.
347 // Otherwise the limit is the JS stack. Leave a safety margin of 1024 bytes
348 // to prevent overrunning the stack when pushing values.
390 // Allocate and setup the simulator stack.
395 // The stack pointer must be 16-byte aligned.
582 TraceSim(" with unaligned stack 0x%016" PRIx64 ".\n", sp());
601 // pass 8 without touching the stack. They will be ignored by the
629 // pass 8 without touching the stack. They will be ignored by the
826 // If the code represents the stack pointer, index the name after zr.
839 // If the code represents the stack pointer, index the name after zr.
1625 uintptr_t stack = 0;
1633 // stack pointer will be decremented before adding an element to the stack.
1638 // stack.
1639 stack = sp();
1686 // operation even when interrupted in the middle of it. The stack pointer
1688 // sp <= fp expected while walking the stack in the sampler.
1691 // stack.
1692 stack = sp();
1697 // Accesses below the stack pointer (but above the platform stack limit) are
1699 CheckMemoryAccess(address, stack);
1727 uintptr_t stack = 0;
1735 // stack pointer will be decremented before adding an element to the stack.
1740 // stack.
1741 stack = sp();
1831 // operation even when interrupted in the middle of it. The stack pointer
1833 // sp <= fp expected while walking the stack in the sampler.
1836 // stack.
1837 stack = sp();
1842 // Accesses below the stack pointer (but above the platform stack limit) are
1844 CheckMemoryAccess(address, stack);
1881 // When the base register is SP the stack pointer is required to be
1883 // Misalignment will cause a stack alignment fault.
1909 void Simulator::CheckMemoryAccess(uintptr_t address, uintptr_t stack) {
1910 if ((address >= stack_limit_) && (address < stack)) {
1911 fprintf(stream_, "ACCESS BELOW STACK POINTER:\n");
1913 static_cast<uint64_t>(stack));
1916 fprintf(stream_, " stack limit is here: 0x%016" PRIx64 "\n",
1919 FATAL("ACCESS BELOW STACK POINTER");
3288 // Translate the stack pointer code to 31, for Reg31IsStackPointer.
3509 // stack / mem ----------------------------------------------------------
3510 } else if (strcmp(cmd, "stack
3515 if (strcmp(cmd, "stack") == 0) {
3625 "stack\n"
3626 " stack [<words>]\n"
3627 " Dump stack content, default dump 10 words\n"