File tree 3 files changed +13
-0
lines changed
llvm/utils/gn/secondary/lldb 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change
1
+ import (" //lldb/utils/TableGen/lldb_tablegen.gni" )
2
+
3
+ lldb_tablegen (" SBLanguages" ) {
4
+ args = [ " -gen-lldb-sbapi-dwarf-enum" ]
5
+
6
+ # See discussion on https://github.com/llvm/llvm-project/pull/89981 for
7
+ # why this runs tblgen on a .def file.
8
+ td_file = " //llvm/include/llvm/BinaryFormat/Dwarf.def"
9
+ output_name = " SBLanguages.h"
10
+ }
11
+
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ target(liblldb_type, "liblldb") {
17
17
18
18
output_name = " liblldb" # XXX lib prefix?
19
19
configs += [ " //llvm/utils/gn/build:lldb_code" ]
20
+ public_deps = [ " //lldb/include/lldb/API:SBLanguages" ]
20
21
deps = [
21
22
" //lldb/include/lldb/Host:Config" ,
22
23
" //lldb/source/Breakpoint" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ executable("lldb-tblgen") {
6
6
sources = [
7
7
" LLDBOptionDefEmitter.cpp" ,
8
8
" LLDBPropertyDefEmitter.cpp" ,
9
+ " LLDBSBAPIDWARFEnum.cpp" ,
9
10
" LLDBTableGen.cpp" ,
10
11
" LLDBTableGenUtils.cpp" ,
11
12
]
You can’t perform that action at this time.
0 commit comments