From e9a09c74fa925e8aed2de0f12cce8d86215955d3 Mon Sep 17 00:00:00 2001 From: Enrico Granata Date: Fri, 21 Nov 2014 21:45:03 +0000 Subject: Add an API on SBValueList to find the first value with a given name stored in the list llvm-svn: 222576 --- lldb/scripts/Python/interface/SBValueList.i | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lldb/scripts/Python') 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 @@ public: lldb::SBValue FindValueObjectByUID (lldb::user_id_t uid); + + lldb::SBValue + GetValueByName (const char* name) const; + %pythoncode %{ def __len__(self): return int(self.GetSize()) -- cgit v1.1