[all-commits] [llvm/llvm-project] 46a28a: [lldb] Create a property to store the REPL language

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Jan 5 15:03:59 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 46a28a954e5e813f64ff458891b2d0891963c7d8
      https://github.com/llvm/llvm-project/commit/46a28a954e5e813f64ff458891b2d0891963c7d8
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-01-05 (Wed, 05 Jan 2022)

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

  Log Message:
  -----------
  [lldb] Create a property to store the REPL language

Until the introduction of the C++ REPL, there was always a single REPL
language. Several places 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.

Differential revision: https://reviews.llvm.org/D116697




More information about the All-commits mailing list