[Lldb-commits] [lldb] [lldb] Handle an empty SBMemoryRegionInfo from scripted process (PR #115963)
Jason Molenda via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 12 16:04:20 PST 2024
jasonmolenda wrote:
I am uncertain where I should detect an improperly formatted memory range. It could be in `Process::GetMemoryRegionInfo`, which would catch a bad gdb remote serial protocol response as well. Or it could be localized to IRMemoryMap::FindSpace if we only wanted to avoid an infinite loop in that one place -- but there are other parts of the code that try to iterate over the address space in the target with these objects. This patch adjusts it in the most specific place that fixed the issue I was looking at, to start with.
https://github.com/llvm/llvm-project/pull/115963
More information about the lldb-commits
mailing list