[Core/Value] Remove dead code that hasn't been touched in years. NFC.

llvm-svn: 312453
This commit is contained in:
Davide Italiano 2017-09-03 19:24:58 +00:00
parent 6b1e461329
commit e08ea3a154
1 changed files with 0 additions and 25 deletions

View File

@ -379,31 +379,6 @@ Status Value::GetValueAsData(ExecutionContext *exe_ctx, DataExtractor &data,
} else
address = LLDB_INVALID_ADDRESS;
}
// else
// {
// ModuleSP exe_module_sp
// (target->GetExecutableModule());
// if (exe_module_sp)
// {
// address =
// m_value.ULongLong(LLDB_INVALID_ADDRESS);
// if (address != LLDB_INVALID_ADDRESS)
// {
// if
// (exe_module_sp->ResolveFileAddress(address,
// file_so_addr))
// {
// data.SetByteOrder(target->GetArchitecture().GetByteOrder());
// data.SetAddressByteSize(target->GetArchitecture().GetAddressByteSize());
// address_type = eAddressTypeFile;
// }
// else
// {
// address = LLDB_INVALID_ADDRESS;
// }
// }
// }
// }
} else {
error.SetErrorString("can't read load address (invalid process)");
}