[gn build] port c22329972f (lldb REPL/Clang)

Fixes `lldb-shell :: REPL/Basic.test` in the gn build, making
check-lldb pass (on Linux) again.
This commit is contained in:
Nico Weber 2022-01-19 11:31:00 -05:00
parent 9fbd33ad62
commit cc639dde8c
2 changed files with 21 additions and 0 deletions

View File

@ -140,6 +140,10 @@ lldb_plugins += [
"//lldb/source/Plugins/Process/minidump",
"ProcessMinidump",
],
[
"//lldb/source/Plugins/REPL/Clang",
"ClangREPL",
],
[
"//lldb/source/Plugins/ScriptInterpreter/None",
"", # Uses LLDB_SCRIPT_PLUGIN instead.

View File

@ -0,0 +1,17 @@
static_library("Clang") {
output_name = "lldbPluginClangREPL"
configs += [ "//llvm/utils/gn/build:lldb_code" ]
deps = [
"//lldb/source/Core",
"//lldb/source/DataFormatters",
"//lldb/source/Host",
"//lldb/source/Symbol",
"//lldb/source/Target",
"//lldb/source/Utility",
"//lldb/source/Plugins/Language/ClangCommon",
"//lldb/source/Plugins/LanguageRuntime/CPlusPlus",
"//lldb/source/Plugins/TypeSystem/Clang",
"//llvm/lib/Support",
]
sources = [ "ClangREPL.cpp" ]
}