[PATCH] D36347: New lldb python module for adding diagnostic breakpoints

Greg Clayton via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 26 15:00:15 PDT 2017


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?


https://reviews.llvm.org/D36347





More information about the cfe-commits mailing list