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 |
findbyname.diff
Description: Binary data
_______________________________________________ lldb-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits
