[lldb-dev] Object identities in the LLDB's C++ API

Greg Clayton via lldb-dev lldb-dev at lists.llvm.org
Wed Feb 6 14:17:40 PST 2019



> On Feb 6, 2019, at 2:11 PM, Joshua Peraza <jperaza at google.com> wrote:
> 
> Adding a hashes where we need them SGTM.
> 
> On Mon, Feb 4, 2019 at 10:31 AM Greg Clayton <clayborg at gmail.com <mailto:clayborg at gmail.com>> wrote:
> If it is inside the object itself, and we have only 1 user data "void *" per object, I can see many clients wanting to use this user data. 
> 
> This surprised me though. There are situations where multiple clients are using LLDB simultaneously? 

The embedded Python interpreter and the IDE or command line that are running LLDB are two I can think of. Also if the baton lives in the lldb_private::* objects, then we can have internal clients as well as clients through the API.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190206/d07ec0b2/attachment.html>


More information about the lldb-dev mailing list