[lldb] Create a way to force remove commands
authorwalter erquinigo <walter@modular.com>
Thu, 27 Apr 2023 00:09:26 +0000 (19:09 -0500)
committerwalter erquinigo <walter@modular.com>
Thu, 27 Apr 2023 00:31:19 +0000 (19:31 -0500)
commitb1465cd49efcbc114a75220b153f5a055ce7911f
tree590bbc4b010cf791e1ce78e345d41a6d73dde848
parentd7fa92126cc398b993f301273816739b23ed8740
[lldb] Create a way to force remove commands

Some LLDB set ups need to hide certain commands for security reasons, so I'm adding a flag that allows removing non-user commands.

Differential Revision: https://reviews.llvm.org/D149312
lldb/include/lldb/Interpreter/CommandInterpreter.h
lldb/source/Interpreter/CommandInterpreter.cpp