[Lldb-commits] [PATCH] SBValueList::FindFirstValueByName
Enrico Granata
egranata at apple.com
Fri Aug 15 18:31:28 PDT 2014
Hi,
find attached a patch that implements a new API on SBValueList - FindFirstValueByName()
The API - as its name implies - will look through the value list and return the first SBValue whose name matches the argument
It is named “FindFirstValueByName” because one can’t guarantee that an SBValueList will not contain multiple values with the same name.
However, it seems a reasonable thing to want to ask in certain cases “hey just give me any value named something, I know what I am doing”.
Seeking consensus since this would be exposed as public SB API
Thanks,
- Enrico
📩 egranata@.com ☎️ 27683
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140815/eb51aaa1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: findbyname.diff
Type: application/octet-stream
Size: 2232 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140815/eb51aaa1/attachment.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20140815/eb51aaa1/attachment-0001.html>
More information about the lldb-commits
mailing list