Don't push null ExecutionContext on CommandInterp exectx stack
authorJason Molenda <jason@molenda.com>
Wed, 27 Apr 2022 01:30:18 +0000 (18:30 -0700)
committerJason Molenda <jason@molenda.com>
Wed, 27 Apr 2022 01:32:18 +0000 (18:32 -0700)
commita2681c43308c5d1748a7ade4df5188972a3dd8aa
tree344a05feada9929880cc4e010cc9943a76259629
parent8dc8e59eba4930980fa42232dbcafa969f79477a
Don't push null ExecutionContext on CommandInterp exectx stack

The driver can push a null ExecutionContext on to this stack,
and later calls to SBCommandInterpreter::HandleCommand which
don't specify an ExecutionContext can pull an entry from the
stack, resulting in settings that aren't applied.

Differential Revision: https://reviews.llvm.org/D111209
rdar://81489207
lldb/source/Interpreter/CommandInterpreter.cpp