forked from OSchip/llvm-project
[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:
parent
9fbd33ad62
commit
cc639dde8c
|
@ -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.
|
||||
|
|
|
@ -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" ]
|
||||
}
|
Loading…
Reference in New Issue