Add an API on SBValueList to find the first value with a given name stored in the list
llvm-svn: 222576
diff --git a/lldb/scripts/Python/interface/SBValueList.i b/lldb/scripts/Python/interface/SBValueList.i
index a553450..12aed86 100644
--- a/lldb/scripts/Python/interface/SBValueList.i
+++ b/lldb/scripts/Python/interface/SBValueList.i
@@ -96,6 +96,10 @@
lldb::SBValue
FindValueObjectByUID (lldb::user_id_t uid);
+
+ lldb::SBValue
+ GetValueByName (const char* name) const;
+
%pythoncode %{
def __len__(self):
return int(self.GetSize())