forked from OSchip/llvm-project
Fixing an issue where ValueObject::GetPointeeData() would not work correctly for file addresses when fetching items other than the 0-th
llvm-svn: 161384
This commit is contained in:
parent
cd4ae1ab94
commit
9c2efe39c0
|
@ -843,6 +843,7 @@ ValueObject::GetPointeeData (DataExtractor& data,
|
|||
ModuleSP module_sp (GetModule());
|
||||
if (module_sp)
|
||||
{
|
||||
addr = addr + offset;
|
||||
Address so_addr;
|
||||
module_sp->ResolveFileAddress(addr, so_addr);
|
||||
ExecutionContext exe_ctx (GetExecutionContextRef());
|
||||
|
|
Loading…
Reference in New Issue