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.
Details
Details
- Reviewers
vharron clayborg tberghammer
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Looks good, but please be careful when rebaseing it to TOT because there will be a lot of conflicts.
BTW it also fixes an issue related to TestInferiorChanged.
Comment Actions
AFFECTED FILES
/lldb/trunk/include/lldb/Target/Platform.h /lldb/trunk/source/Target/Platform.cpp /lldb/trunk/source/Utility/ModuleCache.cpp /lldb/trunk/source/Utility/ModuleCache.h
USERS
ovyalov (Author)