1import("//lldb/utils/TableGen/lldb_tablegen.gni") 2 3lldb_tablegen("SymbolFileDWARFProperties") { 4 args = [ "-gen-lldb-property-defs" ] 5} 6 7lldb_tablegen("SymbolFileDWARFPropertiesEnum") { 8 args = [ "-gen-lldb-property-enum-defs" ] 9 td_file = "SymbolFileDWARFProperties.td" 10} 11 12static_library("DWARF") { 13 output_name = "lldbPluginSymbolFileDWARF" 14 configs += [ 15 "//llvm/utils/gn/build:clang_code", 16 "//llvm/utils/gn/build:lldb_code", 17 ] 18 deps = [ 19 ":SymbolFileDWARFProperties", 20 ":SymbolFileDWARFPropertiesEnum", 21 "//clang/lib/AST", 22 "//clang/lib/Basic", 23 "//lldb/source/Core", 24 "//lldb/source/Expression", 25 "//lldb/source/Host", 26 "//lldb/source/Interpreter", 27 "//lldb/source/Plugins/ExpressionParser/Clang", 28 29 #"//lldb/source/Plugins/Language/CPlusPlus", # 3-hop dependency cycle. 30 "//lldb/source/Plugins/Language/ObjC", 31 "//lldb/source/Symbol", 32 "//lldb/source/Target", 33 "//lldb/source/Utility", 34 "//lldb/source/ValueObject", 35 36 #"//lldb/source/Plugins/TypeSystem/Clang", # Dependency cycle. 37 "//llvm/lib/DebugInfo/DWARF", 38 "//llvm/lib/Support", 39 ] 40 41 # Uses source-relative includes for own headers. 42 include_dirs = [ "//lldb/source" ] 43 sources = [ 44 "AppleDWARFIndex.cpp", 45 "DIERef.cpp", 46 "DWARFASTParser.cpp", 47 "DWARFASTParserClang.cpp", 48 "DWARFAttribute.cpp", 49 "DWARFBaseDIE.cpp", 50 "DWARFCompileUnit.cpp", 51 "DWARFContext.cpp", 52 "DWARFDIE.cpp", 53 "DWARFDataExtractor.cpp", 54 "DWARFDebugAranges.cpp", 55 "DWARFDebugInfo.cpp", 56 "DWARFDebugInfoEntry.cpp", 57 "DWARFDebugMacro.cpp", 58 "DWARFDeclContext.cpp", 59 "DWARFDefines.cpp", 60 "DWARFFormValue.cpp", 61 "DWARFIndex.cpp", 62 "DWARFTypeUnit.cpp", 63 "DWARFUnit.cpp", 64 "DebugNamesDWARFIndex.cpp", 65 "LogChannelDWARF.cpp", 66 "ManualDWARFIndex.cpp", 67 "NameToDIE.cpp", 68 "SymbolFileDWARF.cpp", 69 "SymbolFileDWARFDebugMap.cpp", 70 "SymbolFileDWARFDwo.cpp", 71 "UniqueDWARFASTType.cpp", 72 ] 73} 74