Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
473 changes: 105 additions & 368 deletions utils/bazel/llvm-project-overlay/clang/BUILD.bazel

Large diffs are not rendered by default.

64 changes: 16 additions & 48 deletions utils/bazel/llvm-project-overlay/lldb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -331,16 +331,10 @@ cc_library(
gentbl_cc_library(
name = "InterpreterProperties",
strip_include_prefix = "source/Interpreter",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"source/Interpreter/InterpreterProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"source/Interpreter/InterpreterPropertiesEnum.inc",
),
],
tbl_outs = {
"source/Interpreter/InterpreterProperties.inc": ["-gen-lldb-property-defs"],
"source/Interpreter/InterpreterPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = ":lldb-tblgen",
td_file = "source/Interpreter/InterpreterProperties.td",
deps = [":CoreTdFiles"],
Expand Down Expand Up @@ -406,12 +400,7 @@ td_library(
gentbl_cc_library(
name = "CommandOptions",
strip_include_prefix = "source/Commands",
tbl_outs = [
(
["-gen-lldb-option-defs"],
"source/Commands/CommandOptions.inc",
),
],
tbl_outs = {"source/Commands/CommandOptions.inc": ["-gen-lldb-option-defs"]},
tblgen = ":lldb-tblgen",
td_file = "source/Commands/Options.td",
deps = [":CommandsTdFiles"],
Expand Down Expand Up @@ -595,16 +584,10 @@ td_library(
gentbl_cc_library(
name = "CoreProperties",
strip_include_prefix = "source/Core",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"source/Core/CoreProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"source/Core/CorePropertiesEnum.inc",
),
],
tbl_outs = {
"source/Core/CoreProperties.inc": ["-gen-lldb-property-defs"],
"source/Core/CorePropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = ":lldb-tblgen",
td_file = "source/Core/CoreProperties.td",
deps = [":CoreTdFiles"],
Expand Down Expand Up @@ -676,16 +659,10 @@ cc_library(
gentbl_cc_library(
name = "TargetProperties",
strip_include_prefix = "source/Target",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"source/Target/TargetProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"source/Target/TargetPropertiesEnum.inc",
),
],
tbl_outs = {
"source/Target/TargetProperties.inc": ["-gen-lldb-property-defs"],
"source/Target/TargetPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = ":lldb-tblgen",
td_file = "source/Target/TargetProperties.td",
deps = [":CoreTdFiles"],
Expand Down Expand Up @@ -832,10 +809,7 @@ cc_import(
gentbl_cc_library(
name = "lldb_options_inc_gen",
strip_include_prefix = ".",
tbl_outs = [(
["-gen-opt-parser-defs"],
"Options.inc",
)],
tbl_outs = {"Options.inc": ["-gen-opt-parser-defs"]},
tblgen = "//llvm:llvm-tblgen",
td_file = "tools/driver/Options.td",
deps = ["//llvm:OptParserTdFiles"],
Expand Down Expand Up @@ -981,10 +955,7 @@ cc_binary(
gentbl_cc_library(
name = "lldb_server_opts_gen",
strip_include_prefix = ".",
tbl_outs = [(
["-gen-opt-parser-defs"],
"LLGSOptions.inc",
)],
tbl_outs = {"LLGSOptions.inc": ["-gen-opt-parser-defs"]},
tblgen = "//llvm:llvm-tblgen",
td_file = "tools/lldb-server/LLGSOptions.td",
deps = ["//llvm:OptParserTdFiles"],
Expand Down Expand Up @@ -1051,10 +1022,7 @@ expand_template(
gentbl_cc_library(
name = "lldb_dap_opts_gen",
strip_include_prefix = "tools/lldb-dap",
tbl_outs = [(
["-gen-opt-parser-defs"],
"tools/lldb-dap/Options.inc",
)],
tbl_outs = {"tools/lldb-dap/Options.inc": ["-gen-opt-parser-defs"]},
tblgen = "//llvm:llvm-tblgen",
td_file = "tools/lldb-dap/Options.td",
deps = ["//llvm:OptParserTdFiles"],
Expand Down
173 changes: 49 additions & 124 deletions utils/bazel/llvm-project-overlay/lldb/source/Plugins/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -215,16 +215,10 @@ cc_library(
gentbl_cc_library(
name = "PlatformMacOSXProperties",
strip_include_prefix = "Platform/MacOSX",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"Platform/MacOSX/PlatformMacOSXProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"Platform/MacOSX/PlatformMacOSXPropertiesEnum.inc",
),
],
tbl_outs = {
"Platform/MacOSX/PlatformMacOSXProperties.inc": ["-gen-lldb-property-defs"],
"Platform/MacOSX/PlatformMacOSXPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "Platform/MacOSX/PlatformMacOSXProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -301,16 +295,10 @@ cc_library(
gentbl_cc_library(
name = "SymbolFileDWARFProperties",
strip_include_prefix = "SymbolFile/DWARF",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"SymbolFile/DWARF/SymbolFileDWARFProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"SymbolFile/DWARF/SymbolFileDWARFPropertiesEnum.inc",
),
],
tbl_outs = {
"SymbolFile/DWARF/SymbolFileDWARFProperties.inc": ["-gen-lldb-property-defs"],
"SymbolFile/DWARF/SymbolFileDWARFPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "SymbolFile/DWARF/SymbolFileDWARFProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -454,16 +442,10 @@ cc_library(
gentbl_cc_library(
name = "ProcessGDBRemoteProperties",
strip_include_prefix = "Process/gdb-remote",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"Process/gdb-remote/ProcessGDBRemoteProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"Process/gdb-remote/ProcessGDBRemotePropertiesEnum.inc",
),
],
tbl_outs = {
"Process/gdb-remote/ProcessGDBRemoteProperties.inc": ["-gen-lldb-property-defs"],
"Process/gdb-remote/ProcessGDBRemotePropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "Process/gdb-remote/ProcessGDBRemoteProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -548,16 +530,10 @@ cc_library(
gentbl_cc_library(
name = "StructuredDataDarwinLogProperties",
strip_include_prefix = "StructuredData/DarwinLog",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"StructuredData/DarwinLog/StructuredDataDarwinLogProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"StructuredData/DarwinLog/StructuredDataDarwinLogPropertiesEnum.inc",
),
],
tbl_outs = {
"StructuredData/DarwinLog/StructuredDataDarwinLogProperties.inc": ["-gen-lldb-property-defs"],
"StructuredData/DarwinLog/StructuredDataDarwinLogPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "StructuredData/DarwinLog/StructuredDataDarwinLogProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -617,16 +593,10 @@ cc_library(
gentbl_cc_library(
name = "PlatformQemuUserProperties",
strip_include_prefix = "Platform/QemuUser",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"Platform/QemuUser/PlatformQemuUserProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"Platform/QemuUser/PlatformQemuUserPropertiesEnum.inc",
),
],
tbl_outs = {
"Platform/QemuUser/PlatformQemuUserProperties.inc": ["-gen-lldb-property-defs"],
"Platform/QemuUser/PlatformQemuUserPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "Platform/QemuUser/PlatformQemuUserProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -690,16 +660,10 @@ cc_library(
gentbl_cc_library(
name = "PlatformAndroidProperties",
strip_include_prefix = "Platform/Android",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"Platform/Android/PlatformAndroidProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"Platform/Android/PlatformAndroidPropertiesEnum.inc",
),
],
tbl_outs = {
"Platform/Android/PlatformAndroidProperties.inc": ["-gen-lldb-property-defs"],
"Platform/Android/PlatformAndroidPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "Platform/Android/PlatformAndroidProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -902,10 +866,7 @@ cc_library(
gentbl_cc_library(
name = "TraceExporterCTFOptions",
strip_include_prefix = "TraceExporter/ctf",
tbl_outs = [(
["-gen-lldb-option-defs"],
"TraceExporter/ctf/TraceExporterCTFCommandOptions.inc",
)],
tbl_outs = {"TraceExporter/ctf/TraceExporterCTFCommandOptions.inc": ["-gen-lldb-option-defs"]},
tblgen = "//lldb:lldb-tblgen",
td_file = "TraceExporter/ctf/TraceExporterCTFOptions.td",
deps = [
Expand Down Expand Up @@ -1228,16 +1189,10 @@ cc_library(
gentbl_cc_library(
name = "DynamicLoaderMacOSXDYLDProperties",
strip_include_prefix = "DynamicLoader/MacOSX-DYLD",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwinProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwinPropertiesEnum.inc",
),
],
tbl_outs = {
"DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwinProperties.inc": ["-gen-lldb-property-defs"],
"DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwinPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "DynamicLoader/MacOSX-DYLD/DynamicLoaderDarwinProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -1270,16 +1225,10 @@ cc_library(
gentbl_cc_library(
name = "DynamicLoaderDarwinKernelProperties",
strip_include_prefix = "DynamicLoader/Darwin-Kernel",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelPropertiesEnum.inc",
),
],
tbl_outs = {
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.inc": ["-gen-lldb-property-defs"],
"DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "DynamicLoader/Darwin-Kernel/DynamicLoaderDarwinKernelProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -1692,16 +1641,10 @@ cc_library(
gentbl_cc_library(
name = "JITLoaderGDBProperties",
strip_include_prefix = "JITLoader/GDB",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"JITLoader/GDB/JITLoaderGDBProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"JITLoader/GDB/JITLoaderGDBPropertiesEnum.inc",
),
],
tbl_outs = {
"JITLoader/GDB/JITLoaderGDBProperties.inc": ["-gen-lldb-property-defs"],
"JITLoader/GDB/JITLoaderGDBPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "JITLoader/GDB/JITLoaderGDBProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -1748,16 +1691,10 @@ cc_library(
gentbl_cc_library(
name = "SymbolLocatorDebuginfodProperties",
strip_include_prefix = "SymbolLocator/Debuginfod",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodPropertiesEnum.inc",
),
],
tbl_outs = {
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.inc": ["-gen-lldb-property-defs"],
"SymbolLocator/Debuginfod/SymbolLocatorDebuginfodPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "SymbolLocator/Debuginfod/SymbolLocatorDebuginfodProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -2014,16 +1951,10 @@ cc_library(
gentbl_cc_library(
name = "ObjectFilePECOFFProperties",
strip_include_prefix = "ObjectFile/PECOFF",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"ObjectFile/PECOFF/ObjectFilePECOFFProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"ObjectFile/PECOFF/ObjectFilePECOFFPropertiesEnum.inc",
),
],
tbl_outs = {
"ObjectFile/PECOFF/ObjectFilePECOFFProperties.inc": ["-gen-lldb-property-defs"],
"ObjectFile/PECOFF/ObjectFilePECOFFPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "ObjectFile/PECOFF/ObjectFilePECOFFProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down Expand Up @@ -2225,16 +2156,10 @@ cc_library(
gentbl_cc_library(
name = "ProcessKDPProperties",
strip_include_prefix = "Process/MacOSX-Kernel",
tbl_outs = [
(
["-gen-lldb-property-defs"],
"Process/MacOSX-Kernel/ProcessKDPProperties.inc",
),
(
["-gen-lldb-property-enum-defs"],
"Process/MacOSX-Kernel/ProcessKDPPropertiesEnum.inc",
),
],
tbl_outs = {
"Process/MacOSX-Kernel/ProcessKDPProperties.inc": ["-gen-lldb-property-defs"],
"Process/MacOSX-Kernel/ProcessKDPPropertiesEnum.inc": ["-gen-lldb-property-enum-defs"],
},
tblgen = "//lldb:lldb-tblgen",
td_file = "Process/MacOSX-Kernel/ProcessKDPProperties.td",
deps = ["//lldb:CoreTdFiles"],
Expand Down
Loading