[Lldb-commits] [PATCH] D116697: [lldb] Create a property to store the REPL language

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Jan 5 13:32:15 PST 2022


JDevlieghere created this revision.
JDevlieghere added reviewers: aprantl, teemperor, labath.
JDevlieghere requested review of this revision.

Until the introduction of the C++ REPL, there was always a single REPL language. The code relied on this assumption through `repl_languages.GetSingularLanguage`. Now that this is no longer the case, we need a way to specify a selected/preferred REPL language. This patch does that with the help of a debugger property, taking inspiration from how we store the scripting language.


https://reviews.llvm.org/D116697

Files:
  lldb/include/lldb/API/SBDebugger.h
  lldb/include/lldb/Core/Debugger.h
  lldb/include/lldb/Interpreter/OptionValueProperties.h
  lldb/source/API/SBDebugger.cpp
  lldb/source/Core/CoreProperties.td
  lldb/source/Core/Debugger.cpp
  lldb/source/Interpreter/CommandInterpreter.cpp
  lldb/source/Interpreter/OptionValueProperties.cpp
  lldb/source/Target/Target.cpp
  lldb/tools/driver/Driver.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116697.397699.patch
Type: text/x-patch
Size: 9348 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20220105/90fa8d96/attachment.bin>


More information about the lldb-commits mailing list