Home
last modified time | relevance | path

Searched refs:bp_addr (Results 1 – 9 of 9) sorted by relevance

/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/Utility/
H A DNativeProcessSoftwareSingleStep.cpp90 static Status SetSoftwareBreakpoint(lldb::addr_t bp_addr, unsigned bp_size, in SetSoftwareBreakpoint() argument
93 error = process.SetBreakpoint(bp_addr, bp_size, /*hardware=*/false); in SetSoftwareBreakpoint()
133 for (auto &&bp_addr : bp_locations) { in SetupSoftwareSingleStepping()
134 auto bp_size = bp_locaions_predictor->GetBreakpointSize(bp_addr); in SetupSoftwareSingleStepping()
138 error = SetSoftwareBreakpoint(bp_addr, *bp_size, process); in SetupSoftwareSingleStepping()
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DNativeProcessProtocol.cpp661 lldb::addr_t bp_addr = pair.first; in ReadMemoryWithoutTrap() local
664 if (bp_addr + saved_opcodes.size() < addr || addr + bytes_read <= bp_addr) in ReadMemoryWithoutTrap()
667 if (bp_addr < addr) { in ReadMemoryWithoutTrap()
668 saved_opcodes = saved_opcodes.drop_front(addr - bp_addr); in ReadMemoryWithoutTrap()
669 bp_addr = addr; in ReadMemoryWithoutTrap()
671 auto bp_data = data.drop_front(bp_addr - addr); in ReadMemoryWithoutTrap()
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DProcess.cpp1704 size_t Process::RemoveBreakpointOpcodesFromBuffer(addr_t bp_addr, size_t size, in RemoveBreakpointOpcodesFromBuffer() argument
1709 if (m_breakpoint_site_list.FindInRange(bp_addr, bp_addr + size, in RemoveBreakpointOpcodesFromBuffer()
1711 bp_sites_in_range.ForEach([bp_addr, size, in RemoveBreakpointOpcodesFromBuffer()
1717 if (bp_site->IntersectsRange(bp_addr, size, &intersect_addr, in RemoveBreakpointOpcodesFromBuffer()
1719 assert(bp_addr <= intersect_addr && intersect_addr < bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1720 assert(bp_addr < intersect_addr + intersect_size && in RemoveBreakpointOpcodesFromBuffer()
1721 intersect_addr + intersect_size <= bp_addr + size); in RemoveBreakpointOpcodesFromBuffer()
1723 size_t buf_offset = intersect_addr - bp_addr; in RemoveBreakpointOpcodesFromBuffer()
1745 const addr_t bp_addr = bp_site->GetLoadAddress(); in EnableSoftwareBreakpoint() local
1748 bp_site->GetID(), (uint64_t)bp_addr); in EnableSoftwareBreakpoint()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.h32 llvm::Expected<unsigned> GetBreakpointSize(lldb::addr_t bp_addr) override;
H A DEmulateInstructionRISCV.cpp1820 lldb::addr_t bp_addr) { in GetBreakpointSize() argument
1824 if (auto inst = riscv_emulator->ReadInstructionAt(bp_addr); inst) in GetBreakpointSize()
1895 bp_addrs, [exit_pc](lldb::addr_t bp_addr) { return exit_pc >= bp_addr; }); in HandleAtomicSequence() argument
/freebsd/contrib/llvm-project/lldb/include/lldb/Core/
H A DEmulateInstruction.h50 GetBreakpointSize([[maybe_unused]] lldb::addr_t bp_addr) { in GetBreakpointSize() argument
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DNativeProcessFreeBSD.cpp329 for (auto &&bp_addr : thread_info->second) { in MonitorSIGTRAP()
330 Status brkpt_error = RemoveBreakpoint(bp_addr); in MonitorSIGTRAP()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/ARM/
H A DEmulateInstructionARM.h26 llvm::Expected<unsigned> GetBreakpointSize(lldb::addr_t bp_addr) override;
H A DEmulateInstructionARM.cpp14477 lldb::addr_t bp_addr) { in GetBreakpointSize() argument