diff options
author | Enrico Granata <egranata@apple.com> | 2014-11-21 21:45:03 +0000 |
---|---|---|
committer | Enrico Granata <egranata@apple.com> | 2014-11-21 21:45:03 +0000 |
commit | e9a09c74fa925e8aed2de0f12cce8d86215955d3 (patch) | |
tree | e7d7e6ea5f3e460430fcf10d23c7a3220c8bed93 /lldb/scripts/Python/interface | |
parent | 91ffec908f8721d7cf0a58de2a9b3c0987461980 (diff) | |
download | bcm5719-llvm-e9a09c74fa925e8aed2de0f12cce8d86215955d3.tar.gz bcm5719-llvm-e9a09c74fa925e8aed2de0f12cce8d86215955d3.zip |
Add an API on SBValueList to find the first value with a given name stored in the list
llvm-svn: 222576
Diffstat (limited to 'lldb/scripts/Python/interface')
-rw-r--r-- | lldb/scripts/Python/interface/SBValueList.i | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lldb/scripts/Python/interface/SBValueList.i b/lldb/scripts/Python/interface/SBValueList.i index a55345030c0..12aed864830 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()) |