Use Address::SetLoadAddress() instead of SectionLoadList::ResolveLoadAddress().
authorJason Molenda <jmolenda@apple.com>
Sat, 4 Jan 2014 01:37:52 +0000 (01:37 +0000)
committerJason Molenda <jmolenda@apple.com>
Sat, 4 Jan 2014 01:37:52 +0000 (01:37 +0000)
commit83f1149b30d9131c8f8b26efafd223e119eb4891
tree3c7533aa60a7e0c7ef27d4f1cf6291ffbab4c6b6
parent41cb030b53136f65123207f6937c0a896dde4199
Use Address::SetLoadAddress() instead of SectionLoadList::ResolveLoadAddress().
The former will set the Address object's offset to the load address value if
it is not present in any section; the latter will only set the Address object
if the load addr is contained in one of its sections.
<rdar://problem/15135987>

llvm-svn: 198469
lldb/source/Plugins/Process/Utility/RegisterContextLLDB.cpp