[all-commits] [llvm/llvm-project] 100863: [lldb] Check if language is supported before creat...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Tue Dec 14 12:05:49 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 100863ccd8d41091f90749ba76d91f6dfafdde57
      https://github.com/llvm/llvm-project/commit/100863ccd8d41091f90749ba76d91f6dfafdde57
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M lldb/include/lldb/Core/PluginManager.h
    M lldb/source/Core/PluginManager.cpp
    M lldb/source/Expression/REPL.cpp
    A lldb/test/Shell/REPL/Basic.test

  Log Message:
  -----------
  [lldb] Check if language is supported before creating a REPL instance

Currently, we'll try to instantiate a ClangREPL for every known
language. The plugin manager already knows what languages it supports,
so rely on that to only instantiate a REPL when we know the requested
language is supported.

rdar://86439474

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




More information about the All-commits mailing list