File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
llvm/utils/gn/secondary/lldb Expand file tree Collapse file tree 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") {
1717
1818 output_name = " liblldb" # XXX lib prefix?
1919 configs += [ " //llvm/utils/gn/build:lldb_code" ]
20+ public_deps = [ " //lldb/include/lldb/API:SBLanguages" ]
2021 deps = [
2122 " //lldb/include/lldb/Host:Config" ,
2223 " //lldb/source/Breakpoint" ,
Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ executable("lldb-tblgen") {
66 sources = [
77 " LLDBOptionDefEmitter.cpp" ,
88 " LLDBPropertyDefEmitter.cpp" ,
9+ " LLDBSBAPIDWARFEnum.cpp" ,
910 " LLDBTableGen.cpp" ,
1011 " LLDBTableGenUtils.cpp" ,
1112 ]
You can’t perform that action at this time.
0 commit comments