[Lldb-commits] [PATCH] D21152: Hunt for unused memory properly when dealing with processes that can tell us about memory mappings
Sean Callanan via lldb-commits
lldb-commits at lists.llvm.org
Wed Jun 8 13:27:33 PDT 2016
spyffe created this revision.
spyffe added reviewers: tfiala, clayborg.
spyffe added a subscriber: lldb-commits.
spyffe set the repository for this revision to rL LLVM.
Right now the default initial address is 0x0, which is very problematic on embedded targets where that's the CPU's initialization vector.
To help in these scenarios, this patch uses the GetMemoryRegionInfo() API to find an appropriately-sized region.
It also sets better fallback defaults than 0x0 if all of the other approaches fail
Repository:
rL LLVM
http://reviews.llvm.org/D21152
Files:
source/Expression/IRMemoryMap.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21152.60094.patch
Type: text/x-patch
Size: 5725 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160608/0d3193ba/attachment.bin>
More information about the lldb-commits
mailing list