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
diff --git a/lldb/source/Core/UUID.cpp b/lldb/source/Core/UUID.cpp
index c1b3eb1..88290d1 100644
--- a/lldb/source/Core/UUID.cpp
+++ b/lldb/source/Core/UUID.cpp
@@ -234,7 +234,10 @@
// If we successfully decoded a UUID, return the amount of characters that
// were consumed
if (uuid_byte_idx == num_uuid_bytes)
+ {
+ m_num_uuid_bytes = num_uuid_bytes;
return p - cstr;
+ }
// Else return zero to indicate we were not able to parse a UUID value
return 0;