[Lldb-commits] [PATCH] D67685: [ScriptInterpreter] Make sure LLDB's global variables are only available in interactive mode.

Jim Ingham via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 17 17:10:19 PDT 2019


jingham accepted this revision.
jingham added a comment.
This revision is now accepted and ready to land.

This looks right.

EnterSession always initializes lldb.debugger, even when it isn't going to set the other globals.  That's because one debugger owns one ScriptInterpreter and lldb.debugger always has a unique, valid value.  So it isn't strictly necessary to None out lldb.debugger.  But since EnterSession always sets it, I don't think it matters one way or the other.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67685/new/

https://reviews.llvm.org/D67685





More information about the lldb-commits mailing list