Home | History | Annotate | Download | only in Utility

Lines Matching defs:pc

112     // this will strip bit zero in case we read a PC from memory or from the LR.
153 // else treat the current pc value as the start_pc and record no offset.
216 UnwindLogMsg ("initialized frame current pc is 0x%" PRIx64 " cfa is 0x%" PRIx64 " using %s UnwindPlan",
223 // to provide things like its current pc value.
246 addr_t pc;
247 if (!ReadGPRValue (eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC, pc))
249 UnwindLogMsg ("could not get pc value");
256 UnwindLogMsg ("pc = 0x%16.16" PRIx64, pc);
264 // A pc of 0x0 means it's the end of the stack crawl
265 if (pc == 0)
274 // this will strip bit zero in case we read a PC from memory or from the LR.
277 pc = abi->FixCodeAddress(pc);
279 process->GetTarget().GetSectionLoadList().ResolveLoadAddress (pc, m_current_pc);
288 // Test the pc value to see if we know it's in an unmapped/non-executable region of memory.
290 if (process->GetLoadAddressPermissions(pc, permissions)
296 // pc and see if we can get any further.
299 UnwindLogMsg ("had a pc of 0x%" PRIx64 " which is not in executable memory but on frame 1 -- allowing it once.",
300 (uint64_t) pc);
305 // anywhere other than the second frame, a non-executable pc means we're off in the weeds -- stop now.
391 // and our "current" pc is the start of a function...
402 // We need to back up the pc by 1 byte and re-search for the Symbol to handle the case where the "saved pc"
423 // else treat the current pc value as the start_pc and record no offset.
550 UnwindLogMsg ("initialized frame current pc is 0x%" PRIx64 " cfa is 0x%" PRIx64,
568 // 3. m_current_pc should have the current pc value for this frame
619 // 3. m_current_pc should have the current pc value for this frame
647 // If we've done a jmp 0x0 / bl 0x0 (called through a null function pointer) so the pc is 0x0
668 // No Module for the current pc, try using the architecture default unwind.
682 // No FuncUnwinders available for this pc (i.e. a stripped function symbol and -fomit-frame-pointer).
683 // Try using the eh_frame information relative to the current PC,
994 // If we're fetching the saved pc and this UnwindPlan defines a ReturnAddress register (e.g. lr on arm),
1000 UnwindLogMsg ("requested caller's saved PC but this UnwindPlan uses a RA reg; getting reg %d instead",
1023 // This is frame 0 and we're retrieving the PC and it's saved in a Return Address register and
1046 // and we're on a non-zero stack frame and the Full UnwindPlan says that the pc is stored in the
1067 UnwindLogMsg ("%s UnwindPlan tried to restore the pc from the link register but this is a non-zero frame",
1073 // Now re-fetch the pc value we're searching for
1287 // and this RegisterContext is for frame 1 (bar) - if we want to get the pc value for frame 1, we need to ask
1408 // Retrieve the pc value for THIS from
1458 // Retrieve the current pc value for THIS frame, as saved by the NEXT frame.
1461 RegisterContextLLDB::ReadPC (addr_t& pc)
1466 if (ReadGPRValue (eRegisterKindGeneric, LLDB_REGNUM_GENERIC_PC, pc))
1468 // A pc value of 0 or 1 is impossible in the middle of the stack -- it indicates the end of a stack walk.
1474 && (pc == 0 || pc == 1))