Currently, we'll try to instantiate a ClangREPL for every known language. The plugin manager already knows what languages are supported, so rely on that to only instantiate a REPL when we know the requested language in supported.
rdar://86439474
Paths
| Differential D115698
[lldb] Check if language is supported before creating a REPL instance ClosedPublic Authored by JDevlieghere on Dec 13 2021, 9:18 PM.
Details Summary Currently, we'll try to instantiate a ClangREPL for every known language. The plugin manager already knows what languages are supported, so rely on that to only instantiate a REPL when we know the requested language in supported. rdar://86439474
Diff Detail Event TimelineJDevlieghere created this revision. This revision is now accepted and ready to land.Dec 14 2021, 11:00 AM Closed by commit rG100863ccd8d4: [lldb] Check if language is supported before creating a REPL instance (authored by JDevlieghere). · Explain WhyDec 14 2021, 12:05 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 394133 lldb/include/lldb/Core/PluginManager.h
lldb/source/Core/PluginManager.cpp
lldb/source/Expression/REPL.cpp
lldb/test/Shell/REPL/Basic.test
|