Add Utility/ModuleCache class and integrate it with PlatformGDBRemoteServer - in order to allow modules caching from remote targets.

http://reviews.llvm.org/D8037

llvm-svn: 231734
This commit is contained in:
Oleksiy Vyalov
2015-03-10 01:15:28 +00:00
parent 8fb05ac998
commit 63acdfdeb2
27 changed files with 762 additions and 60 deletions

View File

@@ -604,8 +604,7 @@ ObjectFileELF::GetModuleSpecifications (const lldb_private::FileSpec& file,
{
if (data_sp)
{
ModuleSpec spec;
spec.GetFileSpec() = file;
ModuleSpec spec (file);
const uint32_t sub_type = subTypeFromElfHeader(header);
spec.GetArchitecture().SetArchitecture(eArchTypeELF,