Home | History | Annotate | Download | only in src

Lines Matching refs:address

195 static void UpdateAllocatedSpaceLimits(void* address, int size) {
196 lowest_ever_allocated = Min(lowest_ever_allocated, address);
199 reinterpret_cast<void*>(reinterpret_cast<char*>(address) + size));
203 bool OS::IsOutsideAllocatedSpace(void* address) {
204 return address < lowest_ever_allocated || address >= highest_ever_allocated;
229 void OS::Free(void* address, const size_t size) {
231 int result = munmap(address, size);
239 void OS::Protect(void* address, size_t size) {
241 mprotect(address, size, PROT_READ);
245 void OS::Unprotect(void* address, size_t size, bool is_executable) {
248 mprotect(address, size, prot);
355 // No library name found, just record the raw address range.
391 frames[i].address = addresses[i];
426 if (0 == munmap(address(), size())) address_ = MAP_FAILED;
436 bool VirtualMemory::Commit(void* address, size_t size, bool is_executable) {
438 if (MAP_FAILED == mmap(address, size, prot,
444 UpdateAllocatedSpaceLimits(address, size);
449 bool VirtualMemory::Uncommit(void* address, size_t size) {
450 return mmap(address, size, PROT_NONE,
738 sample.pc = reinterpret_cast<Address>(mcontext.gregs[REG_EIP]);
739 sample.sp = reinterpret_cast<Address>(mcontext.gregs[REG_ESP]);
740 sample.fp = reinterpret_cast<Address>(mcontext.gregs[REG_EBP]);
742 sample.pc = reinterpret_cast<Address>(mcontext.gregs[REG_RIP]);
743 sample.sp = reinterpret_cast<Address>(mcontext.gregs[REG_RSP]);
744 sample.fp = reinterpret_cast<Address>(mcontext.gregs[REG_RBP]);
748 sample.pc = reinterpret_cast<Address>(mcontext.gregs[R15]);
749 sample.sp = reinterpret_cast<Address>(mcontext.gregs[R13]);
750 sample.fp = reinterpret_cast<Address>(mcontext.gregs[R11]);
752 sample.pc = reinterpret_cast<Address>(mcontext.arm_pc);
753 sample.sp = reinterpret_cast<Address>(mcontext.arm_sp);
754 sample.fp = reinterpret_cast<Address>(mcontext.arm_fp);