[Lldb-commits] [PATCH] Fix ModuleCache usage in Platform - ask remote platform for module's ModuleSpec beforehand so we can look for a module by UUID locally without need to download it.

Oleksiy Vyalov ovyalov at google.com
Mon Mar 23 11:09:58 PDT 2015


Hi clayborg, vharron, tberghammer,

Previous implementation caused TestGlobalVariables to fail when running remote Linux<->Linux test - test creates a module for shared library in registerSharedLibrariesWithTarget.
The test was failing because a copy of shared library was downloaded into module cache from remote target instead of using existing local module instance - with this patch in we can lookup a module in ModuleList by known UUID and switch to already registered module instance if such exists.

http://reviews.llvm.org/D8557

Files:
  include/lldb/Target/Platform.h
  source/Target/Platform.cpp
  source/Utility/ModuleCache.cpp
  source/Utility/ModuleCache.h

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8557.22490.patch
Type: text/x-patch
Size: 10780 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150323/c7d32d2f/attachment.bin>


More information about the lldb-commits mailing list