<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 26, 2014 at 4:47 PM, Sean Callanan <span dir="ltr"><<a href="mailto:scallanan@apple.com" target="_blank">scallanan@apple.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Zachary,<div><br></div><div>
LLI’s interpreter is (a) not really supported code, having been superseded by the JIT; and (b) founded on the assumption that we’re interpreting inside the current process.</div><div>The LLDB IRInterpreter is focused on interpreting in the context of another process (the IRMemoryMap is the interface it uses).</div>
<div><br></div><div>It’s not clear to me what’s doing this.  On OS X we don’t get this error:</div></div></blockquote><div><br></div><div>Isn't the IRInterpreter also only for interpreting inside the current process?  At least the header file implies so.</div>
<div><br></div><div><div>//----------------------------------------------------------------------</div><div>/// @class IRInterpreter IRInterpreter.h "lldb/Expression/IRInterpreter.h"</div><div>/// @brief Attempt to interpret the function's code if it does not require</div>
<div>///        running the target.</div><div>///</div><div>/// In some cases, the IR for an expression can be evaluated entirely</div><div>/// in the debugger, manipulating variables but not executing any code</div><div>
/// in the target.  The IRInterpreter attempts to do this.</div><div>//----------------------------------------------------------------------</div></div><div><br></div><div>Of course LLDB itself also needs to interpret things inside the context of the remote process, but I assumed that was handled by a different class.</div>
</div></div></div>