[Lldb-commits] [PATCH] Add Utility/ModuleCache class and integrate it with PlatformGDBRemoteServer - in order to allow modules caching from remote targets.
Oleksiy Vyalov
ovyalov at google.com
Tue Mar 3 10:07:59 PST 2015
Hi clayborg, vharron,
It's initial version of ModuleCache which I integrated with existing caching plumbing - using "platform connect -c ..." or SBPlatform::ConnectRemote that takes local cache directory path.
Each module is cached using the following path - ${local_cache_directory}/${UUID}/${platform_module_path}.
ModuleCache::Options has m_max_size field which is no-op now - I'm planning to put LRU logic in with a subsequent CL.
Please let me know whether such approach looks reasonable to you.
http://reviews.llvm.org/D8037
Files:
include/lldb/Core/ModuleSpec.h
lldb.xcodeproj/project.pbxproj
source/API/SBPlatform.cpp
source/Core/UUID.cpp
source/Plugins/Platform/POSIX/PlatformPOSIX.cpp
source/Plugins/Platform/POSIX/PlatformPOSIX.h
source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.cpp
source/Plugins/Platform/gdb-server/PlatformRemoteGDBServer.h
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
source/Utility/CMakeLists.txt
source/Utility/ModuleCache.cpp
source/Utility/ModuleCache.h
test/dotest.py
test/python_api/hello_world/TestHelloWorld.py
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8037.21113.patch
Type: text/x-patch
Size: 32129 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150303/a53a4b92/attachment.bin>
More information about the lldb-commits
mailing list