<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Thu, Oct 26, 2017 at 3:00 PM, Greg Clayton via Phabricator <span dir="ltr"><<a href="mailto:reviews@reviews.llvm.org" target="_blank">reviews@reviews.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">clayborg added a comment.<br>
<br>
Each lldb.SBValue has accessors for the stuff in an execution context:<br>
<br>
``<br>
<br>
  lldb::SBTarget GetTarget();<br>
  lldb::SBProcess GetProcess();<br>
  lldb::SBThread GetThread();<br>
  lldb::SBFrame GetFrame();<br>
<br>
  You could keep a global map of process ID to diagtool if you want?<br>
<br>
  What are you thinking of using this for?<br></blockquote><div><br></div><div>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.  </div><div><br></div><div>I'll try moving it from the function __dict__ to the exe_ctx and see if that works.</div><div><br></div><div>thanks...</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
<a href="https://reviews.llvm.org/D36347" rel="noreferrer" target="_blank">https://reviews.llvm.org/<wbr>D36347</a><br>
<br>
<br>
<br>
</blockquote></div><br></div></div>