[PATCH] D36347: New lldb python module for adding diagnostic breakpoints
Don Hinton via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 15:11:39 PDT 2017
On Thu, Oct 26, 2017 at 3:00 PM, Greg Clayton via Phabricator <
reviews at reviews.llvm.org> wrote:
> clayborg added a comment.
> Each lldb.SBValue has accessors for the stuff in an execution context:
> lldb::SBTarget GetTarget();
> lldb::SBProcess GetProcess();
> lldb::SBThread GetThread();
> lldb::SBFrame GetFrame();
> You could keep a global map of process ID to diagtool if you want?
> What are you thinking of using this for?
Part of the rational for using exe_ctx was to allow debugging multiple
targets as the same time, but if these use different versions of clang, the
diagtool map won't match.
I'll try moving it from the function __dict__ to the exe_ctx and see if
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cfe-commits