File tree Expand file tree Collapse file tree 2 files changed +9
-11
lines changed
llvm/utils/gn/secondary/lldb Expand file tree Collapse file tree 2 files changed +9
-11
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 "
1
+ action ( " SBLanguages " ) {
2
+ script = " //lldb/scripts/generate-sbapi-dwarf-enum.py "
3
+ outputs = [ " $target_gen_dir / SBLanguages.h " ]
4
+ sources = [ " //llvm/include/llvm/BinaryFormat/Dwarf.def " ]
5
+ args = [
6
+ rebase_path ( sources [ 0 ], root_build_dir ),
7
+ " -o " ,
8
+ rebase_path ( outputs [ 0 ], root_build_dir ),
9
+ ]
10
10
}
11
-
Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ executable("lldb-tblgen") {
6
6
sources = [
7
7
" LLDBOptionDefEmitter.cpp" ,
8
8
" LLDBPropertyDefEmitter.cpp" ,
9
- " LLDBSBAPIDWARFEnum.cpp" ,
10
9
" LLDBTableGen.cpp" ,
11
10
" LLDBTableGenUtils.cpp" ,
12
11
]
You can’t perform that action at this time.
0 commit comments